Use the uniform probability measure on the symmetric group and the unnormalized Hamming distance
Let have Lipschitz constant for this distance. We will prove the one-sided concentration inequalities
Consequently for . A zero Lipschitz constant makes constant, so that case is immediate.
Let be a uniform permutation, reveal successively, and define the Doob exposure martingale
Fix the first images. For an available value , let be the conditional mean when . Given two available values , left-composition with the transposition exchanging is a bijection from completions with next image to completions with next image . It fixes the previously exposed images and changes exactly two coordinates of each complete permutation. Since conditional completions are uniform, averaging the Lipschitz condition over this pairing gives .
Thus, conditionally on the first images, has mean zero and takes values in an interval of length at most . We need the range-length version of the Hoeffding lemma: if a real random variable has mean zero and lies in an interval of length , then
Here is a proof. For , differentiation gives under the exponentially tilted probability distribution. Any distribution on an interval of length has variance at most , because its squared distance from the interval midpoint is at most . Since , integrating this second-derivative bound gives the lemma for both signs of . The same argument holds for every conditional distribution.
Apply it conditionally to each martingale difference and use the tower property of conditional expectation repeatedly:
The exponential Markov bound now gives, for ,
Choose to obtain the upper tail in the box, and apply the argument to for the lower tail. This proves concentration of Lipschitz functions on the symmetric group. Using only the bound in the absolute-increment Azuma-Hoeffding inequality would lose a factor four in the exponent; the conditional range length is what yields the constant needed in part (ii).