The areas / V21. Dynamics, ergodic theory and information theory
Mathlib.InformationTheory.Coding.KraftMcMillan
1 declarations and 1 deprecated aliases. Mathlib docs · Source
theorem InformationTheory.IsUniquelyDecodable.finsetSum_one_div_card_pow_length_le_one E1 #
∀ {α : Type u_1} {S : Finset (List α)} [inst : Fintype α] [Nonempty α],
InformationTheory.IsUniquelyDecodable ↑S → ∑ w ∈ S, (1 / ↑(Fintype.card α)) ^ w.length ≤ 1
Kraft-McMillan Inequality: If S is a finite uniquely decodable code,
then Σ D^{-|w|} ≤ 1.
Deprecated aliases
| Name | New name | Since |
|---|---|---|
InformationTheory.kraft_mcmillan_inequality | InformationTheory.IsUniquelyDecodable.finsetSum_one_div_card_pow_length_le_one | 2026-08-16 |