The Exercise
A classical linear code is often given by a parity check matrix rather than by a list of its codewords. The exercise asks for the number such that any columns of are linearly independent but some of them are linearly dependent, and how that number shows in the distance of the code.
Linear Codes
Let be a field. A linear code over with positions is a subspace of , and its elements are its codewords. A parity check matrix over has one column for each of the positions and one row for each parity check. The code defined by is the kernel of , the set of words that pass every check: (1)
The Hamming weight of a word is the number of its nonzero entries. The minimum distance of a linear code over is the least Hamming weight of a nonzero codeword, (2)✦ and it is infinite when has no nonzero codeword.
The Claim
Theorem 1. Let be a parity check matrix over a field , let be the code it defines, and let be a natural number. Suppose every set of fewer than columns of is linearly independent, and some set of columns of is linearly dependent. Then the minimum distance of is : (3)✦
What Is Checked
The claim is stated over the minimum distance (2) of the code (1), for any field and any parity check matrix over it. What the library proves about these constructions is the equality (3) under the two conditions on the columns of .