Shannon.Entropy.Converse #
The converse direction: entropyNat satisfies ShannonEntropyAxioms.
Combined with the characterization theorems in Final.lean, this gives a true
"if and only if": a functional H satisfies the Shannon conditions iff it is a
positive multiple of entropyNat.
Main results #
entropyNat_relabelInvariant: relabeling outcomes preserves entropyentropyNat_grouping: two-stage decomposition identityentropyNat_shannonAxioms:ShannonEntropyAxioms entropyNat
Relabel invariance #
Uniform monotonicity #
theorem
LeanPool.Shannon1948Formalization.entropyNat_uniformMonotone :
StrictMono fun (n : ℕ+) => entropyNat (uniformPNat n)
Entropy on uniform distributions is strictly monotone in alphabet size.
Grouping #
Main theorem #
theorem
LeanPool.Shannon1948Formalization.entropyNat_shannonAxioms :
ShannonEntropyAxioms fun {α : Type} [Fintype α] => entropyNat
entropyNat satisfies the Shannon entropy conditions.
This is the converse of the characterization: the characterization shows any H
satisfying the conditions must be a positive multiple of entropyNat; this theorem
shows entropyNat itself satisfies the conditions, proving the specification is
consistent and completing the "if and only if".