Dirac matrices: the Clifford relation, the Dirac basis, and the pairing
DefinitionQED_dirac_algebraThe algebraic layer. A family of complex matrices is a Dirac representation for the metric when it satisfies the Clifford anticommutation relation
together with the hermiticity relation , which says that is hermitian and are anti-hermitian. These two properties are exactly what the Dirac theory uses: the first makes the Dirac operator a square root of the wave operator, the second makes the Dirac adjoint behave correctly under conjugation.
The Dirac basis is the standard concrete solution of these relations, given explicitly. Finally, for a matrix the Dirac pairing of two spinors is
i.e. , the sesquilinear form through which every bilinear quantity of the theory — the current, the mass term, the kinetic term — is expressed.
import Definitions.Def_QED_minkowski_spacetime
namespace QED
/-- `IsDiracRepresentation γ` says that the four complex `4 × 4` matrices
`γ 0, γ 1, γ 2, γ 3` are Dirac matrices for the metric `η` with signature
`(+, -, -, -)`:
* the Clifford (anticommutation) relation `γ^μ γ^ν + γ^ν γ^μ = 2 η^{μν} I₄`;
* the hermiticity relation `(γ^μ)† = γ^0 γ^μ γ^0`,
i.e. `γ^0` is hermitian and `γ^1, γ^2, γ^3` are anti-hermitian. -/
def IsDiracRepresentation (γ : Fin 4 → Matrix (Fin 4) (Fin 4) ℂ) : Prop :=
(∀ μ ν : Fin 4,
γ μ * γ ν + γ ν * γ μ = (2 * (minkowski μ ν : ℂ)) • (1 : Matrix (Fin 4) (Fin 4) ℂ)) ∧
(∀ μ : Fin 4, (γ μ).conjTranspose = γ 0 * γ μ * γ 0)
/-- The gamma matrices in the standard Dirac basis. -/
def diracGamma : Fin 4 → Matrix (Fin 4) (Fin 4) ℂ
| ⟨0, _⟩ => !![1, 0, 0, 0; 0, 1, 0, 0; 0, 0, -1, 0; 0, 0, 0, -1]
| ⟨1, _⟩ => !![0, 0, 0, 1; 0, 0, 1, 0; 0, -1, 0, 0; -1, 0, 0, 0]
| ⟨2, _⟩ => !![0, 0, 0, -Complex.I; 0, 0, Complex.I, 0;
0, Complex.I, 0, 0; -Complex.I, 0, 0, 0]
| ⟨3, _⟩ => !![0, 0, 1, 0; 0, 0, 0, -1; -1, 0, 0, 0; 0, 1, 0, 0]
/-- The Dirac adjoint pairing `ψ̄ M χ = ψ† γ^0 M χ` of two spinors, for a
`4 × 4` matrix `M` inserted between them. -/
def diracPairing (γ : Fin 4 → Matrix (Fin 4) (Fin 4) ℂ) (M : Matrix (Fin 4) (Fin 4) ℂ)
(φ χ : Fin 4 → ℂ) : ℂ :=
∑ i : Fin 4, ∑ j : Fin 4, (starRingEnd ℂ) (φ i) * ((γ 0 * M) i j) * χ j
end QED
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent that drafted the statements; not an independent auditor
Provenance note — this read-back is NOT blind and NOT independent. It was written by the same agent that drafted the Lean statement it describes, not by a separate auditor working from the code alone. It is therefore self-testimony rather than independent testimony: any misreading made while drafting is likely to be repeated here, and this text cannot corroborate the faithfulness of the formalization. A reviewer who needs independent confirmation should commission a blind read-back from an auditor who has seen only the Lean code and none of the source material or drafting intent.
This bundle introduces one predicate, one explicit family of matrices, and one pairing. It asserts nothing: in particular it does not claim that the explicit family satisfies the predicate.
The predicate. For a family assigning to each index a complex matrix, is the conjunction of two conditions:
where juxtaposition is matrix multiplication, is the identity matrix, is the real array regarded as a complex scalar, is the conjugate transpose, and means the member of the family at index . Both conditions range over all index values, including ; at condition (i) reads and at it reads . Condition (ii) at reads . Nothing requires the matrices to be invertible, traceless, or linearly independent beyond what (i) and (ii) force, and nothing asserts that such a family exists.
The explicit family. assigns to the four index values the four matrices
with entries in and the imaginary unit. The assignment is by case analysis on the numerical value of the index, and it is total: the four cases exhaust the index type.
The pairing. For a family , a complex matrix and two vectors ,
the bar being complex conjugation and the entry of the product of the family's zeroth member with . The definition is conjugate-linear in and linear in . No hypothesis is placed on here: the zeroth member is used whatever it is, so the pairing is defined even for families that are not Dirac representations.