Every Decipherable code satisfies Kraft’s inequality.
Proof
Let
with word lengths
Let
where
(because any word of length
and there is
Then
Taking
Corollary
A Decipherable code with prescribed word lengths exists
if and only if
there exists a Prefix-Free Code with the same word lengths.