Members of an anticommuting family, together with , are linearly independent
ProvedPauliMatrix.IsAnticommuting.linearIndependentMembers of an anticommuting family, together with the identity, are linearly independent. Let be a nontrivial finite type with decidable equality, and let be an anticommuting family, . Then the family indexed by — sending the extra element to and each to — is linearly independent over . Since has dimension four, this is the structural step behind the bound of three members.
Formalization Note. Instance binders: DecidableEq ι, Fintype ι, Nontrivial ι. Nontriviality is required: a one-member family need not be traceless. The family is fun o : Option ι => o.elim 1 τ.
import Mathlib import Definitions.Def_PauliMatrix_IsAnticommuting open Matrix
namespace PauliMatrix.IsAnticommuting
theorem linearIndependent {ι : Type*} [DecidableEq ι]
{τ : ι → Matrix (Fin 2) (Fin 2) ℂ} (hτ : IsAnticommuting τ) [Fintype ι] [Nontrivial ι] :
LinearIndependent ℂ (fun o : Option ι => o.elim (1 : Matrix (Fin 2) (Fin 2) ℂ) τ) := 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 further assumes is finite and nontrivial (has at least two distinct elements). The conclusion is that the function on which returns at none and at some a is linearly independent over in the vector space of complex matrices: any finite -linear combination equal to zero has all coefficients zero.
The nontriviality assumption is explicit and necessary to the intended argument; at a singleton type the conclusion can fail (e.g. gives a repeated vector). The empty type is excluded by nontriviality. Finiteness is assumed, though linear independence itself is a finite-support notion.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.