Saddle-point characterization of strong duality
ProvedConvexOptimization.lagrangian_saddle_iff_strong_dualityThe saddle-point characterization of strong duality.
For the standard problem, write and . Fix , with , and . Then is a saddle point of — i.e.
— if and only if is feasible, minimizes over the feasible set, and , i.e. the duality gap is zero.
The equivalence identifies "zero gap with attained optima" with a purely pointwise property of a single function, and it is the step that yields stationarity: at a zero-gap pair, minimizes over the whole space, so for differentiable data its gradient there vanishes — which is precisely the last KKT condition. It also connects this theory to minimax duality, since a saddle point is exactly a point where and agree.
Formalization Note The supremum side of the saddle condition is written as a universally quantified inequality over dual-feasible rather than as a supremum, avoiding extended-real arithmetic on that side; the zero-gap condition compares the EReal-valued dual function with the coercion of . Source: B&V §5.4.2, pp. 239–240.
import Mathlib import Definitions.Def_ConvexOptimization_lagrangeDuality open scoped RealInnerProductSpace ENNReal open MeasureTheory
theorem ConvexOptimization.lagrangian_saddle_iff_strong_duality {n mm p : ℕ}
(f₀ : EuclideanSpace ℝ (Fin n) → ℝ)
(fc : Fin mm → EuclideanSpace ℝ (Fin n) → ℝ)
(a : Fin p → EuclideanSpace ℝ (Fin n)) (b : Fin p → ℝ)
(xs : EuclideanSpace ℝ (Fin n)) (lam : Fin mm → ℝ) (hlam : ∀ i, 0 ≤ lam i)
(nu : Fin p → ℝ) :
((∀ (lam' : Fin mm → ℝ), (∀ i, 0 ≤ lam' i) → ∀ nu' : Fin p → ℝ,
lagrangian f₀ fc a b xs lam' nu' ≤ lagrangian f₀ fc a b xs lam nu) ∧
(∀ x, lagrangian f₀ fc a b xs lam nu ≤ lagrangian f₀ fc a b x lam nu)) ↔
(xs ∈ feasibleSet fc a b ∧ IsMinOn f₀ (feasibleSet fc a b) xs ∧
dualFunction f₀ fc a b lam nu = (f₀ xs : EReal)) := by
sorry
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Theorem. Fix data (implicit ; no convexity, continuity, or differentiability assumed), a point , multipliers with the standing hypothesis for every (this is assumed outside the equivalence, so it is available in both directions), and unrestricted. Writing for the (real-valued) Lagrangian and (in the extended reals) for the dual function, the theorem is the equivalence of:
- Left side (saddle point): both (i) for every with for all and every , ; and (ii) for every (unconstrained, the whole space), .
- Right side: the conjunction of (i) is feasible, i.e. for all and for all ; (ii) for every feasible ; and (iii) the exact extended-real equality . All inequalities are non-strict. Edge cases: when the saddle condition (i) on the left is trivially an equality, feasibility is vacuous, and the content reduces to being an unconstrained global minimizer of with attained at .
Confirmed by the mission captain (proposal self-audit).