Skip to content

Commit 6ec3a4c

Browse files
committed
chore(Analysis/InnerProductSpace): the Laplacian is k-linear (leanprover-community#33739)
1 parent 4d0407b commit 6ec3a4c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Mathlib/Analysis/InnerProductSpace/Laplacian.lean

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,9 @@ end secondDerivativeAPI
114114
-/
115115

116116
variable
117+
{𝕜 : Type*} [NontriviallyNormedField 𝕜] [NormedAlgebra ℝ 𝕜]
117118
{E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E]
118-
{F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F]
119+
{F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedSpace 𝕜 F] [IsScalarTower ℝ 𝕜 F]
119120
{G : Type*} [NormedAddCommGroup G] [NormedSpace ℝ G]
120121
{f f₁ f₂ : E → F} {x : E} {s : Set E}
121122

@@ -259,7 +260,7 @@ theorem laplacian_congr_nhds (h : f₁ =ᶠ[𝓝 x] f₂) :
259260
simp [laplacian_eq_iteratedFDeriv_stdOrthonormalBasis, hx]
260261

261262
/-!
262-
## -Linearity of Δ on Continuously Differentiable Functions
263+
## 𝕜-Linearity of Δ on Continuously Differentiable Functions
263264
-/
264265

265266
/-- The Laplacian commutes with addition. -/
@@ -292,27 +293,27 @@ theorem _root_.ContDiffAt.laplacian_add_nhds (h₁ : ContDiffAt ℝ 2 f₁ x) (h
292293
exact h₁x.laplacian_add h₂x
293294

294295
/-- The Laplacian commutes with scalar multiplication. -/
295-
theorem laplacianWithin_smul (v : ) (hf : ContDiffWithinAt ℝ 2 f s x) (hs : UniqueDiffOn ℝ s)
296+
theorem laplacianWithin_smul (v : 𝕜) (hf : ContDiffWithinAt ℝ 2 f s x) (hs : UniqueDiffOn ℝ s)
296297
(hx : x ∈ s) :
297298
(Δ[s] (v • f)) x = v • (Δ[s] f) x := by
298299
simp [laplacianWithin_eq_iteratedFDerivWithin_stdOrthonormalBasis _ hs hx,
299300
iteratedFDerivWithin_const_smul_apply hf hs hx,
300301
Finset.smul_sum]
301302

302303
/-- The Laplacian commutes with scalar multiplication. -/
303-
theorem laplacian_smul (v : ) (hf : ContDiffAt ℝ 2 f x) : Δ (v • f) x = v • (Δ f) x := by
304+
theorem laplacian_smul (v : 𝕜) (hf : ContDiffAt ℝ 2 f x) : Δ (v • f) x = v • (Δ f) x := by
304305
simp [laplacian_eq_iteratedFDeriv_stdOrthonormalBasis, iteratedFDeriv_const_smul_apply hf,
305306
Finset.smul_sum]
306307

307308
/-- The Laplacian commutes with scalar multiplication. -/
308309
theorem laplacianWithin_smul_nhds
309-
(v : ) (hf : ContDiffWithinAt ℝ 2 f s x) (hs : UniqueDiffOn ℝ s) :
310+
(v : 𝕜) (hf : ContDiffWithinAt ℝ 2 f s x) (hs : UniqueDiffOn ℝ s) :
310311
Δ[s] (v • f) =ᶠ[𝓝[s] x] v • (Δ[s] f) := by
311312
filter_upwards [(hf.eventually (by simp)).filter_mono (nhdsWithin_mono _ (Set.subset_insert ..)),
312313
eventually_mem_nhdsWithin] with a h₁a using laplacianWithin_smul v h₁a hs
313314

314315
/-- The Laplacian commutes with scalar multiplication. -/
315-
theorem laplacian_smul_nhds (v : ) (h : ContDiffAt ℝ 2 f x) :
316+
theorem laplacian_smul_nhds (v : 𝕜) (h : ContDiffAt ℝ 2 f x) :
316317
Δ (v • f) =ᶠ[𝓝 x] v • (Δ f) := by
317318
filter_upwards [h.eventually (by simp)] with a ha
318319
simp [laplacian_smul v ha]

0 commit comments

Comments
 (0)