Theorem 3 (Bennett's inequality) —
ProvedEmpiricalBernstein.SVP.theorem_3bernsteinconcentrationp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1
Let be i.i.d. random variables with values in , and let . Then with probability at least ,
where is the variance.
This is the classical i.i.d. Bennett bound whose confidence interval scales with the unknown variance; the empirical Bernstein bound (Theorem 4) replaces by the sample variance. It is used (in both directions, by symmetry) in the proof of Theorem 15.
Formalization Note has law , a probability measure on with ; the sample is the identity on Fin n → ℝ under ; is Mathlib's variance of the identity under . is added: the page leaves unrestricted, and at Lean's makes the statement false.
Preamble
import Mathlib open MeasureTheory ProbabilityTheory
Formal statement
namespace EmpiricalBernstein.SVP
/-- Theorem 3, Bennett's inequality (arXiv:0907.3740v1, p. 2): `Z, Z_1, …, Z_n` i.i.d. with law `ν`
on `[0, 1]`; `(Z_1, …, Z_n)` is the identity on `Fin n → ℝ` under `ν^n`. -/
theorem theorem_3 (ν : Measure ℝ) [IsProbabilityMeasure ν] (hν : ν (Set.Icc (0 : ℝ) 1)ᶜ = 0)
{n : ℕ} (hn : 1 ≤ n) (δ : ℝ) (hδ : 0 < δ) :
Measure.pi (fun _ : Fin n => ν) {z | (∫ y, y ∂ν) - (1 / (n : ℝ)) * ∑ i, z i
> Real.sqrt (2 * variance (fun y : ℝ => y) ν * Real.log (1 / δ) / n)
+ Real.log (1 / δ) / (3 * n)}
≤ ENNReal.ofReal δ := by sorry
end EmpiricalBernstein.SVP
Source
Maurer, Pontil, Empirical Bernstein Bounds and Sample Variance Penalization, arXiv:0907.3740v1, Theorem 3, p. 2 (conditions of Theorem 1, p. 1)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.