Counting positive answers among i.i.d. trials (EPI-3) #
The probabilistic half of the proofs of Krivelevich–Sudakov (The phase transition in random
graphs: a simple proof, Random Structures & Algorithms 43 (2013), arXiv:1201.6529): Lemma 1,
part 2, with the Chernoff bounds of FND-3 (Dynamics.Chernoff) in place of Chebyshev's inequality,
as suggested in the paper's Discussion, item 1.
The trials are x : Fin m → Bool under independent (fun _ => bernoulli p), listed as
List.ofFn x, so that ((List.ofFn x).take t).count true is the number of successes among the
first t trials (count_take_ofFn).
prob_count_take_le,prob_count_take_ge: lower and upper tails for the firstttrials.prob_count_take_far: Lemma 1, part 2.Good,prob_not_good_le: the typical properties used in the proof of Theorem 2 (the counts at timest₁andN₀, and at every time between them, are close to their means).pow_three_mul_exp_neg_le:x³ e^{-κx} ≤ 6 / κ³, to turn exponential bounds intoC / n.
Krivelevich–Sudakov, Lemma 1, part 2, with the Chernoff bounds (FND-3) instead of
Chebyshev's inequality, as in their Discussion, item 1: among the first N₀ of m i.i.d.
Bernoulli(p) trials, the number of successes deviates from its mean N₀ p by at least δ N₀ p
with probability at most 2 exp (-δ² N₀ p / 3).
The typical behaviour of the answers used in the proof of Theorem 2: the numbers of positive
answers among the first N₀ and the first t₁ are at most (1 + δ) times their means, and
among the first t at least (1 - δ) times the mean for every t₁ ≤ t ≤ N₀.
Equations
- One or more equations did not get rendered due to their size.