NLAlib.measureReal_sum_ge_le_bernstein_of_hasLaw_uniformOn_injective
Library · theorem
Bernstein's inequality without replacement, the 1 \times 1 case: for a centred population a : n \to \mathbb{R}, \sum_i a_i = 0, with a_i \le L, L > 0, a uniformly random injection \iota : k \to n and t \ge 0, \mathbb{P}\Bigl[\sum_j a_{\iota(j)} \ge t\Bigr] \le \exp\Bigl(\frac{-t^2/2}{(\lvert k\rvert/\lvert n\rvert)\sum_i a_i^2 + Lt/3}\Bigr)\,, the bound of the i.i.d. sum with the same variance. [Hoeffding1963, Theorem 4] for the comparison of sampling with and without replacement; the 1 \times 1 case of NLAlib.measureReal_eigenvalue_zero_sum_ge_le_bernstein_of_hasLaw_uniformOn_injective.
NLAlib.measureReal_sum_ge_le_bernstein_of_hasLaw_uniformOn_injective.{u_1, u_3, u_5} {Ω : Type u_1}
{mΩ : MeasurableSpace Ω} {μ : Measure Ω} {k : Type u_3} {n : Type u_5} [Fintype k] [Fintype n]
[MeasurableSpace n] [MeasurableSingletonClass n] {ι : Ω → k → n} {L : ℝ} {a : n → ℝ}
(hι : HasLaw ι (uniformOn {f | Function.Injective f}) μ) (hL : 0 < L) (hsum : ∑ i, a i = 0)
(hle : ∀ (i : n), a i ≤ L) {t : ℝ} (ht : 0 ≤ t) :
μ.real {ω | t ≤ ∑ j, a (ι ω j)} ≤
rexp (-(t ^ 2 / 2) / (↑(Fintype.card k) / ↑(Fintype.card n) * ∑ i, a i ^ 2 + L * t / 3))Import NLAlib.Probability.MatrixConcentration.BernsteinWithoutReplacement.