Data Processing Inequality for Maps, Channels, and Mutual Information

proved in Lean

Passing data through any function or noisy channel can never increase relative entropy or mutual information. In other words, no post-processing, however clever, can create information that is not already there.

Claude E. Shannon; Imre Csiszár (1948) · Ch. 2 · Entropy, Divergence & Inequalities · Cover & Thomas, Theorem 2.8.1; bridged to Mathlib.InformationTheory.KullbackLeibler.DataProcessing

Statement

Processing data cannot increase relative entropy or mutual information:

How the proof works

Classically this follows from the chain rule for relative entropy: pushing both distributions through the same channel can only merge evidence that distinguishes them, never create it. Bridges InfoTheory.Core.DMC to Mathlib's Markov kernels (ProbabilityTheory.Kernel), pulls back InformationTheory.klDiv_map_le and klDiv_comp_right_le, and derives the mutual-information DPI by applying channel DPI to the lifted channel $\mathrm{id} \times W$ on $P_{XY}$ vs. $P_X \times P_Y$.

Lean declarations (4)

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

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