Samplinglib
Lean gate not recorded for this source state main · 0e31a3cda412
ASTIS mathematical exposition

Use the canonical Fréchet derivative in the trace formula

AutoSamplingTheory.TechnicalLemmas.Analysis.Calculus.Divergence.coordinateDivergence_eq_sum_fderiv_apply_of_differentiableAt · theorem · Teaching coverage

Statement

If F:V→V is Fréchet differentiable at x, its coordinate divergence equals the coordinate trace sum of the canonical fderiv ℝ F x.

\[F\text{ differentiable at }x\quad\Longrightarrow\quad\operatorname{Div}F(x)=\sum_i(D F(x)e_i)_i.\]

All objects and hypotheses

  • ι is a finite type with chosen finite enumeration and decidable equality; V=EuclideanSpace ℝ ι carries the Euclidean ℓ² norm. Empty ι is allowed.
  • F:V→V, x∈V, and DifferentiableAt ℝ F x.

Mathematical proof

1. Supply the canonical derivative to the existing trace identity

Differentiability certifies that fderiv is an actual derivative at x. Substitute this witness in the preceding theorem.

\[A:=\operatorname{fderiv}_{\mathbb R}F(x),\qquad DF(x)=A.\]
Corresponding Lean step

coordinateDivergence_eq_sum_fderiv_apply_of_hasFDerivAt hF.hasFDerivAt.

Lean statement · coordinateDivergence_eq_sum_fderiv_apply_of_differentiableAt

This removes a separately supplied derivative map only because `DifferentiableAt` is assumed; totalization alone would not justify the replacement.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

theorem coordinateDivergence_eq_sum_fderiv_apply_of_differentiableAt
    {ι : Type*} [Fintype ι] [DecidableEq ι]
    {F : EuclideanSpace ℝ ι → EuclideanSpace ℝ ι}
    {x : EuclideanSpace ℝ ι}
    (hF : DifferentiableAt ℝ F x) :
    coordinateDivergence F x =
      ∑ i, fderiv ℝ F x (EuclideanSpace.single i (1 : ℝ)) i

Exact module and namespace context

Lean proof · coordinateDivergence_eq_sum_fderiv_apply_of_differentiableAt

Differentiability certifies that fderiv is an actual derivative at x. Substitute this witness in the preceding theorem. The Lean correspondence in that step identifies the exact existing rule or definitional reduction used.

Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.

theorem coordinateDivergence_eq_sum_fderiv_apply_of_differentiableAt
    {ι : Type*} [Fintype ι] [DecidableEq ι]
    {F : EuclideanSpace ℝ ι → EuclideanSpace ℝ ι}
    {x : EuclideanSpace ℝ ι}
    (hF : DifferentiableAt ℝ F x) :
    coordinateDivergence F x =
      ∑ i, fderiv ℝ F x (EuclideanSpace.single i (1 : ℝ)) i :=
  coordinateDivergence_eq_sum_fderiv_apply_of_hasFDerivAt hF.hasFDerivAt

/-- The `PiLp` continuous linear equivalence sends the Euclidean coordinate
unit to the corresponding Pi-space coordinate function. -/

Exact module and namespace context

Scope and omitted-condition boundaries

  • No claim of differentiability at other points.

Source and reuse

ASTIS parents called

Mathlib API called (external library)

  • DifferentiableAt.hasFDerivAt

Mathematical sources

ASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.