Strong alternatives for strict convex inequality systems
ProvedConvexOptimization.strong_alternatives_strict_convexStrong alternatives for a system of strict convex inequalities.
Let be convex, let be linearly independent, let , and assume the affine system has a solution. Write for the dual function of the feasibility problem, i.e. of the problem with zero objective. Then
The two systems are strong alternatives: exactly one of them is feasible, with no gap between them. The second is the certificate of infeasibility — a nonnegative, nonzero combination of the constraints that is bounded below by zero, i.e. a proof that no strictly feasible point exists.
Theorems of the alternative are the infeasibility counterpart of duality: rather than certifying optimality, they certify that a system has no solution. Farkas' lemma is the linear case, and the LMI alternatives used later in this mission are the semidefinite specializations of this result.
Formalization Note The dual function is the mission's dualFunction applied with objective 0, so the statement reuses the Lagrange-duality interface of Mission II; the constraint qualification is stated as solvability of the equality system together with linear independence of the a j. Source: B&V §5.8.2, pp. 260–261, systems (5.79)/(5.80).
import Mathlib import Definitions.Def_ConvexOptimization_lagrangeDuality open scoped RealInnerProductSpace ENNReal open MeasureTheory
theorem ConvexOptimization.strong_alternatives_strict_convex {n mm p : ℕ}
(fc : Fin mm → EuclideanSpace ℝ (Fin n) → ℝ)
(hfc : ∀ i, ConvexOn ℝ Set.univ (fc i))
(a : Fin p → EuclideanSpace ℝ (Fin n)) (ha : LinearIndependent ℝ a)
(b : Fin p → ℝ) (hCQ : ∃ x, ∀ j, ⟪a j, x⟫ = b j) :
(∃ x, (∀ i, fc i x < 0) ∧ ∀ j, ⟪a j, x⟫ = b j) ↔
¬∃ (lam : Fin mm → ℝ) (nu : Fin p → ℝ), (∀ i, 0 ≤ lam i) ∧ lam ≠ 0 ∧
0 ≤ dualFunction 0 fc a b lam nu := by
sorry