Write , , andOn the support of , define the probability mass functionFor any real length function satisfying the Kraft inequality, put and . The Gibbs inequality givesEquality holds for the ideal weighted lengthsThus the smallest average weighted description length isWhen has full support, the displayed attains this minimum. If some strings have zero probability, the same value is the infimum over finite lengths and is attained by the extended-real ideal assignment there; finite codewords of arbitrarily large length approach it.
Articles by others on the same topic
There are currently no matching articles.