Lemma 9.2 — concentration of Hilbert-space-valued sample means
ProvedSupportVectorMachines.Regression.lemma_9_2_concentration_of_hilbert_space_valued_meansThis is Lemma 9.2 of Steinwart & Christmann, Support Vector Machines (Springer 2008, p. 336), this mission's goal: the concentration inequality the book uses "to bound the probability of for " inside the proof of Theorem 9.1, the chapter's main SVM-regression consistency theorem.
Let be a measurable space, a distribution on , a separable Hilbert space, and measurable with for some . Write where (equivalently ). Then there is a universal constant such that, for every and ,
The lemma is a genuine generalization of the classical Chebyshev/Bernstein-type tail bound to Hilbert-space-valued sample means, phrased purely in terms of a single moment condition (no exponential-moment/sub-Gaussian assumption); its proof combines Markov's inequality with the two milestones of this mission (the symmetrization inequality, Theorem A.8.1, and Kahane's inequality, Theorem A.8.3) and an explicit second-moment computation for Rademacher sums (the book's Eq. (9.4), an unnumbered consequence of the two theorems, not separately formalized here per Hard Rule 5).
Formalization Note (the book's -fold product distribution on ) is
MeasureTheory.Measure.pi (fun _ : Fin n => P) : Measure (Fin n → Z), and is
Fin n → Z. The quantifier for the universal constant is ∃ c, 0 < c ∧ ∀ ε, 0 < ε → ∀ n, 1 ≤ n → …, with ∃ c placed before both ∀ ε and ∀ n, matching the book's "there exists a
universal constant ... such that, for all and all " exactly
(Trap 8 guard: depends only on , never on or ). is substituted
directly as min (1/2) (1 - 1/q) rather than introduced via a separate q' variable, since
1/q + 1/q' = 1 pins down q' = q/(q-1) uniquely and 1/q' = 1 - 1/q follows immediately —
an algebraic simplification, not a change of content.
import Mathlib open MeasureTheory TopologicalSpace
namespace SupportVectorMachines.Regression
/-- Lemma 9.2, p. 336: let `Z` be a measurable space, `P` a distribution on `Z`, `H` a separable
Hilbert space, and `g : Z → H` measurable with `‖g‖_q := (E_P‖g‖^q_H)^{1/q} < ∞` for some
`q ∈ (1,∞)`. Write `q* := min{1/2, 1/q'}` where `1/q + 1/q' = 1`, i.e. `q* = min{1/2, 1 - 1/q}`.
Then there is a universal constant `c_q > 0` such that, for all `ε > 0` and `n ≥ 1`,
`P^n{(z₁,…,zₙ) : ‖(1/n)∑ᵢg(zᵢ) - E_Pg‖_H ≥ ε} ≤ c_q (‖g‖_q / (ε n^{q*}))^q`. -/
theorem lemma_9_2_concentration_of_hilbert_space_valued_means
{Z : Type*} [MeasurableSpace Z] (P : Measure Z) [IsProbabilityMeasure P]
{H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H]
[MeasurableSpace H] [BorelSpace H] [SeparableSpace H]
(g : Z → H) (hg : Measurable g)
(q : ℝ) (hq : 1 < q) (hgInt : Integrable (fun z => ‖g z‖ ^ q) P) :
∃ c : ℝ, 0 < c ∧ ∀ ε : ℝ, 0 < ε → ∀ n : ℕ, 1 ≤ n →
(Measure.pi (fun _ : Fin n => P))
{z : Fin n → Z | ε ≤ ‖(n : ℝ)⁻¹ • (∑ i, g (z i)) - ∫ z', g z' ∂P‖} ≤
ENNReal.ofReal
(c * ((∫ z, ‖g z‖ ^ q ∂P) ^ (1 / q) /
(ε * (n : ℝ) ^ (min (1 / 2 : ℝ) (1 - 1 / q)))) ^ q) := by sorry
end SupportVectorMachines.Regression
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.