Fenchel–Moreau biconjugation
ProvedConvexOptimization.fenchel_biconjugate_eq_selfThe Fenchel–Moreau theorem: a convex function equals its own biconjugate.
Let be convex on all of (and finite-valued), with conjugate and biconjugate . Then
Since is by construction the supremum of all affine functions lying below , the theorem says a convex function is exactly the upper envelope of its affine minorants — the analytic counterpart of the statement that a closed convex set is the intersection of the halfspaces containing it, and thus a direct descendant of the separating hyperplane theorem.
Conjugation is therefore an involution on this class of functions, which is what makes dual descriptions lossless: for a convex problem, dualizing twice returns the original problem, and the duality gap of a nonconvex problem measures precisely the distance from to .
Formalization Note Finiteness of is built into its type EuclideanSpace ℝ (Fin n) → ℝ, and convexity is ConvexOn ℝ Set.univ f; a finite-valued convex function on all of is automatically continuous, so no closedness hypothesis is needed. The conclusion equates an EReal value with the coercion of a real number, which also asserts finiteness of . Source: B&V §3.3.2, p. 94.
import Mathlib import Definitions.Def_fenchelConjugate import Definitions.Def_fenchelBiconjugate open scoped RealInnerProductSpace ENNReal open MeasureTheory
theorem ConvexOptimization.fenchel_biconjugate_eq_self {n : ℕ}
(f : EuclideanSpace ℝ (Fin n) → ℝ) (hf : ConvexOn ℝ Set.univ f)
(x : EuclideanSpace ℝ (Fin n)) :
fenchelBiconjugate f x = (f x : EReal) := by
sorry
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Theorem statement. Let be a total, everywhere-finite function that is convex on the whole space (ConvexOn over the universal set: for all and all with ; no continuity, closedness, or lower-semicontinuity hypothesis appears). Then for every , the extended-real number equals the real number (as an element of ). Here , and the outer subtraction is extended-real, with the convention that finite ; so terms with contribute to the supremum. The equality in particular asserts that this supremum is finite (neither nor ) and has exactly the value . The case (one-point space, a single real value, the inner product always ) is included.
Confirmed by the mission captain (proposal self-audit).