For nonnegative , with and , the log-sum inequality is
with the usual extended-value conventions. Equality holds when is constant wherever .
Let and put and . For each alphabet symbol , apply the log-sum inequality to , and the corresponding values. Summing over gives
which is joint convexity in .
For , define the exponentially tilted mass function . Gibbs inequality gives
Rearranging proves
The preceding inequality supplies the upper bound on the supremum. If has full support relative to , choose ; then and the objective equals . If at some symbols, use this choice on the support of and put elsewhere. Letting gives the same value. Finiteness of guarantees that is positive on the support of . This proves the Gibbs variational principle for relative entropy.
Let be i.i.d. with mass function on a finite alphabet, and let be their empirical distribution. Sanov theorem states that for every set of probability mass functions,
and
where interior and closure use the probability-simplex topology. Thus the empirical distributions satisfy a large deviation principle with rate function .
The likelihood-ratio event depends only on the type and is
equivalently . This constraint defines a closed subset of the finite probability simplex, so Sanov's upper bound gives the exponent
It is strictly positive: the only distribution with zero divergence from is , but violates the constraint because . Compactness and continuity under full support keep the infimum away from zero. This exponent is the Chernoff information between and .
An error implies that some has likelihood at least that of . A finite union bound and part (b) therefore give
where
Every inner infimum is strictly positive by the argument in part (b), and the minimum of finitely many positive numbers is positive.
For feasible mass functions at distortion levels , the mixture has nonzero-symbol mass at most . Concavity of information entropy gives
Taking maximizing sequences proves
Regard the alphabet as the cyclic group and put . For each , subtraction by is a bijection, so
By concavity of , its monotonicity in the distortion allowance, and ,
Therefore
The previous part gives for uniform . To attain the bound, take uniform on , choose an independent error whose mass function attains , and set . Then is uniform, , and
Thus and equality holds. This is the rate-distortion function of a uniform source under Hamming distortion.
The direct codes-distributions correspondence says that every mass function on a finite alphabet admits a binary prefix code with lengths . Conversely, every binary prefix code has lengths satisfying the Kraft inequality , and hence defines the mass function .
For the distribution from part (a),
Therefore
by Gibbs inequality and .
For any fixed threshold , minimizing the excess-length probability means assigning the available strings shorter than to the most probable symbols. Repeating this exchange argument simultaneously for every threshold orders symbols by decreasing probability and assigns binary strings from shortest to longest. There are words of length , so the th word in shortlex order has length
This is the optimal one-to-one binary code.
For decreasing probabilities, the first symbols each have probability at least , so . Hence
Relabeling an arbitrary alphabet in decreasing probability order makes part (ii) pointwise:
It immediately implies
and, after taking expectations,
This reverses the prefix-code lower bound from part (b). A general one-to-one code need not decode concatenated codewords instantaneously or uniquely, so it is not constrained by Kraft's inequality.

Articles by others on the same topic (0)

There are currently no matching articles.