Theorem 8, eq. (10) — closed form of the distance to degeneracy for a polytope
ProvedSPOBounds.Polyhedral.nu_formulaLet be a finite-dimensional real normed space with dual norm , let be pairwise distinct, and let be not a singleton. Let be any optimization oracle for , i.e. for every cost vector . Then for every cost vector the distance to degeneracy is
The distance to degeneracy is thus computable from one call to the oracle and evaluations; this is what makes the margin SPO loss of the paper usable for polyhedral feasible regions.
Formalization Note The minimum is stated with IsLeast over the finite set of values indexed by ; this set is nonempty because is not a singleton, and the denominators are nonzero on it. The numerator uses as a functional on , the denominator is the primal norm of , and is measured in the operator (dual) norm. The oracle is arbitrary, including one that returns a non-vertex optimal solution when is degenerate.
import Mathlib import Definitions.Def_SPOBounds_Shared_Degeneracy
namespace SPOBounds.Polyhedral
/-- Theorem 8, eq. (10), arXiv:1905.11488v3, p. 25: if `S = conv{v_1, …, v_K}` (distinct `v_i`)
is not a singleton, then for every optimization oracle `w*` and every cost vector `ĉ`,
`ν_S(ĉ) = min_{j : v_j ≠ w*(ĉ)} ĉᵀ(v_j − w*(ĉ)) / ‖v_j − w*(ĉ)‖`
(the minimum over a nonempty finite index set, stated as `IsLeast`). -/
theorem nu_formula {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
[FiniteDimensional ℝ E]
{K : ℕ} (v : Fin K → E) (hv : Function.Injective v)
(S : Set E) (hS : S = convexHull ℝ (Set.range v)) (hSnt : S.Nontrivial)
(w : StrongDual ℝ E → E) (hw : ∀ c : StrongDual ℝ E, w c ∈ S ∧ ∀ x ∈ S, c (w c) ≤ c x)
(chat : StrongDual ℝ E) :
IsLeast ((fun j => chat (v j - w chat) / ‖v j - w chat‖) '' {j | v j ≠ w chat})
(SPOBounds.Shared.nu S chat) := by sorry
end SPOBounds.Polyhedral
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting.
- is a finite-dimensional real normed vector space, and is its space of continuous linear functionals.
- is a natural number, and are pairwise distinct. No lower bound on is stated.
- is assumed equal to .
- is assumed nontrivial: it contains at least two distinct points.
- is any function such that, for every , and for all . So selects a minimizer of over for every .
- is arbitrary.
Claim. The theorem states that is the least element of the set
That is, both of the following hold:
- equals one of these ratios, for some with ;
- is at most every such ratio.
Here is the value of an imported definition, SPOBounds.Shared.nu, applied to and . Its code is not included in this declaration, so its meaning cannot be expanded here. The claim holds for every admissible selector . So the minimum on the right must be the same for every choice of minimizer .
Degenerate cases.
- Denominators. Every denominator in the set is nonzero, because only indices with are included. No division by zero occurs.
- Size of . Nontriviality of rules out , where , and , where is a single point. So . At most one vertex can equal , so the index set is nonempty.
- Zero functional. If , every ratio is , and the claim is .
- Selector. The hypothesis on constrains its value at every functional, not only at . It is a condition on the whole selector function.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.