Lemma 15.9 (Fritz John, corrected): at a constrained minimizer w⋆ there are multipliers α₀ ≥ 0, αᵢ ≥ 0, not all zero, vanishing off the active set, with α₀∇f(w⋆) + ∑ αᵢ∇gᵢ(w⋆) = 0
ProvedUnderstandingML.fritz_johnconstrained-optimizationfritz-johnoptimality-conditions
Lemma 15.9 (Fritz John) (in its correct form). Suppose that subject to for all , where are differentiable, and let . Then there exist and with , not all zero, for , such that .
The book states the conclusion as with ; that version fails for , on (, , ). For Theorem 15.8 the constraints are affine and can be taken.
Preamble
import Definitions.Def_UnderstandingML_SVM open MeasureTheory open scoped InnerProductSpace
Formal statement
namespace UnderstandingML
/-- **Lemma 15.9 (Fritz John)** (p. 211), in its correct form. Suppose `w⋆ ∈ argmin_w f(w)`
subject to `gᵢ(w) ≤ 0` for `i ∈ [m]`, where `f, g₁, …, g_m` are differentiable, and let
`I = {i : gᵢ(w⋆) = 0}`. Then there exist multipliers `α₀ ≥ 0` and `α ∈ ℝ^m` with `αᵢ ≥ 0`, not all
zero, `αᵢ = 0` for `i ∉ I`, and `α₀ ∇f(w⋆) + ∑_{i ∈ I} αᵢ ∇gᵢ(w⋆) = 0`. The book prints the
conclusion without the multiplier `α₀` (and with `α` unrestricted in sign); that version fails
for `f(w) = w`, `g₁(w) = w²` on `ℝ`, where `w⋆ = 0`, `∇f = 1` and `∇g₁(0) = 0`. -/
theorem fritz_john {d m : ℕ} (f : Vec d → ℝ) (g : Fin m → Vec d → ℝ) (hf : Differentiable ℝ f)
(hg : ∀ i, Differentiable ℝ (g i)) (wstar : Vec d) (hfeas : ∀ i, g i wstar ≤ 0)
(hmin : ∀ w, (∀ i, g i w ≤ 0) → f wstar ≤ f w) :
∃ (α₀ : ℝ) (α : Fin m → ℝ), 0 ≤ α₀ ∧ (∀ i, 0 ≤ α i) ∧ (α₀ ≠ 0 ∨ ∃ i, α i ≠ 0) ∧
(∀ i, g i wstar ≠ 0 → α i = 0) ∧
α₀ • gradient f wstar + ∑ i, α i • gradient (g i) wstar = 0 := by sorry
end UnderstandingML
Source
Shalev-Shwartz and Ben-David, Understanding Machine Learning: From Theory to Algorithms, Cambridge University Press 2014, doi:10.1017/CBO9781107298019, §15.3 p. 211, Lemma 15.9 (Fritz John), with the multiplier on ∇f restored; see the docstring
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.