Documentation

CslibFrontier.Foundations.Combinatorics.MajorityVote.Weighted

Majority votes over independent trials #

Repeat a trial 2 r times independently, where each trial has outcome ω ∈ Ω with probability q ω and is good with probability at least 2 / 3. Then at most half of the trials are good with probability at most (8 / 9) ^ r (Cslib.sum_prod_le_of_card_filter_le). This is the weighted form of Cslib.card_filter_card_filter_le_le, where q is uniform, with the same exponential-moment proof: weight the bad outcomes by 2, so that the expected weight of a tuple is at most (4 / 3) ^ (2 r) while a tuple with at most r good entries has weight at least 2 ^ r.

Main results #

References #

theorem Cslib.sum_prod_le_of_card_filter_le {Ω : Type u_1} [Fintype Ω] [DecidableEq Ω] (q : Ω → ℝ) (hq : ∀ (ω : Ω), 0 ≤ q ω) (hsum : ∑ ω : Ω, q ω = 1) (G : Finset Ω) (hG : 2 ≤ 3 * ∑ ω ∈ G, q ω) (r : ℕ) :
∑ ω : Fin (2 * r) → Ω with {i : Fin (2 * r) | ω i ∈ G}.card ≤ r, ∏ i : Fin (2 * r), q (ω i) ≤ (8 / 9) ^ r

Majority votes over independent trials. If each trial is good with probability at least 2 / 3, then at most half of 2 r independent trials are good with probability at most (8 / 9) ^ r.