Cost-Constrained Channel Coding Achievability (Random Coding & Expurgation)

proved in Lean

Even when every codeword must respect a budget on transmission cost, such as power, any rate below the mutual information of a budget-respecting input distribution is achievable. Random codes with their worst codewords thrown out (expurgation) do the job.

Robert G. Gallager; Abbas El Gamal and Young-Han Kim (1968) · Ch. 7 · Channel Capacity & Error Exponents · El Gamal & Kim, §3.3; Gallager, §7.3; Cover & Thomas, §9.1

Statement

For any discrete memoryless channel $W : \mathcal{X} \to \mathcal{Y}$, input distribution $P_X$, single-letter input cost $b : \mathcal{X} \to \mathbb{R}$, and cost budget $B$ satisfying $\mathbb{E}_{P_X}[b(X)] < B$, every rate $0 \le R < I(P_X, W)$ is achievable by $(n, \max(1, \lfloor 2^{nR} \rfloor))$ block codes in which every codeword obeys the deterministic per-codeword cost constraint $\sum_{i=1}^n b(x_i(m)) \le n B$ and the average error probability is at most $\delta$ for all sufficiently large $n$.

How the proof works

Combines an i.i.d. Chebyshev bound on empirical cost violation (violProb_le, violProb_eventually_le), random-codebook averaging of error plus violation fraction (exists_codebook_err_add_viol_le), and deterministic expurgation of half the codebook (exists_subcode_of_err_add_viol_le) on top of Bridge/ChannelAchievability.lean — serving as the finite-alphabet engine behind the operational AWGN capacity achievability proof.

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

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