Two-coefficient fundamental lemma
ProvedVectorSpaceOpt.duBoisReymond_fundamental_lemmaFix , and let and be continuous real functions on . Assume every fixed-endpoint variation satisfies
Then is differentiable at every and
Differentiability of is a conclusion, not a premise; assuming it in advance would remove the regularity content of the lemma. This is the direct analytic engine for the Euler–Lagrange equation and is also a reusable one-dimensional weak-to-classical regularity statement. Unlike an integration-by-parts corollary, it carries no differentiability hypothesis on the second coefficient and therefore retains the source's main regularity content.
import Definitions.Def_VectorSpaceOpt_isC1OnSegment open Set intervalIntegral
namespace VectorSpaceOpt
/-- Luenberger, Chapter 7, §7.5, Lemma 3. -/
theorem duBoisReymond_fundamental_lemma
(a b : ℝ) (hab : a < b) (α β : ℝ → ℝ)
(hα : ContinuousOn α (Icc a b))
(hβ : ContinuousOn β (Icc a b))
(hzero : ∀ (h dh : ℝ → ℝ),
IsC1OnSegment a b h dh → h a = 0 → h b = 0 →
(∫ t in a..b, (α t * h t + β t * dh t)) = 0) :
∀ t ∈ Ioo a b, HasDerivAt β (α t) t := by sorry
end VectorSpaceOptRead-back
What the Lean code literally says, in plain math · gpt-5
For real numbers and functions that are each continuous on , assume that for every pair for which and are continuous on , has derivative at every , and , the oriented interval integral from to of is zero. Then, for every , has ordinary derivative at . The conclusion makes no derivative assertion about at or .
Confirmed by the mission captain (proposal self-audit).