Fundamental lemma for fixed-endpoint variations
ProvedVectorSpaceOpt.fundamental_lemma_fixed_endpointsFix and a continuous function . Assume that every variation with satisfies
Then for every . In Lean, each variation is accompanied by a continuous derivative witness and the endpoint equalities are explicit. Interior test functions determine the coefficient away from the endpoints, and the assumed continuity includes the two boundary values. This milestone is the first test-function principle used in §7.5 and provides a reusable bridge from vanishing interval integrals to pointwise identities. Later weak formulations can import it without mentioning the action functional.
import Definitions.Def_VectorSpaceOpt_isC1OnSegment open Set intervalIntegral
namespace VectorSpaceOpt
/-- Luenberger, Chapter 7, §7.5, Lemma 1. -/
theorem fundamental_lemma_fixed_endpoints
(a b : ℝ) (hab : 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) = 0) :
∀ t ∈ Icc a b, α t = 0 := by sorry
end VectorSpaceOptRead-back
What the Lean code literally says, in plain math · gpt-5
For real numbers and a function continuous on , assume that for every pair such that and are continuous on , has derivative for every , and , the oriented interval integral from to of is zero. Then for every in the entire closed interval , including both endpoints. Although does not occur in the integrand, it is universally quantified and must witness the stated interior derivative and continuity conditions for .
Confirmed by the mission captain (proposal self-audit).