The Exercise
A message of bits is sent through a noisy classical channel as a string of bits, and the channel flips some of the bits on the way. Sender and receiver agree beforehand on strings of bits, the codewords, one for each message and spaced so far apart that after any flips the receiver can still tell which codeword was sent.
The exercise asks for a guarantee on how many bits such a code can carry, for linear codes, those in which the bitwise sum modulo of two codewords is again a codeword: when , a linear code of length that corrects errors exists for every up to a bound set by the binary entropy of the fraction .
Linear Codes
A linear code over a field , with positions indexed by a set , is a subspace of the space of words carrying a letter of at each position; its elements are its codewords. A binary linear code of length is a linear code over the field with positions, a subspace of , and its dimension over is the number of bits it carries.
The Hamming weight of a word is the number of its nonzero entries. The minimum distance of a linear code is the least Hamming weight of a nonzero codeword of , (1)✦ and the zero code, which has no nonzero codeword, has infinite minimum distance.
A linear code corrects errors when its minimum distance is at least , (2)✦
The Claim
The bound is written with the binary entropy of a probability , in bits. The claim is the Gilbert-Varshamov bound.
Theorem 1. Let , and be natural numbers with and (3)✦ Then there is a binary linear code of length with that corrects errors.✦
What Is Checked
The claim is stated over the binary linear codes of length , with their dimension, and over the condition (2) of correcting errors, built on the minimum distance (1).
What the library proves about these constructions is Theorem 1.