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 G be a k×n binary matrix and encode a message
u∈F2k as uG. The channel erases a random set E⊆{1,…,n},
each position independently with probability ϵ. Write GEˉ for the
submatrix of columns outside E. The receiver knows E and the vector
uGEˉ. A message u′ is consistent with what was received if and only if
(u−u′)GEˉ=0. Decoding therefore fails, in the sense that u is not the
unique consistent message, exactly when
there is w∈F2k,w=0,withwGEˉ=0.
This event depends on G and E but not on u. Call its probability over EPfail(G).
Random matrix, fixed erasure set. Let the entries of G be independent uniform
bits and fix E with s=n−∣E∣ unerased positions. For a fixed w=0 the
vector wGEˉ is uniformly distributed on F2s: choose i with
wi=1; conditioned on the other rows, row i of GEˉ is uniform and shifts
the sum to a uniform vector. Hence PrG[wGEˉ=0]=2−s, and by the
union bound over the 2k−1 nonzero w,
GPr[failure∣E]≤2k−s.
Few erasures are likely. Let A be the event ∣E∣≤(ϵ+η)n.
The number of erasures is a sum of n independent indicator variables of mean
ϵ, so by Hoeffding's inequality Pr[Ac]≤e−2η2n. On A we have
s≥(1−ϵ−η)n and, since k≤Rn and 1−ϵ−R=2η,
k−s≤Rn−(1−ϵ−η)n=−ηn.
Averaging. Combining the two estimates, with G and E independent,
The code has dimension k. If G0 had rank less than k there would be
w=0 with wG0=0, and decoding would fail for every E, giving
Pfail(G0)=1>βn. Hence G0 has rank k, its row space is a
linear code of dimension k, 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.
Decoding. The consistent messages are the solutions of the linear system
u′GEˉ=uGEˉ, found by Gaussian elimination in O(n3) operations.
Claude (AI drafting assistant)Writing, original draft (CRediT roles)
Review history
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
2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
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).