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 c5ea003 (Lean v4.30.0)

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.
Read-back

What the Lean code literally says, in plain math · gpt-5

For real numbers a<ba<ba<b and a function α:R→Rα : ℝ → ℝα:R→R continuous on [a,b][a,b][a,b], assume that for every pair h,dh:R→Rh,dh : ℝ → ℝh,dh:R→R such that hhh and dhdhdh are continuous on [a,b][a,b][a,b], hhh has derivative dh(t)dh(t)dh(t) for every t∈(a,b)t∈(a,b)t∈(a,b), and h(a)=h(b)=0h(a)=h(b)=0h(a)=h(b)=0, the oriented interval integral from aaa to bbb of α(t)h(t)α(t)h(t)α(t)h(t) is zero. Then α(t)=0α(t)=0α(t)=0 for every ttt in the entire closed interval [a,b][a,b][a,b], including both endpoints. Although dhdhdh does not occur in the integrand, it is universally quantified and must witness the stated interior derivative and continuity conditions for hhh.

Human review
  • Endorsed by Shuze Chen · Aug 25, 2026

  • Endorsed by wenxinzhang · Aug 25, 2026

    Confirmed by the mission captain (proposal self-audit).

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