Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1.1, p. 324 — Ekeland's variational principle

Proved
EkelandVP.General.ekeland_variational_principle

by mikedeng1 · Oct 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

complete-metric-spacelower-semicontinuousp2o-batch-pfp1ap2o-gran-per-chapterp2o-plan-paperp2o-v1variational-principle

Let (V,d)(V,d)(V,d) be a complete metric space and F:V→R∪{+∞}F : V\to\mathbb{R}\cup\{+\infty\}F:V→R∪{+∞} a lower semicontinuous function which is not identically +∞+\infty+∞ and is bounded from below, inf⁡F>−∞\inf F > -\inftyinfF>−∞ (1.1). Let ε>0\varepsilon>0ε>0 and let u∈Vu\in Vu∈V satisfy

inf⁡F≤F(u)≤inf⁡F+ε.(1.2)\inf F \le F(u) \le \inf F + \varepsilon. \tag{1.2}infF≤F(u)≤infF+ε.(1.2)

Then for every λ>0\lambda > 0λ>0 there is a point v∈Vv\in Vv∈V such that

F(v)≤F(u),d(u,v)≤λ,F(w)>F(v)−ελ d(v,w)for all w≠v.(1.3–1.5)F(v)\le F(u), \qquad d(u,v)\le\lambda, \qquad F(w) > F(v) - \frac{\varepsilon}{\lambda}\, d(v,w)\quad\text{for all } w\ne v. \tag{1.3–1.5}F(v)≤F(u),d(u,v)≤λ,F(w)>F(v)−λε​d(v,w)for all w=v.(1.3–1.5)

In words: near any ε\varepsilonε-minimizer uuu lies a point vvv which is no worse, within distance λ\lambdaλ of uuu, and is the unique (strict) minimizer of the perturbed function w↦F(w)+ελd(v,w)w\mapsto F(w)+\frac{\varepsilon}{\lambda}d(v,w)w↦F(w)+λε​d(v,w). No compactness is required; the infimum of FFF need not be attained. The rest of the paper applies this result to Gâteaux-differentiable functions, constrained optimization, geodesics and optimal control.

Formalization Note FFF takes values in EReal; the hypothesis ⊥<inf⁡F\bot < \inf F⊥<infF expresses (1.1) and also excludes the value −∞-\infty−∞, which the paper's codomain R∪{+∞}\mathbb{R}\cup\{+\infty\}R∪{+∞} does not contain. "Not identically +∞+\infty+∞" is the existence of v0v_0v0​ with F(v0)≠+∞F(v_0)\ne+\inftyF(v0​)=+∞. Only the right half of (1.2) is assumed, since inf⁡F≤F(u)\inf F\le F(u)infF≤F(u) always holds. λ\lambdaλ is a Lean keyword and is named lam. Conclusion (1.5) is written F(v)−ελd(v,w)<F(w)F(v) - \frac{\varepsilon}{\lambda}d(v,w) < F(w)F(v)−λε​d(v,w)<F(w); under the hypotheses F(v)F(v)F(v) is finite, so this EReal subtraction is ordinary real subtraction.

Preamble
import Mathlib
Formal statement
namespace EkelandVP.General

theorem ekeland_variational_principle {V : Type*} [MetricSpace V] [CompleteSpace V]
    (F : V → EReal) (hF : LowerSemicontinuous F) (hne : ∃ v₀ : V, F v₀ ≠ ⊤)
    (hbdd : ⊥ < ⨅ v, F v) (ε : ℝ) (hε : 0 < ε) (u : V)
    (hu : F u ≤ (⨅ v, F v) + (ε : EReal)) (lam : ℝ) (hlam : 0 < lam) :
    ∃ v : V, F v ≤ F u ∧ dist u v ≤ lam ∧
      ∀ w : V, w ≠ v → F v - ((ε / lam * dist v w : ℝ) : EReal) < F w := by sorry

end EkelandVP.General
Source
Ekeland, On the Variational Principle, J. Math. Anal. Appl. 47 (1974), p. 324, Theorem 1.1, (1.1)–(1.5)
Human review
  • Endorsed by Shuze Chen · Oct 4, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 4, 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