Boolean repetition codes #
This is the first concrete finite linear code in the metacomplexity coding
layer. Repeating every message bit copies > 0 times multiplies every Hamming
distance by exactly copies, giving a minimum-distance lower bound of copies,
unique decoding below half that distance, and a specialized finite packing
inequality.
Repetition encoding at a canonical product coordinate reads the selected message bit.
Positive-copy repetition encoding is injective.
Repetition multiplies absolute Hamming distance by the copy count.
The repetition encoder preserves zero and coordinatewise XOR.
Concrete positive-copy repetition code.
Equations
- Complexity.BooleanCode.repetitionCode messageLength copies hcopies = { encode := Complexity.BooleanCode.repetitionEncode messageLength copies, encode_injective := ⋯ }
Instances For
The concrete repetition code is linear over GF(2).
At positive message length and copy count, the repetition-code rate is exactly the reciprocal of the copy count.
A positive-copy repetition code has minimum distance at least copies.
Repetition decoding recovers a message from every received word within a radius strictly below half the copy count.
Specialized packing inequality for the concrete repetition code.