Proof of the Gilbert–Varshamov bound for linear codes
A parity-check matrix is built one column at a time, each new column avoiding the span of every d − 2 earlier ones; the counting condition guarantees that a column is always available.
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.
Put r=n−k. We construct column vectors h1,…,hn∈Fqr such that
every d−1 of them are linearly independent.
Take h1=0. Suppose h1,…,hj have been chosen, 1≤j≤n−1, with
every d−1 of them linearly independent. A vector v is a forbidden choice for
hj+1 if it is a linear combination of at most d−2 of the chosen columns, since
exactly then v together with those columns would form a dependent set of at most
d−1 columns. The number of linear combinations of exactly i columns with nonzero
coefficients is at most (ij)(q−1)i, so the number of forbidden vectors,
including 0, is at most
i=0∑d−2(ij)(q−1)i≤i=0∑d−2(in−1)(q−1)i<qr.
Hence some vector of Fqr is not forbidden; choose it as hj+1. Every
d−1 of h1,…,hj+1 are then linearly independent: a dependent set not
containing hj+1 is excluded by the induction hypothesis, and one containing it would
express hj+1, or a dependence among earlier columns, through at most d−2
earlier columns.
After n steps let H be the r×n matrix with columns h1,…,hn and
C=kerH. No d−1 columns of H are dependent, so by the
characterisation of the minimum distanceC has distance at least d. Its dimension is n−rankH≥n−r=k.
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)
Checked the greedy parity-check construction against the statement of equation/gilbert-varshamov-bound: count of forbidden vectors sum_{i<=d-2} C(j,i)(q-1)^i <= sum C(n-1,i)(q-1)^i < q^r, the induction (including dependences where h_{j+1} has coefficient zero), and distance >= d and dimension >= k from the parity-check characterisation. Standard textbook argument; Huffman–Pless (not openly readable) 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 008e8d6104b1b204. Source file knowledge/records/proof/gilbert-varshamov-bound.md in the content repository (readable there once it is public).