Concentration for independent finite samples #
The finite-PMF form of Hoeffding's inequality exposes ordinary sums and event probabilities.
Its proof specializes McDiarmid's bounded-differences inequality
(Complexity.Probability.BoundedDifferences) to sums of bounded coordinate scores via linearity
of expectation (sum_pi_mul_sum). No measurable-space choices appear in the client-facing
statements.
Main results #
Cslib.Probability.PMF.pi_sum_le_mean_sub: lower-tail concentration of bounded scores.Cslib.Probability.PMF.pi_sum_ge_mean_add: the corresponding upper-tail bound.Cslib.Probability.PMF.pi_sum_abs_sub_mean_ge: the two-sided bound.Cslib.Probability.PMF.uniform_abs_sum_div_sub_expect_ge_le: the two-sided bound for the empirical average of a[-1, 1]-valued function at independent uniform points.
References #
- W. Hoeffding, Probability inequalities for sums of bounded random variables.
- T. Holenstein, Pseudorandom Generators from One-Way Functions: A Simple Construction for Any Hardness, Section 3.3 and Proposition 1. These bounded-score estimates support repetition in entropy extraction; they do not assert the full smoothed conditional-entropy statement of that proposition.
Adapted from Probability/Concentration.lean on the cslib crypto branch at
5ff69ca93402e7c947208dc56396d6d86203ccd8, reusing Mathlib's sub-Gaussian estimates.
The sum of independent bounded scores falls below its mean only with exponentially small probability. The scores and their means are finite sums; all probabilities are ordinary PMFs.
The upper-tail counterpart of pi_sum_le_mean_sub, obtained by clamping scores outside the
support and applying HasBoundedDifferences.pi_ge_mean_add.
The two-sided finite Hoeffding bound, with an explicit factor of two for the two tails.
Hoeffding's inequality for an empirical average: the average of a function with values in
[-1, 1] at m > 0 independent uniform points is off from its mean by at least γ with
probability at most 2 exp (-m γ² / 2).