Hoeffding's inequality for independent Hilbert-space-valued random variables
ProvedSupportVectorMachines.Concentration.corollary_6_15_hoeffding_hilbert_spaceThis is Corollary 6.15 of Steinwart & Christmann, Support Vector Machines (Springer 2008, p. 217), an immediate consequence of Theorem 6.14 by centering, used later in the book (§6.4) to derive an oracle inequality for SVMs.
Let be a probability space, a separable Hilbert space, and . Let be independent -valued random variables with for every (no mean-zero assumption is needed — the statement centers each itself). Then, for every ,
Unlike Theorem 6.14, no variance bound is assumed or needed: bounding by (from the triangle inequality) and its variance by (from ) and applying Theorem 6.14 to the recovers the stated bound directly.
Formalization Note The centering term is written as the Bochner
integral ∫ ω', ξ i ω' ∂P; no separate mean-zero hypothesis is assumed, matching the book's
own statement, which centers the inside the claim rather than assuming they are
already centered.
import Mathlib open MeasureTheory ProbabilityTheory
namespace SupportVectorMachines.Concentration
/-- Corollary 6.15 (Hoeffding's inequality in Hilbert spaces), p. 217: let `(Ω, A, P)` be a
probability space, `H` be a separable Hilbert space, and `B > 0`. Let `ξ₁,…,ξₙ : Ω → H` be
independent `H`-valued random variables satisfying `‖ξᵢ‖_∞ ≤ B` for all `i = 1,…,n`. Then, for
all `τ > 0`,
`P(‖(1/n) ∑ᵢ (ξᵢ - E ξᵢ)‖_H ≥ B√(2τ/n) + B√(1/n) + 4Bτ/(3n)) ≤ e^{-τ}`. -/
theorem corollary_6_15_hoeffding_hilbert_space {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
[IsProbabilityMeasure P] {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℝ H]
[CompleteSpace H] [MeasurableSpace H] [BorelSpace H] [TopologicalSpace.SeparableSpace H]
(B : ℝ) (hB : 0 < B) (n : ℕ) (hn : 0 < n) (ξ : Fin n → Ω → H)
(hmeas : ∀ i, Measurable (ξ i)) (hindep : iIndepFun ξ P)
(hbound : ∀ i, ∀ᵐ ω ∂P, ‖ξ i ω‖ ≤ B) (τ : ℝ) (hτ : 0 < τ) :
P.real {ω | B * Real.sqrt (2 * τ / n) + B * Real.sqrt (1 / n) + 4 * B * τ / (3 * n) ≤
‖(1 / (n : ℝ)) • ∑ i, (ξ i ω - ∫ ω', ξ i ω' ∂P)‖} ≤ Real.exp (-τ) := by sorry
end SupportVectorMachines.Concentration
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.