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 the, proof of, proof, general and/or case:
“From whichever angle one looks at it, the application of racial theories remains a striking proof of the lowered demands of public opinion upon the purity of critical judgment.”
—Johan Huizinga (18721945)
“A short letter to a distant friend is, in my opinion, an insult like that of a slight bow or cursory salutationa proof of unwillingness to do much, even where there is a necessity of doing something.”
—Samuel Johnson (17091784)
“To cease to admire is a proof of deterioration.”
—Charles Horton Cooley (18641929)
“We all have known
Good critics, who have stamped out poets hopes;
Good statesmen, who pulled ruin on the state;
Good patriots, who, for a theory, risked a cause;
Good kings, who disembowelled for a tax;
Good Popes, who brought all good to jeopardy;
Good Christians, who sat still in easy-chairs;
And damned the general world for standing up.
Now, may the good God pardon all good men!”
—Elizabeth Barrett Browning (18061861)
“When trying a case [the famous judge] L. Cassius never failed to inquire Who gained by it? Mans character is such that no one undertakes crimes without hope of gain.”
—Marcus Tullius Cicero (10643 B.C.)