Majority votes #
If at least two thirds of the elements of a finite type Ω are good, then among the tuples
of 2 r elements of Ω, those in which at most half of the entries are good make up at most an
(8 / 9) ^ r fraction. This is the error bound for repeating a bounded-error test 2 r times
independently and taking the majority answer, in counting form.
The proof is the exponential-moment (Chernoff) argument with weight 2 on the bad elements: the
weights of all tuples sum to (|good| + 2 |bad|) ^ (2 r) ≤ (4 |Ω| / 3) ^ (2 r), and a tuple with
at most r good entries has weight at least 2 ^ r.
Main results #
Cslib.card_filter_card_filter_le_le: the bound.Cslib.exists_forall_lt_card_filter_mem: for a family of at most2 ^ ntests, each passed by two thirds ofΩ, some12 (n + 1)elements ofΩcontain a majority passing each test.Cslib.exists_forall_exists_apply_mem: for a family of at most2 ^ ntests, each passed by half ofΩ, somen + 1elements ofΩcontain one passing each test; this is the exact finite-cover union bound with failure ratio1 / 2.Cslib.two_pow_mul_eight_pow_lt: the numeric bound2 ^ n * 8 ^ (6 n + 6) < 9 ^ (6 n + 6)behind the choice of12 (n + 1)repetitions.
References #
Majority votes. If at least two thirds of Ω lie in G, then at most an (8 / 9) ^ r
fraction of the 2 r-tuples have at most r entries in G.
Majority votes good for many tests at once. If each of at most 2 ^ n tests is passed by
at least two thirds of Ω, then some 12 (n + 1) elements of Ω contain more than 6 (n + 1)
elements passing each test.
One good element for many tests at once. If each of at most 2 ^ n tests is passed by at
least half of Ω, then some n + 1 elements of Ω contain one passing each test.