Documentation

CslibFrontier.Probability.BernsteinUniform

Bernstein's inequality for uniform tuples #

For a uniformly random tuple θ : ι → G over a finite set G, the coordinates are independent. Bernstein's inequality (ProbabilityTheory.measure_sum_ge_le_bernstein_pi) then bounds the number of tuples on which a sum ∑ i, f i (θ i) of centered coordinate functions is large (ProbabilityTheory.card_filter_sum_ge_le_bernstein): if 𝔼 g, f i g ≤ 0, f i g ≤ b and 𝔼 g, f i g ^ 2 ≤ s2 i, the fraction of tuples with ε ≤ ∑ i, f i (θ i) is at most exp (-ε² / (2 (∑ i, s2 i + b ε / 3))).

Main results #

Independent uniform coordinates are uniform on tuples.

theorem ProbabilityTheory.card_filter_sum_ge_le_bernstein {ι : Type u_1} {G : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype G] [Nonempty G] [MeasurableSpace G] [DiscreteMeasurableSpace G] [LinearOrder ι] (f : ι → G → ℝ) {b ε : ℝ} {s2 : ι → ℝ} (hb : 0 ≤ b) (hσ : ∀ (i : ι), 0 ≤ s2 i) (hε : 0 ≤ ε) (hmean : ∀ (i : ι), (Finset.univ.expect fun (g : G) => f i g) ≤ 0) (hupper : ∀ (i : ι) (g : G), f i g ≤ b) (hvar : ∀ (i : ι), (Finset.univ.expect fun (g : G) => f i g ^ 2) ≤ s2 i) :
↑{θ : ι → G | ε ≤ ∑ i : ι, f i (θ i)}.card ≤ Real.exp (-ε ^ 2 / (2 * (∑ i : ι, s2 i + b * ε / 3))) * ↑(Fintype.card (ι → G))

Bernstein's inequality for uniform tuples. If the coordinate functions satisfy 𝔼 g, f i g ≤ 0, f i g ≤ b and 𝔼 g, f i g ^ 2 ≤ s2 i, then at most a fraction exp (-ε² / (2 (∑ i, s2 i + b ε / 3))) of the tuples θ have ε ≤ ∑ i, f i (θ i).