Documentation

CslibFrontier.Probability.HoeffdingStep

Hoeffding's centered moment-generating function bound on PMFs #

If a real score g : α → ℝ lies in [a, b] on the support of a discrete distribution q : PMF α, its centered exponential moment at any t : ℝ is at most exp (t² (b - a)² / 8). Equip α with the discrete measurable space ⊤ so the support bound holds almost everywhere for q.toMeasure. This gives the hypotheses of Mathlib's ProbabilityTheory.hasSubgaussianMGF_of_mem_Icc without requiring [Fintype α] or a caller-supplied [MeasurableSpace α].

Main results #

References #

theorem Cslib.Probability.PMF.tsum_mul_exp_sub_mean_le {α : Type u_1} (q : PMF α) (g : α → ℝ) {a b : ℝ} (hg : ∀ x ∈ q.support, g x ∈ Set.Icc a b) (t : ℝ) :
∑' (x : α), q x * ENNReal.ofReal (Real.exp (t * (g x - ∑' (y : α), (q y).toReal * g y))) ≤ ENNReal.ofReal (Real.exp (t ^ 2 * (b - a) ^ 2 / 8))

Hoeffding's lemma for a discrete PMF: if g takes values in [a, b] on q.support, its centered exponential moment at t is at most exp (t² (b - a)² / 8).

theorem Cslib.Probability.PMF.sum_mul_exp_sub_mean_le {α : Type u_1} [Fintype α] (q : PMF α) (g : α → ℝ) {a b : ℝ} (hg : ∀ x ∈ q.support, g x ∈ Set.Icc a b) (t : ℝ) :
∑ x : α, (q x).toReal * Real.exp (t * (g x - ∑ y : α, (q y).toReal * g y)) ≤ Real.exp (t ^ 2 * (b - a) ^ 2 / 8)

Finite-type specialization of tsum_mul_exp_sub_mean_le, written with ordinary Finset sums.