Lemma 5.1 — uniqueness of general SVM solutions
DisprovedSupportVectorMachines.InfiniteSample.lemma_5_1_uniqueness_of_svm_solutionsThis is Lemma 5.1 of Steinwart & Christmann, Support Vector Machines (Springer 2008, p. 167): let be a convex loss, be the RKHS of a measurable kernel over , and be a distribution on with for some . Then for all there exists at most one general SVM solution , i.e. at most one minimizer of
over .
This is the population (infinite-sample) half of the existence-and-uniqueness picture this mission develops toward the representer theorem: the finiteness hypothesis rules out the trivial case where every has infinite risk, in which case the objective would be constantly and every would (vacuously) be a minimizer, so the proof's convexity argument (a strict-convexity computation for the midpoint of two hypothetical minimizers) could not distinguish them.
Formalization Note The two minimizer hypotheses are stated for two arbitrary candidates
f1 f2 : H, and the conclusion is f1 = f2 — the direct Lean rendering of "at most one".
R_{L,P}$ is populationRisk(anENNReal`-valued lower integral, so no integrability
hypothesis is needed beyond the one finiteness witness the book itself states).
Retired. Retired because its loss type omitted the measurability of Definition 2.1 and the kernel measurability (disproved with a non-measurable loss on a trivial σ-algebra); replaced by SupportVectorMachines.InfiniteSample.lemma_5_1_uniqueness_of_svm_solutions_v2.
import Mathlib import Definitions.Def_SupportVectorMachines_InfiniteSample_Loss import Definitions.Def_SupportVectorMachines_InfiniteSample_IsRKHSOfKernel import Definitions.Def_SupportVectorMachines_InfiniteSample_populationRisk open MeasureTheory
namespace SupportVectorMachines.InfiniteSample
/-- Lemma 5.1 (Uniqueness of SVM solutions), p. 167: let `L` be a convex loss, `H` be the RKHS of
a (measurable) kernel `k` over `X`, and `P` be a distribution on `X × ℝ` with `R_{L,P}(f) < ∞` for
some `f ∈ H`. Then for all `λ > 0` there is at most one general SVM solution, i.e. at most one
minimizer of `f ↦ λ‖f‖²_H + R_{L,P}(f)` over `H`. -/
theorem lemma_5_1_uniqueness_of_svm_solutions {X : Type*} [MeasurableSpace X]
(L : Loss X) (hL : ∀ x y, ConvexOn ℝ Set.univ (L x y)) (hLnn : ∀ x y t, 0 ≤ L x y t)
(H : Type) [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H]
(toFun : H →ₗ[ℝ] (X → ℝ)) (k : X → X → ℝ) (hRKHS : IsRKHSOfKernel H toFun k)
(P : Measure (X × ℝ)) [IsProbabilityMeasure P]
(hfin : ∃ f : H, populationRisk L P (toFun f) < ⊤)
(lam : ℝ) (hlam : 0 < lam) (f1 f2 : H)
(hf1 : ∀ g : H, ENNReal.ofReal (lam * ‖f1‖ ^ 2) + populationRisk L P (toFun f1) ≤
ENNReal.ofReal (lam * ‖g‖ ^ 2) + populationRisk L P (toFun g))
(hf2 : ∀ g : H, ENNReal.ofReal (lam * ‖f2‖ ^ 2) + populationRisk L P (toFun f2) ≤
ENNReal.ofReal (lam * ‖g‖ ^ 2) + populationRisk L P (toFun g)) :
f1 = f2 := by sorry
end SupportVectorMachines.InfiniteSample
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.