Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The Dirac basis satisfies γμγν+γνγμ=2ημνI4\gamma^\mu\gamma^\nu+\gamma^\nu\gamma^\mu=2\eta^{\mu\nu}I_4γμγν+γνγμ=2ημνI4​

Proved
QED.diracGamma_isDiracRepresentation

by LG · Sep 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

differential-equationselectrodynamicsmathematical-physicsquantum-field-theory

The four explicit matrices of the standard Dirac basis form a Dirac representation: they satisfy the Clifford anticommutation relation

γμγν+γνγμ=2ημνI4,η=diag(1,−1,−1,−1),\gamma^\mu\gamma^\nu+\gamma^\nu\gamma^\mu=2\eta^{\mu\nu}I_4,\qquad \eta=\mathrm{diag}(1,-1,-1,-1),γμγν+γνγμ=2ημνI4​,η=diag(1,−1,−1,−1),

for all μ,ν∈{0,1,2,3}\mu,\nu\in\{0,1,2,3\}μ,ν∈{0,1,2,3}, together with the hermiticity relation (γμ)†=γ0γμγ0(\gamma^\mu)^\dagger=\gamma^0\gamma^\mu\gamma^0(γμ)†=γ0γμγ0.

This is the existence statement that makes the abstract hypothesis used elsewhere in the mission non-vacuous: the Dirac matrices of the QED action are not merely postulated, a concrete family realizing them is exhibited. In particular (γ0)2=I4(\gamma^0)^2=I_4(γ0)2=I4​ and (γk)2=−I4(\gamma^k)^2=-I_4(γk)2=−I4​ for k=1,2,3k=1,2,3k=1,2,3, and distinct gamma matrices anticommute.

Preamble
import Definitions.Def_QED_fields
Formal statement
namespace QED
theorem diracGamma_isDiracRepresentation : IsDiracRepresentation diracGamma := by sorry
end QED
Source
Wikipedia, "Quantum electrodynamics", section "Mathematical formulation", subsections "QED action" and "Equations of motion" (QED Lagrangian, Dirac matrices, covariant derivative, field tensor, conserved current, Euler-Lagrange equations for psi and A, Lorenz-gauge wave equation). https://en.wikipedia.org/wiki/Quantum_electrodynamics
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.

The statement has no hypotheses and no free variables. It asserts that the specific four complex 4×44\times44×4 matrices

γ0=(1000010000−10000−1),γ1=(000100100−100−1000),γ2=(000−i00i00i00−i000),γ3=(0010000−1−10000100)\gamma^0=\begin{pmatrix}1&0&0&0\\0&1&0&0\\0&0&-1&0\\0&0&0&-1\end{pmatrix},\quad \gamma^1=\begin{pmatrix}0&0&0&1\\0&0&1&0\\0&-1&0&0\\-1&0&0&0\end{pmatrix},\quad \gamma^2=\begin{pmatrix}0&0&0&-i\\0&0&i&0\\0&i&0&0\\-i&0&0&0\end{pmatrix},\quad \gamma^3=\begin{pmatrix}0&0&1&0\\0&0&0&-1\\-1&0&0&0\\0&1&0&0\end{pmatrix}γ0=​1000​0100​00−10​000−1​​,γ1=​000−1​00−10​0100​1000​​,γ2=​000−i​00i0​0i00​−i000​​,γ3=​00−10​0001​1000​0−100​​

satisfy both clauses of the predicate IsDiracRepresentation\mathrm{IsDiracRepresentation}IsDiracRepresentation, namely

  1. for all sixteen index pairs (μ,ν)(\mu,\nu)(μ,ν) with μ,ν∈{0,1,2,3}\mu,\nu\in\{0,1,2,3\}μ,ν∈{0,1,2,3}, including the diagonal ones,
γμγν+γνγμ=2ημνI4,η=diag(1,−1,−1,−1),\gamma^\mu\gamma^\nu+\gamma^\nu\gamma^\mu=2\eta_{\mu\nu}I_4,\qquad \eta=\mathrm{diag}(1,-1,-1,-1),γμγν+γνγμ=2ημν​I4​,η=diag(1,−1,−1,−1),

so that (γ0)2=I4(\gamma^0)^2=I_4(γ0)2=I4​, (γk)2=−I4(\gamma^k)^2=-I_4(γk)2=−I4​ for k∈{1,2,3}k\in\{1,2,3\}k∈{1,2,3}, and γμγν=−γνγμ\gamma^\mu\gamma^\nu=-\gamma^\nu\gamma^\muγμγν=−γνγμ for μ≠ν\mu\ne\nuμ=ν; and

  1. for all four indices μ\muμ, the conjugate transpose satisfies (γμ)†=γ0γμγ0(\gamma^\mu)^\dagger=\gamma^0\gamma^\mu\gamma^0(γμ)†=γ0γμγ0.

The claim is about this one explicit family only; it says nothing about other families of matrices, about uniqueness up to similarity, or about the existence of representations in other dimensions. It is a finite assertion about complex numbers: the two clauses together amount to 16⋅16+4⋅1616\cdot16+4\cdot1616⋅16+4⋅16 scalar equations.

Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Oct 8, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me