Gaussian Differential Entropy, Scaling, and Maximum Entropy Theorem

proved in Lean

Among all continuous distributions with a given mean power (second moment), the Gaussian has the largest differential entropy, equal to one half log(2πe times the power). This explains the central role of Gaussians in channel and coding problems.

Claude E. Shannon (1948) · Ch. 8–9 · Differential Entropy & AWGN · Cover & Thomas, Theorems 8.4.1, 8.6.3, 8.6.4 & 8.6.5

Statement

For a centered Gaussian $\mathcal{N}(0, v)$ ($v > 0$), its differential entropy and entropy power are $$h(\mathcal{N}(0, v)) = \frac{1}{2}\ln(2\pi e v), \qquad N(\mathcal{N}(0, v)) = v,$$ and for any 1D density $f$ with finite differential entropy and second moment $\mathbb{E}[X^2] \le v$, $$h(f) \le \frac{1}{2}\ln(2\pi e v).$$ Moreover, $h(aX + b) = h(X) + \ln|a|$, and for product Gaussians in $\mathbb{R}^d$, $h(\mathcal{N}(0, \mathrm{diag}(v))) = \frac{1}{2}\sum_{i=1}^d \ln(2\pi e v_i)$.

How the proof works

The maximum-entropy bound is Gibbs' inequality in disguise: the divergence from any density to the Gaussian with the same second moment is nonnegative. Bridges InfoTheory.Core.Entropy.gaussianPdf1D to Mathlib's ProbabilityTheory.gaussianPDFReal and variance_fun_id_gaussianReal, and proves maximum entropy pointwise from Mathlib's InformationTheory.klFun_nonneg.

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.

Related open problems (7)

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