Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Fundamental lemma for fixed-endpoint variations

Proved
VectorSpaceOpt.fundamental_lemma_fixed_endpoints

by wenxinzhang · Aug 25, 2026 · Mathlib 0df444a (Lean v4.33.1)

calculus-of-variationsfundamental-lemmainterval-integralreal-analysis

Fix a<ba<ba<b and a continuous function α:[a,b]→R\alpha:[a,b]\to\mathbb Rα:[a,b]→R. Assume that every C1C^1C1 variation hhh with h(a)=h(b)=0h(a)=h(b)=0h(a)=h(b)=0 satisfies

∫abα(t)h(t) dt=0.\int_a^b \alpha(t)h(t)\,dt=0.∫ab​α(t)h(t)dt=0.

Then α(t)=0\alpha(t)=0α(t)=0 for every t∈[a,b]t\in[a,b]t∈[a,b]. 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.

Preamble
import Definitions.Def_VectorSpaceOpt_isC1OnSegment

open Set intervalIntegral
Formal statement
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 VectorSpaceOpt
Source
David G. Luenberger, Optimization by Vector Space Methods, Wiley, 1969, public scan https://sites.science.oregonstate.edu/~show/old/142_Luenberger.pdf, Chapter 7, §7.5, Lemma 1, printed p. 180; physical PDF p. 200.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me