The Exercise
Messages are encoded with a generator matrix , which turns a message into a codeword, and received words are tested with a parity check matrix , which tells whether a word belongs to the code. The exercise is to show that a generator matrix and a parity check matrix of the same linear code satisfy .✦
Linear Codes
The entries of all matrices are taken from a ring ; for binary codes . The code generated by an matrix with entries in is the set of words in of the form , the range of the linear map on : (1)
The kernel of an matrix with entries in is the set of words in that maps to zero: (2)
The Claim
Theorem 1. Let be an matrix and an matrix, both with entries in a commutative ring . If the code generated by is the kernel of , , then (3)✦
A linear code is a submodule of , a set of codewords closed under addition and scalar multiples from ; when and are a generator matrix and a parity check matrix of one such code, holds, and this is the exercise.
What Is Checked
The claim is stated over two matrices with entries in , of any sizes for which the product is defined, and over the two sets of words they determine: the code (1) generated by and the kernel (2) of . What the library proves about these constructions is the theorem above, display (3).