An error correcting code has disjoint Hamming balls.

See Hamming ball, error detection and correction

If C is a t-error correcting code, then for all codewords x,yC with xy,
the Hamming balls Bt(x)Bt(y)=


Proof

Suppose d(C)=d, and let t be the largest integer t<d2.
Suppose by way of contradiction that there exist xy in C such that Bt(x)Bt(y).
Then there exists some zBt(x)Bt(y).
Since zBt(x), dH(x,z)t
Similarly, dH(y,z)t

By definition, d=d(C)dH(x,y) for any x,y.
By triangle inequality, dH(x,y)dH(x,z)+dH(y,z) if C is t-error correcting.
Therefore,

d=d(C)dH(x,y)dH(x,z)+dH(y,z)t+t=2t<d

Thus d<d, a contradiction.

QED


Powered by Forestry.md