Csiszár's Sum Identity

proved in Lean

An exact identity between two sums of conditional mutual informations over a block of symbols: one pairs each X symbol with future Y symbols, the other pairs each Y symbol with past X symbols. It is a key step in many converses.

Imre Csiszár and János Körner (1978) · Ch. 2 · Entropy, Divergence & Inequalities · El Gamal & Kim, §2.3; Csiszár & Körner, Lemma 7

Statement

For any blocklength $n$ and joint distribution on $(X^n, Y^n)$, $$\sum_{i=1}^n I(X_i; Y_{i+1}^n \mid X^{i-1}) = \sum_{i=1}^n I(X^{i-1}; Y_i \mid Y_{i+1}^n).$$

How the proof works

Proved by expanding each conditional mutual information into subset entropies and telescoping via prefixVec and suffixVec equivalences.

Lean declarations (1)

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.

Related open problems (8)

Open problems that build on, generalize, or are analogous to this theorem.