Shannon's AWGN Channel Coding Theorem (Operational Capacity = ½ log₂(1 + P/N))

proved in Lean

Shannon's formula: over a channel that adds Gaussian noise, with signal power P and noise power N, reliable communication is possible at any rate below one half log2(1 + P/N) bits per use and impossible above it.

Claude E. Shannon (1948) · Ch. 8–9 · Differential Entropy & AWGN · Cover & Thomas, Theorem 9.1.1; El Gamal & Kim, Theorem 3.2 & §3.3

Statement

Over the memoryless AWGN channel $Y_i = X_i + Z_i$ ($Z_i \sim \mathcal{N}(0, N)$ i.i.d., $P \ge 0$, $N > 0$) with measurable decoders, per-codeword power constraint $\sum_{i=1}^n x_i(m)^2 \le n P$, and ENNReal-valued average error probabilities: $$C_{\mathrm{op}}^{\mathrm{AWGN}}(P, N) = \frac{1}{2}\log_2\left(1 + \frac{P}{N}\right).$$ Every rate $0 \le R < \frac{1}{2}\log_2(1 + P/N)$ is operationally achievable, and no rate $R > \frac{1}{2}\log_2(1 + P/N)$ is achievable (note: average-message error here matches the maximal-error capacity of Cover & Thomas Thm. 9.1.1).

How the proof works

Proved end-to-end against Core/GaussianOperational.lean: Known/GaussianChannel.lean excludes non-measurable decoders, proves the operational converse via exact Gaussian likelihood-ratio change of measure against $\mathcal{N}(0, (P+N)I_n)$, and proves the BPSK lower bound; Known/GaussianAchievability.lean proves full achievability (isAwgnAchievable_of_lt_capacity) by fine quantization of truncated Gaussian inputs and outputs into finite DMCs and invoking Bridge.shannon_channel_coding_achievability, yielding exact operational equality awgnOperationalCapacity_eq.

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

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