Part 1. Let and let be a basis of the operators that act as the identity outside . For any the product also acts as the identity outside , so it acts non-trivially on fewer than systems. By the definition of the distance, every such operator satisfies for a scalar . Hence
which is the Knill–Laflamme condition for the set . The theorem provides a recovery channel that corrects every map whose operation elements are linear combinations of the , and every channel acting only on is of that form. The recovery depends on , which is why the positions must be known.
If the positions are unknown, one recovery must serve all sets of size at once. The relevant products then have one factor supported on a set and the other on a set , hence support of size up to , and the same argument needs .
Part 2. Let be a stabilizer code and take for the Pauli operators supported on ; the products are again, up to phase, the Pauli operators supported on . For a Pauli operator there are three cases. If up to phase then . If anticommutes with some element of then . If then maps to itself and acts on it as a non-trivial logical Pauli operator, so is not a multiple of .
If no element of is supported on , only the first two cases occur, the Knill–Laflamme condition holds, and Part 1's argument gives the recovery. Conversely, if such an element is supported on , the two errors and , both supported on , give , so the condition fails and no recovery exists. Since a non-trivial logical operator has weight at least , the criterion is automatically met when , in agreement with Part 1.