Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 5.2 — existence of general SVM solutions

Disproved
SupportVectorMachines.InfiniteSample.theorem_5_2_existence_of_svm_solutions

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

functional-analysismachine-learningstatistics

This is Theorem 5.2 of Steinwart & Christmann, Support Vector Machines (Springer 2008, p. 167): 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. Then for all λ>0\lambda > 0λ>0 there exists a general SVM solution fP,λ∈Hf_{P,\lambda} \in HfP,λ​∈H, i.e. a minimizer of

f↦λ∥f∥H2+RL,P(f)f \mapsto \lambda\|f\|_H^2 + R_{L,P}(f)f↦λ∥f∥H2​+RL,P​(f)

over HHH.

Together with Lemma 5.1, this gives existence and uniqueness of fP,λf_{P,\lambda}fP,λ​ for every convex, PPP-integrable-Nemitski loss and every bounded-kernel RKHS — the population analogue of the representer theorem's own existence-and-uniqueness clause, and the template the representer theorem's proof explicitly reuses ("existence can be shown as in the proof of Theorem 5.2").

Formalization Note The boundedness of the kernel is rendered as a uniform bound on the diagonal, ∃M,∀x,k(x,x)≤M\exists M, \forall x, k(x,x) \le M∃M,∀x,k(x,x)≤M — the book's own notion of a bounded kernel (sup⁡xk(x,x)<∞\sup_x k(x,x) < \inftysupx​k(x,x)<∞, used to embed HHH continuously into L∞L^\inftyL∞). The convexity of LLL is not used to establish existence in the book's own remark following the proof, but is kept as a hypothesis for fidelity to the theorem's exact statement.


Retired. Retired because its loss type omitted the measurability of Definition 2.1 and the kernel measurability (disproved: no minimizer in ℓ² for a non-measurable loss); replaced by SupportVectorMachines.InfiniteSample.theorem_5_2_existence_of_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.2 (Existence of SVM solutions), p. 167: 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`. Then for all `λ > 0` there exists a general SVM
solution, i.e. a minimizer of `f ↦ λ‖f‖²_H + R_{L,P}(f)` over `H`. -/
theorem theorem_5_2_existence_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)
    (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)
    (lam : ℝ) (hlam : 0 < lam) :
    ∃ f : H, ∀ g : H, ENNReal.ofReal (lam * ‖f‖ ^ 2) + populationRisk L P (toFun f) ≤
      ENNReal.ofReal (lam * ‖g‖ ^ 2) + populationRisk L P (toFun g) := by sorry

end SupportVectorMachines.InfiniteSample
Source
Steinwart & Christmann, Support Vector Machines, Springer 2008, p. 167, Theorem 5.2
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