How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Hamming distance is a metric and linear-code distance is minimum nonzero weight
Statement
For every finite field and , is a metric on . If and is the codeword subspace of a classical linear code, then for nonzero , . For there are no distinct codewords, and the distance parameter is the stated convention .
Facts & Assumptions
Given: A finite field and for the metric claim. For the code-distance claim, assume , let be a classical linear code, and use the weight and distance functions of Hamming weight and distance of a finite-field linear code.
Classical linear code over a finite field: A code is a linear subspace of , so it contains and is closed under subtraction.
Hamming weight and distance of a finite-field linear code: counts nonzero coordinates, , and is the minimum nonzero weight or for the zero code.
Proof
Weight is nonnegative and vanishes exactly on the zero vector. Also because exactly when . Hence , exactly when , and .
If , then at least one of or is nonzero, since their sum is . Therefore the support of is contained in the union of the supports of and , so .
If and are distinct, then [L1] gives , so . Conversely every occurs as the difference of the pair , and . Thus the two nonempty sets of distances have the same minimum. When no distinct pair exists, and [L2] supplies the separate convention.
Remarks
This proof is independent of the field characteristic and uses no choice principle.
Depends on
Used by
Dependency tree · two levels
11 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- Richard Cleve, Quantum Information Processing course notes, §§37.1–37.1.3 (standard reference, not scraped)
- John Preskill, Quantum Computation, Chapter 7, §7.6 (standard reference, not scraped)