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
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Theorem. Fix natural numbers , , (any of which may be ). Assume: a family of functions for (real-valued, total on all of , modeled as Euclidean space), each convex on the whole space; vectors that are linearly independent (this forces and that all are distinct and nonzero; for it is vacuous); scalars ; and the hypothesis that there exists some with for every . The theorem asserts the following equivalence:
where unfolds (via the bundle's ConvexOptimization_dualFunction with objective ) to the extended-real infimum over all of (unconstrained):
taken in ; it can be , but never since is nonempty (including ), and the condition is an inequality of extended reals. Here means is not the identically-zero vector, and is unrestricted in sign. Edge cases: if , the strict inequalities on the left are vacuous (so the left side holds by the stated feasibility hypothesis), while on the right the only is the zero function, so is unsatisfiable and the right side is vacuously true — the biconditional then holds degenerately. If , all equality-constraint clauses are vacuous and the feasibility hypothesis is automatic.
Confirmed by the mission captain (proposal self-audit).