Documentation

CslibFrontier.Foundations.Combinatorics.Hypergeometric.Chernoff

Multiplicative Chernoff Bounds for Hypergeometric Sampling #

This module establishes exponential-moment dominance and the multiplicative upper-tail Chernoff inequality for uniform sampling without replacement from a finite universe.

Main results #

theorem Cslib.Hypergeometric.hypergeometric_sum_exp_le {α : Type u_1} [Fintype α] [DecidableEq α] {ℓ : ℕ} (S : Finset α) (hℓ : ℓ ≤ Fintype.card α) (hn : 0 < Fintype.card α) {t : ℝ} (ht : 0 ≤ t) :
∑ T ∈ Finset.powersetCard ℓ Finset.univ, Real.exp (t * ↑(S ∩ T).card) ≤ ↑((Fintype.card α).choose ℓ) * Real.exp (↑ℓ / ↑(Fintype.card α) * ↑S.card * (Real.exp t - 1))

Exponential-moment dominance for sampling without replacement: for any finite universe α of size n > 0, ℓ ≤ n, S ⊆ univ, and t ≥ 0, ∑_{T ∈ powersetCard ℓ univ} exp (t * |S ∩ T|) ≤ n.choose ℓ * exp (μ * (exp t - 1)), where μ = (ℓ / n) * |S|.

theorem Cslib.Hypergeometric.without_replacement_chernoff {α : Type u_1} [Fintype α] [DecidableEq α] {ℓ : ℕ} (S : Finset α) (hn : 0 < Fintype.card α) (hℓ : ℓ ≤ Fintype.card α) {δ : ℝ} (hδ : 0 ≤ δ) :
have Ω := Finset.powersetCard ℓ Finset.univ; have μ := ↑ℓ / ↑(Fintype.card α) * ↑S.card; ↑{T ∈ Ω | (1 + δ) * μ ≤ ↑(S ∩ T).card}.card ≤ ↑((Fintype.card α).choose ℓ) * Real.exp (-(δ ^ 2 * μ / (2 + δ)))

Multiplicative upper-tail Chernoff bound for sampling without replacement: for a finite universe α of size n > 0, ℓ ≤ n, S ⊆ univ, μ = (ℓ / n) * |S|, and δ ≥ 0, the number of ℓ-element subsets T ⊆ univ with |S ∩ T| ≥ (1 + δ) * μ is at most n.choose ℓ * exp (-δ² μ / (2 + δ)).