Gallager's Random-Coding Error Exponent Bound

proved in Lean

There exist codes whose error probability decays exponentially with block length, at a rate given by Gallager's explicit E0 function. This gives a concrete lower bound on the reliability function, the best achievable error exponent.

Robert G. Gallager (1965) · Ch. 7 · Channel Capacity & Error Exponents · Gallager (1965), Theorem 1; Cover & Thomas, Ch. 7

Statement

For any DMC $W$, input distribution $P$, blocklength $n$, message size $M \ge 1$, and $\rho \in [0, 1]$, there exists an $(n, M)$ block code with $$P_e \le (M - 1)^\rho \, 2^{-n E_0(\rho, P, W)}, \qquad E_0(\rho, P, W) = -\log_2 \sum_y \left(\sum_x P(x) W(y|x)^{\frac{1}{1+\rho}}\right)^{1+\rho}.$$ Consequently, for every positive DMC $W$ and rate $R > 0$, the random-coding exponent lower-bounds the reliability function: $E_r(R, W) \le E(R, W)$.

How the proof works

Implements Gallager's 1965 ML-decoding proof over finite random-codebook ensembles using concavity of $t \mapsto t^\rho$ on $[0, \infty)$, and bridges directly to InfoTheory.Core.Channels.{randomCodingExponent, reliabilityFunction}.

Lean declarations (4)

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

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