Documentation

TauCeti.Analysis.Distribution.TestFunction.LineDeriv

Directional derivatives of test functions #

Mathlib equips the test functions 𝓓(Ξ©, F) with the directional derivative βˆ‚_{v}. This file evaluates it pointwise as the classical directional derivative, and shows that two directional derivatives of a test function commute, βˆ‚_{v} (βˆ‚_{w} Ο†) = βˆ‚_{w} (βˆ‚_{v} Ο†), because the second derivative of a smooth function is symmetric. Moving derivatives between the two sides of an integration-by-parts identity uses exactly this, for instance to show that weak derivatives commute. Summing over an orthonormal basis, the Laplacian of a test function commutes with every directional derivative. Finally, a test function on Ξ© times a function smooth on Ξ© is again a test function, with the classical product rule for its directional derivatives; this is what lets a weak derivative be tested against g Ο† when g is only smooth inside Ξ©.

Main declarations #

@[simp]
theorem TestFunction.lineDerivOp_apply {E : Type u_1} {F : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] {Ξ© : TopologicalSpace.Opens E} (Ο† : TestFunction Ξ© F ⊀) (v x : E) :
(LineDeriv.lineDerivOp v Ο†) x = lineDeriv ℝ (⇑φ) x v

The directional derivative of a test function is its classical directional derivative.

The directional derivative of a test function is its FrΓ©chet derivative applied to the direction.

A directional derivative of a test function is supported in the support of the function.

On the real line, the directional derivative of a test function in the direction 1 is its derivative.

@[simp]

Iterating the directional derivative in direction 1 on a real-line test function agrees with iterating its ordinary derivative.

@[simp]
theorem TestFunction.coe_lineDerivCLM {E : Type u_1} {F : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] {Ξ© : TopologicalSpace.Opens E} (Ο† : TestFunction Ξ© F ⊀) (v : E) :
⇑((lineDerivCLM ℝ v) Ο†) = fun (x : E) => lineDeriv ℝ (⇑φ) x v

The underlying function of a directional derivative of a test function is its classical directional derivative.

theorem TestFunction.lineDerivCLM_postcompCLM {E : Type u_1} {F : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] {Ξ© : TopologicalSpace.Opens E} {π•œ : Type u_3} [NontriviallyNormedField π•œ] [Algebra ℝ π•œ] [NormedSpace π•œ F] [IsScalarTower ℝ π•œ F] {n k : β„•βˆž} {F' : Type u_4} [NormedAddCommGroup F'] [NormedSpace ℝ F'] [NormedSpace π•œ F'] [IsScalarTower ℝ π•œ F'] (L : F β†’L[π•œ] F') (v : E) (Ο† : TestFunction Ξ© F n) :
(lineDerivCLM π•œ v) ((postcompCLM L) Ο†) = (postcompCLM L) ((lineDerivCLM π•œ v) Ο†)

Directional derivatives of test functions commute with postcomposition by a continuous linear map, at every pair of orders.

theorem TestFunction.lineDeriv_lineDeriv_eq_fderiv_fderiv {E : Type u_1} {F : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] {Ξ© : TopologicalSpace.Opens E} (Ο† : TestFunction Ξ© F ⊀) (v w x : E) :
lineDeriv ℝ (fun (y : E) => lineDeriv ℝ (⇑φ) y v) x w = (fderiv ℝ (fun (y : E) => (fderiv ℝ (⇑φ) y) v) x) w

Iterated directional derivatives of a test function agree with its iterated FrΓ©chet derivatives evaluated in those directions.

Directional derivatives of test functions commute.

The classical directional derivative of βˆ‚_{v} Ο† in the direction w is that of βˆ‚_{w} Ο† in the direction v.

Multiplication by a function smooth on Ξ© #

theorem TestFunction.exists_coe_eq_smul_of_contDiffOn {E : Type u_1} {F : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] {Ξ© : TopologicalSpace.Opens E} {g : E β†’ ℝ} (hg : ContDiffOn ℝ (β†‘βŠ€) g ↑Ω) (Ο† : TestFunction Ξ© F ⊀) :
βˆƒ (ψ : TestFunction Ξ© F ⊀), β‡‘Οˆ = fun (x : E) => g x β€’ Ο† x

A test function times a function smooth on Ξ© is a test function. If g is smooth on Ξ©, with no condition off Ξ©, and Ο† ∈ 𝓓(Ξ©, F), then x ↦ g x β€’ Ο† x is again a test function on Ξ©: it is smooth on Ξ© and vanishes on the open complement of tsupport Ο†, and these two open sets cover E.

theorem TestFunction.lineDeriv_fun_smul_of_differentiableOn {E : Type u_1} {F : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] {Ξ© : TopologicalSpace.Opens E} {g : E β†’ ℝ} (hg : DifferentiableOn ℝ g ↑Ω) (Ο† : TestFunction Ξ© F ⊀) (x v : E) :
lineDeriv ℝ (fun (y : E) => g y β€’ Ο† y) x v = g x β€’ lineDeriv ℝ (⇑φ) x v + (fderiv ℝ g x) v β€’ Ο† x

The product rule for a test function times a function differentiable on Ξ©: βˆ‚_v (g Ο†) = g βˆ‚_v Ο† + (βˆ‚_v g) Ο† at every point of E. Off tsupport Ο† both sides vanish, so nothing is needed of g outside Ξ©.

The Laplacian of test functions commutes with directional derivatives: βˆ‚_{v} (Δφ) = Ξ” (βˆ‚_{v} Ο†).

@[simp]

The test-function Laplacian agrees pointwise with the classical Laplacian.