Proof of The General Case
Consider the generating function in inverse of x for the code S
in which —the coefficient in front of —is the number of distinct codewords of length . Here min is the length of the shortest codeword in S, and max is the length of the longest codeword in S.
For any positive integer m consider the m-fold product Sm, which consists of all the words of the form, where are indices between 1 and n. Note that, since S was assumed to uniquely decodable, if, then . In other words, every word in comes from a unique sequence of codewords in . Because of this property, one can compute the generating function for from the generating function as
Here, similarly as before, —the coefficient in front of in —is the number of words of length in . Clearly, cannot exceed . Hence for any positive x
Substituting the value x = r we have
for any positive integer . The left side of the inequality grows exponentially in and the right side only linearly. The only possibility for the inequality to be valid for all is that . Looking back on the definition of we finally get the inequality.
Read more about this topic: Kraft's Inequality
Famous quotes containing the words proof of, proof, general and/or case:
“The proof of a poet is that his country absorbs him as affectionately as he has absorbed it.”
—Walt Whitman (18191892)
“If any doubt has arisen as to me, my country [Virginia] will have my political creed in the form of a Declaration &c. which I was lately directed to draw. This will give decisive proof that my own sentiment concurred with the vote they instructed us to give.”
—Thomas Jefferson (17431826)
“No doubt, the short distance to which you can see in the woods, and the general twilight, would at length react on the inhabitants, and make them savages. The lakes also reveal the mountains, and give ample scope and range to our thought.”
—Henry David Thoreau (18171862)
“Massachusetts sat waiting Mr. Lorings decision.... It was really the trial of Massachusetts. Every moment that she hesitated to set this man free, every moment that she now hesitates to atone for her crime, she is convicted. The commissioner on her case is God; not Edward G. God, but simply God.”
—Henry David Thoreau (18171862)



