The Neyman-Pearson decision region accepting is
with randomization on the boundary when needed. If is the type of the observed string, then
Thus the equivalent relative entropy form is
Let
The minimum exists because the probability simplex is compact. Let be the information projection of onto the closed convex set . Its Pythagorean inequality says that every satisfies
For a string of type , this gives
Summing over the decision region proves the exact bound
Here . The method of types gives at most possible values of type, and a type class has
Every type in has , so
The polynomial prefactor has zero exponential rate. Therefore