Pinsker's Inequality Relating Total Variation and KL Divergence

proved in Lean

If two distributions have small KL divergence, they are also close in total variation, the largest difference in probability they assign to any event. This turns information-theoretic bounds into concrete statistical ones.

Mark S. Pinsker; Imre Csiszár; Solomon Kullback; J. H. B. Kemperman (1964) · Ch. 11 · Method of Types & Statistics · Cover & Thomas, Lemma 11.6.1

Statement

For any two distributions $P, Q$ on a finite alphabet $\mathcal{X}$ with $P \ll Q$, $$2 \, \mathrm{TV}(P, Q)^2 \le (\ln 2) \, D(P \| Q),$$ where $\mathrm{TV}(P, Q) = \frac{1}{2} \sum_{x \in \mathcal{X}} |P(x) - Q(x)|$ and $D(P \| Q)$ is in bits.

How the proof works

Proves the binary case on Bool via the mean-value theorem on $f(t) = D(\mathrm{Bern}(p) \| \mathrm{Bern}(t)) \ln 2 - 2(p - t)^2$, then lifts to arbitrary finite alphabets in one step via Scheffé's identity and deterministic-map DPI (klDivergence_map_le).

Lean declarations (3)

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 (4)

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