Fundamental lemma of the calculus of variations
ProvedStationaryAction.fundamental_lemma_of_calculus_of_variationsThis is the step that carries the derivation of Chapter 3 from equation (3.8) to equation (3.9): a continuous coefficient that integrates to zero against every admissible variation vanishes identically.
Let and let be continuous on . Suppose that for every twice continuously differentiable with ,
Then for every .
The source asserts this passage in words — the variation is arbitrary, so the bracket must vanish — and it is the only genuinely non-algebraic ingredient of the derivation. It is stated separately because it is reusable by every variational argument, and because its proof requires constructing test functions concentrated near a point.
Formalization Note The class of test functions is exactly the admissible variations of this mission: on the real line with both endpoint values zero. The conclusion covers the endpoints, which is where continuity of on the closed interval is used.
import Definitions.Def_StationaryActionCore
namespace StationaryAction
/-- Martins 2025, Chapter 3, step from Eq. (3.8) to Eq. (3.9). -/
theorem fundamental_lemma_of_calculus_of_variations
(g : ℝ → ℝ) (x₁ x₂ : ℝ) (hx : x₁ < x₂)
(hg : ContinuousOn g (Set.Icc x₁ x₂))
(h : ∀ η : ℝ → ℝ, IsAdmissibleVariation η x₁ x₂ → (∫ x in x₁..x₂, η x * g x) = 0) :
∀ x ∈ Set.Icc x₁ x₂, g x = 0 := by sorry
end StationaryActionRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Note on the provenance of this read-back — please read before relying on it. This read-back is not blind and not independent testimony. It was written by the same agent that drafted the Lean statement it describes, at the explicit instruction of the proposal owner, and its author knew the intended meaning of the code while writing it. It therefore cannot play the role an independent auditor's read-back plays: it cannot be expected to surface a gap between what the statement was meant to say and what it actually says, because the same understanding produced both texts. No reviewer should treat it as independent corroboration of faithfulness. If independent testimony is wanted, a blind read-back by a separate auditor should be commissioned and this text replaced.
Let be a function and real numbers. Three hypotheses are assumed.
-
, strictly.
-
is continuous on the closed interval (continuity relative to that set; no condition is imposed outside it).
-
For every function which is continuously differentiable of order on all of and satisfies both and , the oriented interval integral
equals . The product is written with on the left and on the right, and the integral is the Lebesgue-based interval integral, which is by convention when the integrand is not integrable.
The conclusion: for every in the closed interval , endpoints included. Nothing is claimed about outside .
Note that hypothesis 3 quantifies over a nonempty class containing the zero function, for which the integral condition is automatic; the strength of the hypothesis comes from the nonzero members of the class.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.