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 #
Cslib.card_filter_card_filter_le_of_err_lt_half: if at least(1 - ε) * |Ω|elements ofΩlie inG(0 ≤ ε < 1 / 2), at most a(4 * ε * (1 - ε)) ^ rfraction of2 r-tuples overΩhave at mostrentries inG.
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 : ℕ) :
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.