Trust-region strong duality (level-set form)
ProvedConvexOptimization.single_constraint_quadratic_strong_dualityZero duality gap for minimizing one quadratic function subject to another — the strong-duality result of B&V §B.1.
Let for with symmetric, and assume strict feasibility: some has . Then for every ,
Read as an optimization statement: is a lower bound for the (generally nonconvex) problem of minimizing subject to exactly when it is achievable by the semidefinite relaxation, so the two optimal values coincide and the Lagrangian relaxation is tight. This is remarkable — the primal problem need not be convex, and may be indefinite — and it is the theoretical basis of trust-region methods, where a quadratic model is minimized over a ball.
Formalization Note The quadratics and their block matrices are the mission's quadForm and symQuadBlock; the matrix inequality is PosSemidef of the sum. The statement is corrected for the factor-of-two slips in the printed eq. (B.5). In the book this result is derived from the S-procedure (§B.4), so it is a consequence of the mission's goal rather than a step toward it. Source: B&V §B.1, p. 654, proof in §B.4, p. 658.
import Mathlib import Definitions.Def_ConvexOptimization_quadraticForms open scoped RealInnerProductSpace ENNReal open MeasureTheory
theorem ConvexOptimization.single_constraint_quadratic_strong_duality {nn : ℕ}
(A₀ A₁ : Matrix (Fin nn) (Fin nn) ℝ) (hA₀ : A₀.IsSymm) (hA₁ : A₁.IsSymm)
(b₀ b₁ : Fin nn → ℝ) (c₀ c₁ : ℝ)
(xh : Fin nn → ℝ) (hxh : quadForm A₁ b₁ c₁ xh < 0) (γ : ℝ) :
(∀ x, quadForm A₁ b₁ c₁ x ≤ 0 → γ ≤ quadForm A₀ b₀ c₀ x) ↔
∃ lam : ℝ, 0 ≤ lam ∧
(symQuadBlock A₀ b₀ (c₀ - γ) + lam • symQuadBlock A₁ b₁ c₁).PosSemidef := by
sorry
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Theorem. Fix a natural number ; real matrices , , each assumed symmetric; vectors ; scalars ; a point with (strict), where the file's ConvexOptimization_quadForm unfolds as (note the factor on the linear term); and an arbitrary scalar (a free parameter, with no hypothesis on it). No convexity or definiteness is assumed of or — the quadratics may be indefinite. The theorem asserts the equivalence:
where, unfolding the file's ConvexOptimization_symQuadBlock, and are the block matrices over the index type ( coordinates plus one extra index)
the shift by appears only in the bottom-right scalar entry of . Positive semidefiniteness in Mathlib includes the symmetry requirement (satisfied here since are symmetric). Both inequalities on the left are as written: nonstrict constraint , nonstrict bound ; on the right is nonstrict. Edge case: for the quadratics are the constants , the strict-feasibility hypothesis forces , the left side reads , and is the matrix .
Confirmed by the mission captain (proposal self-audit).