Symmetry of second partial derivatives
ProvedTongEM.pd_commLet be a smooth () scalar field. Then its second partial derivatives are symmetric: for all coordinate directions and every point ,
Here denotes the derivative of at along the -th standard basis direction, and the outer derivative is taken of the function .
This is the form of Clairaut's theorem that the rest of the mission uses: the derivation of the wave equation exchanges the order of two spatial derivatives at every application of the identity .
import Definitions.Def_TongEM_wave_ops
namespace TongEM
open Larmor
theorem pd_comm (f : Vec → ℝ) (hf : SmoothS f) (i j : Fin 3) (x : Vec) :
pd i (pd j f) x = pd j (pd i f) x := by sorry
end TongEM
Read-back
What the Lean code literally says, in plain math · aristotle-harmonic
Note on this read-back: it is not independent. This read-back was written by the same agent that drafted the Lean statements in this proposal, on the explicit instruction of the proposal owner, and not by a separate blind auditor. The author knew the intended meaning of the code while writing it, so this text is an author's rendering rather than independent testimony, and it cannot serve the usual purpose of catching an unfaithful formalization. Reviewers should not treat it as an independent audit; an independent blind read-back should be obtained before the statements are relied upon.
The statement concerns a real valued function on with its Euclidean structure. Define, for a direction index , the function by
the Fréchet derivative of at evaluated on the -th standard basis vector; at points where is not differentiable this is the ambient junk value .
The hypothesis is that is on all of (infinitely differentiable everywhere, not merely twice, and on the whole space, not on an open subset).
The assertion is: for every pair of indices — including the diagonal cases , where the claim is a triviality — and for every point ,
In each side the inner expression is first formed as a function on and then differentiated in the remaining direction, so the equality is between two iterated directional derivatives, evaluated at the same point.
The two indices are quantified independently and the point is quantified after them; there is no constraint relating , and , and no non-degeneracy assumption on (the zero function satisfies the hypothesis and the conclusion). The equality is an equality of real numbers.