Expose the independent coordinates in order and let , . This is the Doob exposure martingale. For fixed earlier coordinates, write . The remaining coordinates have the same distribution for all , and the coordinate-change hypothesis gives . Thus the conditional range of has length at most , and its conditional mean is zero.
Here is the Hoeffding lemma needed for the sharp constant. If a mean-zero random variable lies in an interval of length , set . Its second derivative is the variance under the exponentially tilted law. Under any such law, variance is at most , by comparison with squared distance from the interval midpoint. Since , integration gives for all real . Applying this conditionally and iterating the tower property yields
The exponential Markov bound now gives
For choose . Apply the same argument to and add the two tails, proving the McDiarmid inequality
For , is constant almost surely, and every positive-deviation probability is zero.
For the neighbourhood application, the ambient points must be elements of , equivalently binary strings; the printed is a type error. An -element ambient set could not generally satisfy the stated exponential-size lower bound. Use the uniform product probability space on the Boolean cube and set . Flipping one coordinate changes this Hamming distance by at most one, so . Put . Since , the proved two-sided inequality gives, for ,
Consequently ; the same bound is immediate if . Therefore
This proves the Boolean cube expansion from bounded differences:
The meaningful range is ; real radii are interpreted by the inequality on the integer-valued Hamming distance. The converted TeX's final is another corruption: the original PDF has .