Appendix 4: Proof of the Noisy Channel Coding Theorem
Detailed Proof of Theorem 13
This appendix provides the full mathematical proof that reliable communication is possible at rates \(R < C\).
Setup
- Input alphabet \(\mathcal{X}\), output alphabet \(\mathcal{Y}\)
- Channel transition probabilities \(P(y|x)\)
- Capacity \(C = \max_{p(x)} I(X;Y)\)
- Desired rate \(R < C\)
- Block length \(n\)
Random Codebook Construction
- Fix input distribution \(p(x)\) achieving capacity (or near-capacity)
- Generate \(M = 2^{nR}\) codewords independently:
$\(X^n(i) = (X_{i1}, X_{i2}, \ldots, X_{in}), \quad i = 1, \ldots, M\)$
Each \(X_{ij} \sim p(x)\) i.i.d. - Reveal the codebook to encoder and decoder
Encoding
To send message \(i \in \{1, \ldots, M\}\):
- Transmit codeword \(X^n(i)\)
Decoding (Typical Set Decoding)
Received \(Y^n\). Decoder finds the unique codeword \(X^n(i)\) such that \((X^n(i), Y^n)\) is jointly typical:
Equivalently:
Error Analysis
Error Type 1: Transmitted codeword not jointly typical with received sequence
By the AEP:
Error Type 2: Wrong codeword is jointly typical
For any wrong codeword \(X^n(j)\) (\(j \neq i\)), since it is independent of \(Y^n\):
There are \(M - 1 \approx 2^{nR}\) wrong codewords. Union bound:
If \(R < I(X;Y) \leq C\), this \(\to 0\) exponentially fast.
Total Error Probability
Since \(R < C\) and \(I(X;Y)\) can be made arbitrarily close to \(C\), any rate \(R < C\) is achievable.
The Converse (Outline)
If \(R > C\), by Fano's inequality:
But also:
Combining:
Error probability is bounded away from zero. Reliable communication is impossible.
Key Insights
n
1. Random coding: The proof uses random codebooks, not deterministic construction
2. Typicality: Decoding succeeds because typical sequences are rare enough to avoid collisions
3. Exponential convergence: Error probability decays as \(2^{-nE(R)}\) for some exponent \(E(R) > 0\)
4. Converse is universal: No code can beat the limit, regardless of complexity
Error Exponent
The rate at which error probability decays is characterized by the error exponent (or reliability function):
For \(0 \leq R < C\):
At \(R = C\), \(E(R) = 0\) (error probability does not decay exponentially).
The random coding exponent gives a lower bound; the sphere packing bound gives an upper bound.