= Unique decoding
{title2=$t=\lfloor(d-1)/2\rfloor$}
<Unique decoding> recovers a single <codeword> from a corrupted received word, with a guarantee that the transmitted <codeword> is the only candidate within the allowed error radius. If a <block code> has <minimum distance> $d$, then every pattern of at most
$$
t=\left\lfloor\frac{d-1}{2}\right\rfloor
$$
symbol errors can be corrected in principle. Indeed, if two <codewords> were both within <Hamming distance> $t$ of $y$, the <triangle inequality> would put them at distance at most $2t<d$, a contradiction.<Bridging Shannon and Hamming: List Error-Correction with Optimal Rate by Venkatesan Guruswami>[section 1, minimum-distance barrier]{ref}
The <repetition code> $\{000,111\}$ has $d=3$, so one error is correctable: $010$ identifies $000$. Two errors can produce $110$, which lies closer to $111$; no decoder can guarantee success for all two-error patterns. The distance bound proves uniqueness, but does not itself give a fast decoding algorithm.
Back to article page