Prove2Me
Navigate
MissionsFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Fenchel duality with attained dual functional

Proved
VectorSpaceOpt.fenchel_duality

by wenxinzhang · Aug 25, 2026 · Mathlib c5ea003 (Lean v4.30.0)

convex-analysisdualityfenchel-dualityfunctional-analysis

Let fff be convex on nonempty CCC and ggg concave on nonempty DDD in a real normed space. Assume the intrinsic interiors of CCC and DDD meet, and that either the restricted epigraph of fff or restricted hypograph of ggg has nonempty ordinary interior. If the finite number μ\muμ is the infimum of f−gf-gf−g on C∩DC\cap DC∩D, then some ℓ0∈C∗∩D∗\ell_0\in C^*\cap D^*ℓ0​∈C∗∩D∗ satisfies

μ=gD∗(ℓ0)−fC∗(ℓ0)=max⁡ℓ∈C∗∩D∗(gD∗(ℓ)−fC∗(ℓ)).\mu=g_D^*(\ell_0)-f_C^*(\ell_0)=\max_{\ell\in C^*\cap D^*}\bigl(g_D^*(\ell)-f_C^*(\ell)\bigr).μ=gD∗​(ℓ0​)−fC∗​(ℓ0​)=ℓ∈C∗∩D∗max​(gD∗​(ℓ)−fC∗​(ℓ)).

If x0x_0x0​ attains the primal infimum, it also attains both conjugate extrema at ℓ0\ell_0ℓ0​. This is the mission goal and retains both qualification conditions and dual attainment.

Preamble
import Definitions.Def_VectorSpaceOpt_restrictedConvexConjugate
import Definitions.Def_VectorSpaceOpt_restrictedConcaveConjugate

open Set
Formal statement
namespace VectorSpaceOpt

/-- Luenberger, Chapter 7, §7.12, Theorem 1 (Fenchel Duality). -/
theorem fenchel_duality
    {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X]
    (C D : Set X) (f g : X → ℝ) (μ : ℝ)
    (hC : C.Nonempty) (hD : D.Nonempty)
    (hf : ConvexOn ℝ C f) (hg : ConcaveOn ℝ D g)
    (hri : (intrinsicInterior ℝ C ∩ intrinsicInterior ℝ D).Nonempty)
    (hsolid :
      (interior {p : X × ℝ | p.1 ∈ C ∧ f p.1 ≤ p.2}).Nonempty ∨
      (interior {p : X × ℝ | p.1 ∈ D ∧ p.2 ≤ g p.1}).Nonempty)
    (hμ : IsGLB ((fun x : X ↦ f x - g x) '' (C ∩ D)) μ) :
    ∃ ℓ₀ : X →L[ℝ] ℝ,
      BddAbove ((fun x : X ↦ ℓ₀ x - f x) '' C) ∧
      BddBelow ((fun x : X ↦ ℓ₀ x - g x) '' D) ∧
      μ = restrictedConcaveConjugate D g ℓ₀ -
        restrictedConvexConjugate C f ℓ₀ ∧
      (∀ ℓ : X →L[ℝ] ℝ,
        BddAbove ((fun x : X ↦ ℓ x - f x) '' C) →
        BddBelow ((fun x : X ↦ ℓ x - g x) '' D) →
        restrictedConcaveConjugate D g ℓ -
          restrictedConvexConjugate C f ℓ ≤ μ) ∧
      (∀ x₀ ∈ C ∩ D, f x₀ - g x₀ = μ →
        restrictedConvexConjugate C f ℓ₀ = ℓ₀ x₀ - f x₀ ∧
        restrictedConcaveConjugate D g ℓ₀ = ℓ₀ x₀ - g x₀) := 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.12, Theorem 1 (Fenchel Duality), printed pp. 201–202; physical PDF pp. 221–222.
Read-back

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

For every real normed vector space XXX, nonempty sets C,D⊆XC,D⊆XC,D⊆X, functions f,g:X→Rf,g : X → ℝf,g:X→R, and real number μμμ, assume fff is convex on CCC, ggg is concave on DDD, the intersection of the real intrinsic interiors of CCC and DDD is nonempty, and at least one of the following two subsets of X×RX×ℝX×R has nonempty topological interior: the restricted epigraph {(x,r):x∈C,f(x)≤r}\{(x,r):x∈C, f(x)≤r\}{(x,r):x∈C,f(x)≤r} or the restricted hypograph {(x,r):x∈D,r≤g(x)}\{(x,r):x∈D, r≤g(x)\}{(x,r):x∈D,r≤g(x)}. Also assume that μμμ is the greatest lower bound of {f(x)−g(x):x∈C∩D}\{f(x)-g(x):x∈C∩D\}{f(x)−g(x):x∈C∩D}, meaning it is a lower bound and every other lower bound is at most μμμ; attainment is not assumed. Then there exists a continuous real-linear functional ℓ0ℓ₀ℓ0​ such that {ℓ0(x)−f(x):x∈C}\{ℓ₀(x)-f(x):x∈C\}{ℓ0​(x)−f(x):x∈C} is bounded above, {ℓ0(x)−g(x):x∈D}\{ℓ₀(x)-g(x):x∈D\}{ℓ0​(x)−g(x):x∈D} is bounded below, and μ=inf⁡x∈D(ℓ0(x)−g(x))−sup⁡x∈C(ℓ0(x)−f(x))μ=\inf_{x∈D}(ℓ₀(x)-g(x))-\sup_{x∈C}(ℓ₀(x)-f(x))μ=infx∈D​(ℓ0​(x)−g(x))−supx∈C​(ℓ0​(x)−f(x)). For every continuous real-linear ℓℓℓ satisfying the same respective boundedness conditions, inf⁡x∈D(ℓ(x)−g(x))−sup⁡x∈C(ℓ(x)−f(x))≤μ\inf_{x∈D}(ℓ(x)-g(x))-\sup_{x∈C}(ℓ(x)-f(x))≤μinfx∈D​(ℓ(x)−g(x))−supx∈C​(ℓ(x)−f(x))≤μ. Finally, for every x0∈C∩Dx₀∈C∩Dx0​∈C∩D that does attain f(x0)−g(x0)=μf(x₀)-g(x₀)=μf(x0​)−g(x0​)=μ, both extrema for ℓ0ℓ₀ℓ0​ are attained there: sup⁡x∈C(ℓ0(x)−f(x))=ℓ0(x0)−f(x0)\sup_{x∈C}(ℓ₀(x)-f(x))=ℓ₀(x₀)-f(x₀)supx∈C​(ℓ0​(x)−f(x))=ℓ0​(x0​)−f(x0​) and inf⁡x∈D(ℓ0(x)−g(x))=ℓ0(x0)−g(x0)\inf_{x∈D}(ℓ₀(x)-g(x))=ℓ₀(x₀)-g(x₀)infx∈D​(ℓ0​(x)−g(x))=ℓ0​(x0​)−g(x0​). All these conjugate extrema are real sSupsSupsSup or sInfsInfsInf values; nonemptiness of C,DC,DC,D and the displayed boundedness hypotheses put the extrema used in the conclusion in their ordinary finite-real cases.

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.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me