← All solved theorems
Chain Rules, Strong Subadditivity, and Shannon Polymatroid Inclusion
proved in Lean
The uncertainty of a pair of variables splits into the uncertainty of one plus what remains given it, and conditional mutual information is never negative. Hence every list of joint entropies obeys the basic Shannon inequalities (it is a polymatroid).
Claude E. Shannon; Fujishige; Raymond W. Yeung (1978) · Ch. 2 · Entropy, Divergence & Inequalities · Cover & Thomas, §§2.2–2.6; Yeung, Ch. 13
Statement
For any finite joint distributions:
- Chain rule: $H(X, Y) = H(Y) + H(X \mid Y)$ with $H(X \mid Y) \ge 0$ and $H(f(X)) \le H(X)$.
- Strong subadditivity: $I(X; Y \mid Z) \ge 0$, with equality iff $X - Z - Y$.
- Every entropic vector and every almost-entropic vector is a polymatroid: $\Gamma^*_n \subseteq \operatorname{cl}(\Gamma^*_n) \subseteq \Gamma_n$.
How the proof works
Strong subadditivity is proved by identifying $I(X; Y \mid Z) = D(P_{XYZ} \| P_{XZ} P_{YZ} / P_Z)$ and invoking Gibbs' inequality. Submodularity of subset entropy vectors follows immediately by partitioning $S \cup T$ into $(S \setminus T, T \setminus S, S \cap T)$, and closure stability in Known/EntropyRegion.lean lifts this to $\operatorname{cl}(\Gamma^*_n) \subseteq \Gamma_n$.
Lean declarations (7)
The key theorems in the Lean library. Each is compiled with Lean 4, uses only the standard axioms propext, Classical.choice and Quot.sound, and is re-checked by leanchecker. Click a name to see the full proof on GitHub.
theorem shannonEntropy_chain_rule (P : ProbDist (α × β)) :
shannonEntropy P = shannonEntropy P.snd + condEntropy P := by …
theorem shannonEntropy_map_le (f : α → β) (P : ProbDist α) :
shannonEntropy (P.map f) ≤ shannonEntropy P := by …
theorem condEntropy_nonneg (P : ProbDist (α × β)) : 0 ≤ condEntropy P := by …
theorem condMutualInfo_nonneg (P : ProbDist (α × β × γ)) : 0 ≤ condMutualInfo P := by …
theorem condMutualInfo_eq_zero_iff (P : ProbDist (α × β × γ)) :
condMutualInfo P = 0 ↔ P = condIndepDist P := by …
theorem subsetEntropyVec_isPolymatroid {n k : ℕ} (P : ProbDist (Fin n → Fin k)) :
IsPolymatroid n (subsetEntropyVec P) := by …
theorem almostEntropic_isPolymatroid {n : ℕ} {h : Finset (Fin n) → ℝ}
(hae : InAlmostEntropicCone n h) : IsPolymatroid n h := by …
Related open problems (5)
Open problems that build on, generalize, or are analogous to this theorem.