Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 5.6 — non-trivial SVM solutions

Disproved
SupportVectorMachines.InfiniteSample.theorem_5_6_non_trivial_svm_solutions

by mikedeng1 · Sep 19, 2026 · Mathlib 0df444a (Lean v4.33.1)

functional-analysismachine-learningstatistics

This is Theorem 5.6 of Steinwart & Christmann, Support Vector Machines (Springer 2008, p. 168): let L:X×Y×R→[0,∞)L : X \times Y \times \mathbb R \to [0,\infty)L:X×Y×R→[0,∞) be a convex loss and PPP be a distribution on X×YX \times YX×Y such that LLL is a PPP-integrable Nemitski loss. Let HHH be the RKHS of a bounded measurable kernel over XXX such that

RL,P,H∗:=inf⁡f∈HRL,P(f)  <  RL,P(0).R^*_{L,P,H} := \inf_{f \in H} R_{L,P}(f) \; < \; R_{L,P}(0).RL,P,H∗​:=f∈Hinf​RL,P​(f)<RL,P​(0).

Then, for all λ>0\lambda > 0λ>0, every general SVM solution fP,λ≠0f_{P,\lambda} \ne 0fP,λ​=0.

This rules out the degenerate case where regularization drives the solution all the way to the zero function: it happens exactly when HHH can already do no better than predicting a constant zero, which the gap condition excludes. The theorem is what justifies treating SVM decision functions as genuinely data/model-dependent objects rather than a regularization artifact.

Formalization Note The general SVM solution fP,λf_{P,\lambda}fP,λ​ is taken as an arbitrary element of HHH satisfying the minimizer property (rather than re-deriving its existence, which is Theorem 5.2's content); by Lemma 5.1 it is in any case unique, so quantifying over an arbitrary minimizer is exactly the book's own "for all λ>0\lambda > 0λ>0, fP,λ≠0f_{P,\lambda} \ne 0fP,λ​=0". RL,P,H∗R^*_{L,P,H}RL,P,H∗​ is rendered as ⨅ f : H, populationRisk L P (toFun f), an infimum in ENNReal that is always well-defined (no boundedness or nonemptiness hypothesis needed).


Retired. Retired because its loss type omitted the measurability of Definition 2.1 and the kernel measurability (disproved: 0 was a minimizer for a non-measurable loss); replaced by SupportVectorMachines.InfiniteSample.theorem_5_6_non_trivial_svm_solutions_v2.

Preamble
import Mathlib
import Definitions.Def_SupportVectorMachines_InfiniteSample_Loss
import Definitions.Def_SupportVectorMachines_InfiniteSample_NemitskiLoss
import Definitions.Def_SupportVectorMachines_InfiniteSample_IsRKHSOfKernel
import Definitions.Def_SupportVectorMachines_InfiniteSample_populationRisk

open MeasureTheory
Formal statement
namespace SupportVectorMachines.InfiniteSample

/-- Theorem 5.6 (Non-trivial SVM solutions), p. 168: let `L` be a convex loss and `P` be a
distribution on `X × ℝ` such that `L` is a `P`-integrable Nemitski loss. Let `H` be the RKHS of a
bounded (measurable) kernel `k` over `X` with `R*_{L,P,H} := inf_{f∈H} R_{L,P}(f) < R_{L,P}(0)`.
Then for all `λ > 0`, every general SVM solution `f_{P,λ}` is nonzero. -/
theorem theorem_5_6_non_trivial_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)
    (P : Measure (X × ℝ)) [IsProbabilityMeasure P] (hNem : PIntegrableNemitskiLoss L P)
    (H : Type) [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H]
    (toFun : H →ₗ[ℝ] (X → ℝ)) (k : X → X → ℝ) (hRKHS : IsRKHSOfKernel H toFun k)
    (hkBdd : ∃ M : ℝ, ∀ x : X, k x x ≤ M)
    (hgap : (⨅ f : H, populationRisk L P (toFun f)) < populationRisk L P (fun _ => 0))
    (lam : ℝ) (hlam : 0 < lam) (fPlam : H)
    (hmin : ∀ g : H, ENNReal.ofReal (lam * ‖fPlam‖ ^ 2) + populationRisk L P (toFun fPlam) ≤
      ENNReal.ofReal (lam * ‖g‖ ^ 2) + populationRisk L P (toFun g)) :
    fPlam ≠ 0 := by sorry

end SupportVectorMachines.InfiniteSample
Source
Steinwart & Christmann, Support Vector Machines, Springer 2008, p. 168, Theorem 5.6
Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 28, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me