Skip to main content
KetQat

Appearance

Proof · intermediate

Proof that random linear codes achieve the erasure-channel capacity

For a uniformly random generator matrix, decoding fails only if the unerased columns do not have full rank; a union bound over nonzero messages and a tail bound on the number of erasures control this probability, and some fixed matrix does at least as well as the average.

Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Setting. Let GG be a k×nk \times n binary matrix and encode a message u∈F2ku \in \F_2^k as uGuG. The channel erases a random set E⊆{1,…,n}E \subseteq \{1, \dots, n\}, each position independently with probability ϵ\epsilon. Write GEˉG_{\bar E} for the submatrix of columns outside EE. The receiver knows EE and the vector uGEˉu G_{\bar E}. A message u′u' is consistent with what was received if and only if (u−u′) GEˉ=0(u - u')\, G_{\bar E} = 0. Decoding therefore fails, in the sense that uu is not the unique consistent message, exactly when

there is w∈F2k, w≠0, with w GEˉ=0.\text{there is } w \in \F_2^k,\ w \ne 0, \ \text{with}\ w\, G_{\bar E} = 0 .

This event depends on GG and EE but not on uu. Call its probability over EE Pfail(G)P_{\mathrm{fail}}(G).

Random matrix, fixed erasure set. Let the entries of GG be independent uniform bits and fix EE with s=n−∣E∣s = n - \abs{E} unerased positions. For a fixed w≠0w \ne 0 the vector w GEˉw\, G_{\bar E} is uniformly distributed on F2 s\F_2^{\,s}: choose ii with wi=1w_i = 1; conditioned on the other rows, row ii of GEˉG_{\bar E} is uniform and shifts the sum to a uniform vector. Hence Pr⁡G[ wGEˉ=0 ]=2−s\Pr_G[\, w G_{\bar E} = 0 \,] = 2^{-s}, and by the union bound over the 2k−12^k - 1 nonzero ww,

Pr⁡G[failure∣E]  ≤  2 k−s.\Pr_G[\text{failure} \mid E] \;\le\; 2^{\,k - s} .

Few erasures are likely. Let AA be the event ∣E∣≤(ϵ+η)n\abs{E} \le (\epsilon + \eta) n. The number of erasures is a sum of nn independent indicator variables of mean ϵ\epsilon, so by Hoeffding's inequality Pr⁡[Ac]≤e−2η2n\Pr[A^{c}] \le e^{-2\eta^2 n}. On AA we have s≥(1−ϵ−η)ns \ge (1 - \epsilon - \eta) n and, since k≤Rnk \le Rn and 1−ϵ−R=2η1 - \epsilon - R = 2\eta,

k−s  ≤  Rn−(1−ϵ−η) n  =  −ηn.k - s \;\le\; Rn - (1 - \epsilon - \eta)\, n \;=\; -\eta n .

Averaging. Combining the two estimates, with GG and EE independent,

EG[Pfail(G)]  ≤  Pr⁡[Ac]+max⁡E∈APr⁡G[failure∣E]  ≤  e−2η2n+2−ηn  =  βn.\mathbb{E}_G\bigl[ P_{\mathrm{fail}}(G) \bigr] \;\le\; \Pr[A^{c}] + \max_{E \in A} \Pr_G[\text{failure} \mid E] \;\le\; e^{-2\eta^2 n} + 2^{-\eta n} \;=\; \beta_n .

So at least one matrix G0G_0 has Pfail(G0)≤βnP_{\mathrm{fail}}(G_0) \le \beta_n.

The code has dimension kk. If G0G_0 had rank less than kk there would be w≠0w \ne 0 with wG0=0w G_0 = 0, and decoding would fail for every EE, giving Pfail(G0)=1>βnP_{\mathrm{fail}}(G_0) = 1 > \beta_n. Hence G0G_0 has rank kk, its row space is a linear code of dimension kk, messages correspond bijectively to codewords, and for every transmitted codeword the probability that it is not the unique codeword consistent with the received symbols is at most βn\beta_n.

Decoding. The consistent messages are the solutions of the linear system u′GEˉ=uGEˉu' G_{\bar E} = u G_{\bar E}, found by Gaussian elimination in O(n3)O(n^3) operations.

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Tom Richardson, Rüdiger Urbanke (2008). Modern Coding Theory. Cambridge University Press. doi:10.1017/CBO9780511791338

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Every step re-derived: failure event independent of the message; w G_Ebar uniform for w != 0 under a uniformly random G; union bound 2^(k-s); Hoeffding bound e^(-2 eta^2 n) on the number of erasures; k - s <= -eta n from 1 - eps - R = 2 eta; averaging over G; rank-k argument from beta_n < 1; Gaussian elimination. The statement (random linear codes achieve 1 - p on the erasure channel, decoding by uniqueness of the consistent codeword, union bound over codewords) agrees with Barg, ENEE626 lecture notes Part III, Theorem 23.8 and its direct-part sketch. Richardson-Urbanke not opened.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision 539f5aa63dacde3c. Source file knowledge/records/proof/linear-codes-achieve-erasure-capacity.md in the content repository (readable there once it is public).