← All solved theorems
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.
theorem awgnOutputDensity_secondMoment (f : Density 1) (hm2 : HasFiniteSecondMoment f)
{N : ℝ} (hN : 0 < N) :
∫ y : Fin 1 → ℝ, (y 0) ^ 2 * (awgnOutputDensity f N hN).pdf y =
(∫ x : Fin 1 → ℝ, (x 0) ^ 2 * f.pdf x) + N := by …
theorem awgn_mutualInfo_le_capacity (f : Density 1) {P N : ℝ} (hP : 0 ≤ P) (hN : 0 < N)
(hm2 : HasFiniteSecondMoment f)
(hY : HasFiniteDiffEntropy (awgnOutputDensity f N hN))
(hpow : ∫ x : Fin 1 → ℝ, (x 0) ^ 2 * f.pdf x ≤ P) :
diffEntropy (awgnOutputDensity f N hN) - diffEntropy (gaussianDensity1D N hN) ≤
(1 / 2 : ℝ) * Real.log (1 + P / N) := by …
theorem awgnOutputDensity_gaussian {P N : ℝ} (hP : 0 < P) (hN : 0 < N) :
awgnOutputDensity (gaussianDensity1D P hP) N hN =
gaussianDensity1D (P + N) (add_pos hP hN) := by …
theorem awgn_mutualInfo_gaussian {P N : ℝ} (hP : 0 < P) (hN : 0 < N) :
diffEntropy (awgnOutputDensity (gaussianDensity1D P hP) N hN) -
diffEntropy (gaussianDensity1D N hN) =
(1 / 2 : ℝ) * Real.log (1 + P / N) := by …
theorem awgn_multiletter_power_jensen {n : ℕ} (hn : 0 < n) {N P : ℝ} (hN : 0 < N)
(p : Fin n → ℝ) (hp : ∀ i, 0 ≤ p i)
(havg : (1 / (n : ℝ)) * ∑ i : Fin n, p i ≤ P) :
(1 / (n : ℝ)) * ∑ i : Fin n, (1 / 2 : ℝ) * Real.log (1 + p i / N) ≤
(1 / 2 : ℝ) * Real.log (1 + P / N) := by …
Related open problems (4)
Open problems that build on, generalize, or are analogous to this theorem.