Documentation

CslibFrontier.Probability.MajorityVote

Majority votes over a uniform sample space at arbitrary advantage #

Generalizes Cslib.card_filter_card_filter_le_le (the (8 / 9) ^ r bound for advantage 2 / 3) to any error fraction ε < 1 / 2, deriving the counting bound directly from the PMF majority tail bound Cslib.Probability.PMF.iid_card_ge_le.

Main results #

References #

theorem Cslib.card_filter_card_filter_le_of_err_lt_half {Ω : Type u_1} [Fintype Ω] [DecidableEq Ω] (G : Finset Ω) {ε : ℝ} (hε₀ : 0 ≤ ε) (hε₁ : ε < 1 / 2) (hG : (1 - ε) * ↑(Fintype.card Ω) ≤ ↑G.card) (r : ℕ) :
↑{ω : Fin (2 * r) → Ω | {i : Fin (2 * r) | ω i ∈ G}.card ≤ r}.card ≤ (4 * ε * (1 - ε)) ^ r * ↑(Fintype.card Ω) ^ (2 * r)

Majority-vote counting bound for any advantage ε < 1 / 2. If at least (1 - ε) * |Ω| elements of Ω lie in G (0 ≤ ε < 1 / 2), then among the 2 r-tuples over Ω, those with at most r entries in G make up at most a (4 * ε * (1 - ε)) ^ r fraction.