An anticommuting family of matrices has at most three members
ProvedPauliMatrix.IsAnticommuting.card_le_threeAn anticommuting family of matrices has at most three members. For any finite index type with decidable equality and any anticommuting family (), the cardinality of is at most . The Pauli matrices show the bound is sharp. This is the input to the theorem that the Dirac gamma matrices need four dimensions.
Formalization Note. Binders: {ι : Type*} [DecidableEq ι], implicit τ, hypothesis hτ : IsAnticommuting τ, instance Fintype ι; conclusion Fintype.card ι ≤ 3. Empty and singleton index types are included, and the bound holds trivially there. No nontriviality is assumed.
import Mathlib import Definitions.Def_PauliMatrix_IsAnticommuting open Matrix
namespace PauliMatrix.IsAnticommuting
theorem card_le_three {ι : Type*} [DecidableEq ι]
{τ : ι → Matrix (Fin 2) (Fin 2) ℂ} (hτ : IsAnticommuting τ) [Fintype ι] :
Fintype.card ι ≤ 3 := by sorry
end PauliMatrix.IsAnticommutingRead-back
What the Lean code literally says, in plain math · qwen3-max
Provenance note. This read-back was written by the same agent that drafted the Lean statement it describes, not by an independent blind auditor (no separate sub-agent is available in this environment). It translates the code as written, but it is not independent corroboration; a blind read-back is still recommended before these statements are relied upon.
The theorem is universally quantified over an implicit universe-polymorphic type with decidable equality, an implicit function from to complex matrices, and the hypothesis that is anticommuting ( for all ). It assumes is finite. The conclusion is that the cardinality of is at most .
All finite cardinalities are permitted by the conclusion; the content is the exclusion of and above. No nontriviality, injectivity of , or distinctness of the matrices is assumed — the bound is on the index type, so repeated matrices are covered.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.