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