Let X denote a particular process that produces elements of Sn, and let U denote the uniform process. Let the distribution functions of these processes be denoted by fX and u, respectively. Show that the variation distance ∥fX−u∥ is equal to
T⊂Snmaxπ∈T∑(fX(π)−u(π)).
Hint: Write the permutations in Sn in decreasing order of the difference fX(π)−u(π).