Erasure (coding theory) 2026-11-05
An erasure is a missing or explicitly flagged symbol of a transmitted codeword; its position is known to the decoder. An error instead replaces a symbol by an incorrect value without revealing its location. This distinction changes how much redundancy is needed.
A block code of minimum distance uniquely corrects every erasure pattern of size at most . Indeed, two different codewords agreeing at all unerased positions could differ in at most the erased positions, contradicting their distance of at least . Conversely, erasing all differing positions of a minimum-distance pair makes that pair indistinguishable.
For the binary even-parity code , one erased bit is recovered from the other two: the missing value is their sum modulo two. One arbitrary unflagged error is only detectable, because the minimum distance is two. More generally, errors and erasures are uniquely correctable whenever .
Error correction Created 2026-10-25 Updated 2026-11-05
Error correction recovers a transmitted or stored message despite specified corruption. A decoder uses the redundancy of an error-correcting code to select the original codeword, or reports failure if the available information does not determine one reliably.
For the repetition code , , a received is corrected to by choosing the closest word in Hamming distance. This guarantees recovery after at most one bit flip, but two flips can produce a wrong choice. If corrupted positions are known, they are erasure, which are easier to repair: a code of minimum distance can recover from any erasures.