Part 1. For s≥0, by
Markov's inequality applied to the
nonnegative variable esnXˉ and independence,
Pr[Xˉ≥a]=Pr[esnXˉ≥esna]≤e−sna(EesX)n=e−n(sa−lnEesX).
This holds for every s≥0; take the infimum of the right-hand side.
Part 2. Fix s≥0. Because Xi∈{0,1}, esXi=1+(es−1)Xi.
Expanding the product over i and using ∏i∈TXi=1[Xi=1 ∀i∈T],
Ees∑iXi=T⊆{1..n}∑(es−1)∣T∣Pr[Xi=1 ∀i∈T]≤T∑((es−1)p)∣T∣=(1−p+pes)n,
where the inequality uses the hypothesis and es−1≥0. Markov's inequality gives
Pr[i∑Xi≥qn]≤exp(−n[sq−ln(1−p+pes)]).
If q<1, choose es=p(1−q)q(1−p), which is ≥1 because q≥p.
Then 1−p+pes=1−q1−p and
sq−ln(1−p+pes)=qlnp(1−q)q(1−p)−ln1−q1−p=qlnpq+(1−q)ln1−p1−q=De(q∥p).
If q=1 the event is {Xi=1 ∀i}, whose probability is at most pn by the
hypothesis with T={1,…,n}, and pn=e−nDe(1∥p). For independent
Xi with Pr[Xi=1]≤p the hypothesis holds because the joint probability factors.
The lower-tail identity De(1−q∥1−p)=De(q∥p) is immediate from the
formula. This is the standard exponential-moment argument, written out in full;
Impagliazzo and Kabanets give an alternative,
combinatorial proof of part 2.