Documentation

CslibFrontier.Foundations.Combinatorics.Hypergeometric.Hoeffding

Additive Exponential Concentration for Sampling Without Replacement #

Symmetric exponential moment-generating function dominance of the hypergeometric distribution (uniform K-element subsets of a finite domain) by independent Bernoulli trials, together with the resulting additive exponential upper-tail bound.

Main results #

Shared symmetric exponential MGF expansion and dominance #

theorem Cslib.Hypergeometric.hypergeometric_mgf_le_binomial {X : Type u_1} [Fintype X] [DecidableEq X] {K : ℕ} (hK : K ≤ Fintype.card X) (hN : 0 < Fintype.card X) (A : Finset X) {t : ℝ} (ht : 0 ≤ t) :
∑ S ∈ Finset.powersetCard K Finset.univ, Real.exp (t * ↑(A ∩ S).card) ≤ ↑(Finset.powersetCard K Finset.univ).card * (1 - ↑K / ↑(Fintype.card X) + ↑K / ↑(Fintype.card X) * Real.exp t) ^ A.card

Exponential MGF comparison for sampling without replacement (marked-set exponent): for any population X of size N > 0, sample size K ≤ N, fixed subset A ⊆ X, and t ≥ 0, the sum of exp (t * |A ∩ S|) over all K-element subsets S is at most C(N, K) * (1 - K / N + (K / N) * exp t) ^ |A|.

theorem Cslib.Hypergeometric.hypergeometric_mgf_le_binomial_sample {X : Type u_1} [Fintype X] [DecidableEq X] {K : ℕ} (hK : K ≤ Fintype.card X) (hN : 0 < Fintype.card X) (A : Finset X) {t : ℝ} (ht : 0 ≤ t) :
∑ S ∈ Finset.powersetCard K Finset.univ, Real.exp (t * ↑(A ∩ S).card) ≤ ↑(Finset.powersetCard K Finset.univ).card * (1 - ↑A.card / ↑(Fintype.card X) + ↑A.card / ↑(Fintype.card X) * Real.exp t) ^ K

Exponential MGF comparison for sampling without replacement (sample-size exponent): for any population X of size N > 0, sample size K ≤ N, fixed subset A ⊆ X, and t ≥ 0, the sum of exp (t * |A ∩ S|) over all K-element subsets S is at most C(N, K) * (1 - |A| / N + (|A| / N) * exp t) ^ K.

Exponential upper-tail inequality #

theorem Cslib.Hypergeometric.hypergeometric_upper_tail_le {X : Type u_1} [Fintype X] [DecidableEq X] {K : ℕ} (hK : K ≤ Fintype.card X) (hN : 0 < Fintype.card X) (A : Finset X) {η : ℝ} (hη : 0 ≤ η) :
↑{S ∈ Finset.powersetCard K Finset.univ | (↑K / ↑(Fintype.card X) + η) * ↑A.card ≤ ↑(A ∩ S).card}.card ≤ ↑(Finset.powersetCard K Finset.univ).card * Real.exp (-2 * η ^ 2 * ↑A.card)

Hypergeometric exponential upper tail inequality: for K ≤ N = |X| with N > 0, any subset A ⊆ X, and any deviation η ≥ 0, the fraction of K-element subsets S satisfying |A ∩ S| ≥ (K / N + η) * |A| is at most exp (-2 * η ^ 2 * |A|).