Skip to main content
KetQat

Appearance

Proof · introductory

Proof that the minimum distance governs detection, correction and erasure recovery

Each item follows from linearity of the syndrome map and from the fact that the difference of two codewords is a codeword of weight at least d.

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.

1. The map s(y)=HyTs(y) = H y^{T} is linear with kernel CC. Hence s(c+e)=s(c)+s(e)=s(e)s(c + e) = s(c) + s(e) = s(e), and s(e)=s(e′)s(e) = s(e') if and only if s(e−e′)=0s(e - e') = 0, that is, e−e′∈Ce - e' \in C.

2. Write h1,…,hnh_1, \dots, h_n for the columns of HH. A word cc lies in CC exactly when ∑icihi=0\sum_i c_i h_i = 0, which is a linear dependence among the columns indexed by the support of cc. A nonzero codeword of weight ww therefore exhibits ww dependent columns, and a dependence among ww columns with all coefficients nonzero is a codeword of weight ww. The smallest such ww is on one side the minimum weight dd and on the other the smallest number of dependent columns.

3. An error e≠0e \neq 0 has s(e)=0s(e) = 0 if and only if e∈Ce \in C, and nonzero codewords have weight at least dd, with equality for some codeword.

4. Suppose 2t≤d−12t \le d - 1 and let e≠e′e \ne e' have weight at most tt. Then 0<wt⁡(e−e′)≤2t<d0 < \operatorname{wt}(e - e') \le 2t < d, so e−e′∉Ce - e' \notin C and by item 1 the syndromes differ. A decoder that maps each syndrome to the unique error of weight at most tt producing it, and subtracts that error, recovers cc. Conversely, if 2t≥d2t \ge d, take a codeword cc of weight dd and split its support into a set of size ⌈d/2⌉\lceil d/2 \rceil and a set of size ⌊d/2⌋\lfloor d/2 \rfloor, both at most tt. Let ee agree with cc on the first set and vanish elsewhere, and put e′=e−ce' = e - c. Both have weight at most tt, they are distinct, and e−e′=c∈Ce - e' = c \in C, so they share a syndrome and cannot both be corrected.

5. Let EE be the set of erased positions, ∣E∣≤d−1\abs{E} \le d - 1. If two codewords c,c′c, c' agree outside EE, then c−c′c - c' is a codeword supported inside EE, of weight at most d−1d - 1, hence zero. So the unerased coordinates determine the codeword. If EE is the support of a codeword cc of weight dd, then 00 and cc agree outside EE and cannot be told apart.

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. W. Cary Huffman, Vera Pless (2003). Fundamentals of Error-Correcting Codes. Cambridge University Press. doi:10.1017/CBO9780511807077

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)

    All five items re-derived from linearity of the syndrome map (including the converse in item 4 by splitting a minimum-weight codeword into parts of sizes ceil(d/2) and floor(d/2), and the erasure argument). Items 2 and 4 agree with the Wikipedia article 'Linear code' (distance = minimum number of dependent check-matrix columns; nearest-neighbour decoding fails only beyond (d-1)/2). Elementary material; Huffman-Pless 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 3340a3f0f8c0ee4e. Source file knowledge/records/proof/minimum-distance-and-error-correction.md in the content repository (readable there once it is public).