← All solved theorems
De Bruijn's Identity, Stam's Inequality, Shannon's 1D Entropy Power Inequality & Gaussian BC Converse
proved in Lean
Adding independent continuous random variables increases entropy power, a volume-like measure of spread, at least additively (the entropy power inequality). The proof links entropy to Fisher information via Gaussian smoothing and yields the Gaussian broadcast channel converse.
Claude E. Shannon; A. J. Stam; Nelson M. Blachman; Patrick P. Bergmans (1959) · Ch. 8–9 · Differential Entropy & AWGN · Cover & Thomas, Theorems 17.7.1, 17.7.2, 17.8.1 & §15.6.2; Blachman (1965); Bergmans (1974)
Statement
For independent 1D continuous random variables $X, Y$ with finite second moments and differential entropies:
- Cramér–Rao Inequality: $1 / J(X) \le \mathrm{Var}(X)$.
- Stam's Fisher Information Inequality: $\frac{1}{J(X + Y)} \ge \frac{1}{J(X)} + \frac{1}{J(Y)}$ (and $J(X + Y) \le \alpha^2 J(X) + (1 - \alpha)^2 J(Y)$).
- De Bruijn's Identity: For $Z \sim \mathcal{N}(0, 1)$ independent of $X$ and every $t > 0$,
$$\frac{d}{dt} h(X + \sqrt{t}\, Z) = \frac{1}{2} J(X + \sqrt{t}\, Z).$$
- Shannon's 1D Entropy Power Inequality (EPI):
$$N(X + Y) \ge N(X) + N(Y), \qquad N(X) = \frac{1}{2\pi e} e^{2 h(X)}.$$
- Bergmans's Scalar Gaussian BC Single-Letter Converse: For $0 < N_1 \le N_2$ and $\mathbb{E}[X^2] \le P$, there exists $\alpha \in [0, 1]$ with $I(X; Y_1 \mid U) \le \frac{1}{2}\ln(1 + \alpha P / N_1)$ and $I(U; Y_2) \le \frac{1}{2}\ln(1 + (1 - \alpha)P / (\alpha P + N_2))$.
How the proof works
Proves the 1D heat equation $\partial_t f_t = \frac{1}{2}\partial_y^2 f_t$ for Gaussian convolutions awgnOutputDensity, derives fisherInfo_awgnOutput_le_inv ($J(f_t) \le 1/t$) and stam_weighted_inequality via score-function Cauchy–Schwarz, proves de_bruijn_identity via dominated differentiation + integration by parts, establishes diffEntropy_conv_ge_weighted_awgn via Blachman–Stam monotonicity on $(0, \infty)$, and passes $t \to 0^+$ via $L^1$ approximate identity and Fatou's lemma on $D(f_t \| \mathcal{N}(0,1))$ to obtain full 1D entropyPower_add_ge and gaussianBC_single_letter_converse.
Lean declarations (6)
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 cramer_rao_inequality (f : Density 1) (μ : ℝ)
(hm2 : HasFiniteSecondMoment f)
(hdiff : ∀ y : ℝ, DifferentiableAt ℝ (fun t : ℝ => f.pdf (fun _ => t)) y)
(hJ_int : Integrable (fun y : ℝ =>
(deriv (fun t : ℝ => f.pdf (fun _ => t)) y) ^ 2 / f.pdf (fun _ => y)) volume) :
1 ≤ (∫ y : ℝ, (y - μ) ^ 2 * f.pdf (fun _ => y)) * fisherInfo f := by …
theorem stam_inequality (f g : Density 1)
(hf_pos : ∀ y : ℝ, 0 < f.pdf (fun _ => y))
(hg_pos : ∀ y : ℝ, 0 < g.pdf (fun _ => y))
(hf_diff : ∀ y : ℝ, DifferentiableAt ℝ (fun t : ℝ => f.pdf (fun _ => t)) y)
(hg_diff : ∀ y : ℝ, DifferentiableAt ℝ (fun t : ℝ => g.pdf (fun _ => t)) y)
(hf'_int : Integrable (deriv (fun t : ℝ => f.pdf (fun _ => t))) volume)
(hg'_int : Integrable (deriv (fun t : ℝ => g.pdf (fun _ => t))) volume)
(hf'_bdd : ∃ C : ℝ, ∀ y : ℝ, |deriv (fun t : ℝ => f.pdf (fun _ => t)) y| ≤ C)
(hg'_bdd : ∃ C : ℝ, ∀ y : ℝ, |deriv (fun t : ℝ => g.pdf (fun _ => t)) y| ≤ C)
(hfJ_int : Integrable (fun y : ℝ =>
(deriv (fun t : ℝ => f.pdf (fun _ => t)) y) ^ 2 / f.pdf (fun _ => y)) volume)
(hgJ_int : Integrable (fun y : ℝ =>
(deriv (fun t : ℝ => g.pdf (fun _ => t)) y) ^ 2 / g.pdf (fun _ => y)) volume)
(hJfg_pos : 0 < fisherInfo (convDensity f g)) :
1 / fisherInfo f + 1 / fisherInfo g ≤ 1 / fisherInfo (convDensity f g) := by …
theorem de_bruijn_identity (f : Density 1) (hm2 : HasFiniteSecondMoment f)
{t : ℝ} (ht : 0 < t) :
HasDerivAt (awgnDiffEntropy f) ((1 / 2 : ℝ) * fisherInfo (awgnOutputDensity f t ht)) t := by …
theorem entropyPower_add_ge_of_awgn (f g : Density 1)
(hf : HasFiniteSecondMoment f) (hg : HasFiniteSecondMoment g)
{a b : ℝ} (ha : 0 < a) (hb : 0 < b) :
entropyPower (awgnOutputDensity f a ha) + entropyPower (awgnOutputDensity g b hb) ≤
entropyPower (convDensity (awgnOutputDensity f a ha) (awgnOutputDensity g b hb)) := by …
theorem entropyPower_add_ge (f g : Density 1)
(hf_ent : HasFiniteDiffEntropy f) (hg_ent : HasFiniteDiffEntropy g)
(hfg_ent : HasFiniteDiffEntropy (convDensity f g))
(hf_m2 : HasFiniteSecondMoment f) (hg_m2 : HasFiniteSecondMoment g) :
entropyPower f + entropyPower g ≤ entropyPower (convDensity f g) := by …
theorem gaussianBC_single_letter_converse {U : Type*} [Fintype U]
(P_U : ProbDist U) (f : U → Density 1)
{P N₁ N₂ : ℝ} (hP : 0 ≤ P) (hN₁ : 0 < N₁) (h12 : N₁ ≤ N₂)
(hm2 : ∀ u : U, HasFiniteSecondMoment (f u))
(hpow : ∑ u : U, P_U.pmf u * (∫ x : Fin 1 → ℝ, (x 0) ^ 2 * (f u).pdf x) ≤ P) :
let hN₂ : 0 < N₂ := lt_of_lt_of_le hN₁ h12
let Y₁ : U → Density 1 := fun u => awgnOutputDensity (f u) N₁ hN₁
let Y₂ : U → Density 1 := fun u => awgnOutputDensity (f u) N₂ hN₂
let hY₁_given_U : ℝ := ∑ u : U, P_U.pmf u * diffEntropy (Y₁ u)
let hY₂_given_U : ℝ := ∑ u : U, P_U.pmf u * diffEntropy (Y₂ u)
let hY₂ : ℝ := diffEntropy (mixDensity P_U Y₂)
∃ α ∈ Set.Icc (0 : ℝ) 1,
hY₁_given_U - diffEntropy (gaussianDensity1D N₁ hN₁) ≤
(1 / 2 : ℝ) * Real.log (1 + α * P / N₁) ∧
hY₂ - hY₂_given_U ≤
(1 / 2 : ℝ) * Real.log (1 + (1 - α) * P / (α * P + N₂)) := by …
Related open problems (7)
Open problems that build on, generalize, or are analogous to this theorem.