Theorem (Kraft Inequality)
A set of positive integers {l1,⋯,lM} is said to satisfy the Kraft inequality with base D (where D≥2 integer) if i=1∑MD−li≤1
Theorem (Kraft Inequality for Uniquely Decodably VLCs)
Let C be a UD D-ary n-th order VLC for a discrete source {Xi}i=1∞ with alphabet X and let l1,⋯,lM be the lengths of the code’s M=∣X∣M codewords. Then these codeword lengths satisfy the Kraft Inequality with base D i=1∑MD−li≤1