A binary uniquely decodable code assigns a finite binary word to each source symbol, so that no two distinct finite sequences of source symbols have the same concatenated encoding. This does not require the stronger prefix property. All codeword lengths are positive.
Put and let count sequences of source symbols whose encoded total length is . Expanding the product givesUnique decodability makes these encodings distinct, so , the number of binary strings of that length. There are at most possible lengths. ThereforeTaking th roots and letting proves the McMillan inequality:
Articles by others on the same topic
There are currently no matching articles.