AWGN Channel Capacity Upper Bound and Gaussian Optimality

proved in Lean

When Gaussian noise of power N is added to a signal of power at most P, each use carries at most one half log(1 + P/N) of information, achieved exactly by a Gaussian input. This is the upper half of the famous capacity formula.

Claude E. Shannon (1948) · Ch. 8–9 · Differential Entropy & AWGN · Cover & Thomas, Theorem 9.1.1 & §9.2

Statement

For an additive white Gaussian noise channel $Y = X + Z$ with $Z \sim \mathcal{N}(0, N)$ ($N > 0$) independent of a density $X$ with finite second moment $\mathbb{E}[X^2] \le P$ and finite output differential entropy, $$h(X + Z) - h(Z) \le \frac{1}{2}\ln\left(1 + \frac{P}{N}\right),$$ with exact equality for $X \sim \mathcal{N}(0, P)$ ($P > 0$, where $X + Z \sim \mathcal{N}(0, P + N)$). Across $n$ uses with average power $\frac{1}{n}\sum_i P_i \le P$, Jensen concavity gives $\frac{1}{n}\sum_i \frac{1}{2}\ln(1 + P_i/N) \le \frac{1}{2}\ln(1 + P/N)$.

How the proof works

Constructs awgnOutputDensity via Fubini/Tonelli convolution with gaussianDensity1D, proves $\mathbb{E}[(X+Z)^2] = \mathbb{E}[X^2] + N$ without requiring zero mean, and applies diffEntropy_le_gaussian together with exact Gaussian convolution.

Lean declarations (5)

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.