Since is uniform on ,
For , the supremum in the Legendre transform of a cumulant-generating function is attained where
Substitution gives the Rademacher large-deviation rate function
for , with ; it is for .