Bennett's inequality for independent variables —
ProvedEmpiricalBernstein.SVP.bennett_independentLet and let be a vector of independent, not necessarily identically distributed, random variables with values in . Let and let be the sample mean. Then for every , with probability at least ,
This is the form of Bennett's inequality recalled in the proof of Theorem 11 (the paper cites McDiarmid's survey, its reference [8], for the non-identically distributed case); it is combined there with and Theorem 10. The same statement applied to gives the reverse direction used in Lemma 14.
Formalization Note independently, each a probability measure on with ; the sample is the identity on Fin n → ℝ under , and "with probability at least " is written as the product measure of the complementary (strict) event being at most . is added: at Lean's would make the statement false.
import Mathlib import Definitions.Def_VarianceRegularization_Expansion_empMean open MeasureTheory ProbabilityTheory VarianceRegularization.Expansion
namespace EmpiricalBernstein.SVP
/-- Bennett's inequality for independent, not necessarily identically distributed, `[0,1]`-valued
variables, as used in the proof of Theorem 11 (arXiv:0907.3740v1, p. 4), with
`W = (1/n) ∑ 𝕍X_i`. -/
theorem bennett_independent {n : ℕ} (hn : 1 ≤ n) (μs : Fin n → Measure ℝ)
[∀ i, IsProbabilityMeasure (μs i)] (hμs : ∀ i, μs i (Set.Icc (0 : ℝ) 1)ᶜ = 0)
(δ : ℝ) (hδ : 0 < δ) :
Measure.pi μs {x | (∫ z, empMean z ∂(Measure.pi μs))
> empMean x
+ Real.sqrt (2 * ((1 / (n : ℝ)) * ∑ i, variance (fun y : ℝ => y) (μs i))
* Real.log (1 / δ) / n)
+ Real.log (1 / δ) / (3 * n)}
≤ ENNReal.ofReal δ := by sorry
end EmpiricalBernstein.SVP
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.