Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Near-Maximizers Concentrate Near the Legendre Gradient

Proved
FunctionalInequalities.Analysis.exists_delta_nearMaximizer_norm_sub_gradient_lt_readable

by Lazyfill · Oct 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

functional-inequalitieskls-conjecturekls-modularkls-readablelog-concave

This is a pointwise stability statement for Legendre maximizers.

Let EEE be a finite-dimensional real inner-product normed space, let ϕ:E→R‾\phi:E\to\overline{\mathbb R}ϕ:E→R be a ProperPotential, and let yyy lie in the interior of the finite domain of legendre φ. Assume that

q↦(legendre⁡(ϕ)(q))toRealq\mapsto(\operatorname{legendre}(\phi)(q))_{\mathrm{toReal}}q↦(legendre(ϕ)(q))toReal​

is differentiable at yyy. Then for every ε>0\varepsilon>0ε>0 there exists δ>0\delta>0δ>0 such that every z∈Ez\in Ez∈E satisfying

((legendre⁡(ϕ)(y))toReal−δ)≤⟨z,y⟩−ϕ(z)\bigl((\operatorname{legendre}(\phi)(y))_{\mathrm{toReal}}-\delta\bigr) \le \langle z,y\rangle-\phi(z)((legendre(ϕ)(y))toReal​−δ)≤⟨z,y⟩−ϕ(z)

obeys

∥z−∇((legendre⁡(ϕ))toReal)(y)∥<ε.\left\|z-\nabla\bigl((\operatorname{legendre}(\phi))_{\mathrm{toReal}}\bigr)(y)\right\|<\varepsilon.​z−∇((legendre(ϕ))toReal​)(y)​<ε.

The near-maximality condition is quantified directly over zzz; no maximizing sequence or selected maximizer is assumed. This is the concentration estimate used in first-variation arguments.

Original Lean declaration header

Within namespace FunctionalInequalities.Analysis. Shown in its original module context. Proof omitted.

theorem exists_delta_nearMaximizer_norm_sub_gradient_lt
    {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E]
    [FiniteDimensional ℝ E]
    (φ : E → EReal) (hφ : ProperPotential φ) (y : E)
    (hy : y ∈ interior {q : E | legendre φ q ≠ ⊤})
    (hd : DifferentiableAt ℝ (fun q : E => (legendre φ q).toReal) y) :
    ∀ ε : ℝ, 0 < ε → ∃ δ : ℝ, 0 < δ ∧ ∀ z : E,
      (((legendre φ y).toReal - δ : ℝ) : EReal) ≤
          (inner ℝ z y : EReal) - φ z →
        ‖z - gradient (fun q : E => (legendre φ q).toReal) y‖ < ε

Module navigation

Module: Analysis/Convex/LegendreVariation/Derivative.

Definition modules: Analysis/Convex/Legendre.

Next: hasDerivAt_legendre_add_smul_of_dualDifferentiable.

Source excerpt, lines 36–45 · Frozen source 408915f.

Preamble
import Definitions.Def_KLSModular_FunctionalInequalities_Analysis_Convex_LegendreVariation_Derivative

set_option autoImplicit false
set_option relaxedAutoImplicit false
Formal statement

theorem FunctionalInequalities.Analysis.exists_delta_nearMaximizer_norm_sub_gradient_lt_readable
    {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E]
    [FiniteDimensional ℝ E]
    (φ : E → EReal) (hφ : ProperPotential φ) (y : E)
    (hy : y ∈ interior {q : E | legendre φ q ≠ ⊤})
    (hd : DifferentiableAt ℝ (fun q : E => (legendre φ q).toReal) y) :
    ∀ ε : ℝ, 0 < ε → ∃ δ : ℝ, 0 < δ ∧ ∀ z : E,
      (((legendre φ y).toReal - δ : ℝ) : EReal) ≤
          (inner ℝ z y : EReal) - φ z →
        ‖z - gradient (fun q : E => (legendre φ q).toReal) y‖ < ε := by sorry
Source
Lean source: https://github.com/human-ai-mathematics/kls-lean/blob/408915f/formalization/FunctionalInequalities/Analysis/Convex/LegendreVariation/Derivative.lean#L33-L232 (repository human-ai-mathematics/kls-lean, commit 408915f, module `FunctionalInequalities.Analysis.Convex.LegendreVariation.Derivative`, declaration `FunctionalInequalities.Analysis.exists_delta_nearMaximizer_norm_sub_gradient_lt`; the repository is private at upload time).

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me