Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p ⁣ ⁣ ⁣/ p ⁣ ⁣ ⁣/=(ημνpμpν) I4p\!\!\!/\,p\!\!\!/ = (\eta^{\mu\nu}p_\mu p_\nu)\,I_4p/p/=(ημνpμ​pν​)I4​

Proved
DiracEquation.slash_sq

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

clifford-algebramathematical-physicsmatricesquantum-mechanics

Let γ\gammaγ be any family of complex 4×44\times44×4 matrices satisfying the Clifford relation γμγν+γνγμ=2ημνI4\gamma^\mu\gamma^\nu + \gamma^\nu\gamma^\mu = 2\eta^{\mu\nu}I_4γμγν+γνγμ=2ημνI4​ for η=diag⁡(1,−1,−1,−1)\eta = \operatorname{diag}(1,-1,-1,-1)η=diag(1,−1,−1,−1), and let p=(pμ)p = (p_\mu)p=(pμ​) be a covector with complex entries. Writing p ⁣ ⁣ ⁣/=γμpμp\!\!\!/ = \gamma^\mu p_\mup/=γμpμ​ for the Feynman slash, one has

p ⁣ ⁣ ⁣/  p ⁣ ⁣ ⁣/  =  (ημνpμpν) I4  =  (p02−p12−p22−p32) I4.p\!\!\!/\;p\!\!\!/ \;=\; \bigl(\eta^{\mu\nu} p_\mu p_\nu\bigr)\, I_4 \;=\; \bigl(p_0^2 - p_1^2 - p_2^2 - p_3^2\bigr)\, I_4 .p/p/=(ημνpμ​pν​)I4​=(p02​−p12​−p22​−p32​)I4​.

This identity is the algebraic heart of the Dirac theory: the first-order operator p ⁣ ⁣ ⁣/p\!\!\!/p/ is a square root of the quadratic form of Minkowski space. It is the momentum-space counterpart of the Klein--Gordon reduction, and it is what forces a nonzero solution of the momentum-space Dirac equation onto the mass shell.

Formalization Note. The identity holds for every family satisfying the Clifford relation, in any representation, and the components of ppp are allowed to be arbitrary complex numbers rather than real momenta.

Preamble
import Definitions.Def_DiracEquation_fields
Formal statement
namespace DiracEquation

theorem slash_sq (g : Fin 4 → Matrix (Fin 4) (Fin 4) ℂ) (hg : IsGammaFamily g) (p : Fin 4 → ℂ) :
    slash g p * slash g p = (∑ mu, eta mu mu * p mu * p mu) • (1 : Matrix (Fin 4) (Fin 4) ℂ) := by
  sorry

end DiracEquation
Source
"Dirac equation", Wikipedia, https://en.wikipedia.org/wiki/Dirac_equation, sections "Formulation - Covariant formulation" (Dirac equation, Clifford relation {gamma^mu, gamma^nu} = 2 eta^{mu nu} I_4, Dirac representation of the gamma matrices, Hamiltonian form with alpha and beta) and "Properties - Plane wave solutions" (Klein-Gordon reduction, plane waves, momentum-space Dirac equation). Section "Plane wave solutions": the Klein-Gordon reduction (i d-slash + m)(i d-slash - m) psi = (d_mu d^mu + m^2) psi, of which this is the momentum-space form.
Read-back

What the Lean code literally says, in plain math · non-blind self-read-back written by the drafting agent (no independent auditor)

Provenance note - please read before using this read-back. This text is not blind and not independent testimony. It was written by the same agent that drafted the Lean statement it describes, at the explicit instruction of the mission owner, who asked for the read-backs to be uploaded immediately instead of being delegated to an independent auditor. Because its author already knew what the code was intended to say, this read-back cannot serve the purpose an auditor's read-back normally serves: a gap between intent and code is exactly what a non-blind reader is least likely to notice. No reviewer should treat it as independent corroboration of the formalization; a blind read-back by an independent auditor is still required before these statements are relied upon.

The statement quantifies over a function ggg assigning a complex 4×44\times44×4 matrix to each index μ∈{0,1,2,3}\mu\in\{0,1,2,3\}μ∈{0,1,2,3}, and over a function ppp assigning a complex number pμp_\mupμ​ to each index.

Hypothesis. For all indices μ,ν\mu,\nuμ,ν (including μ=ν\mu=\nuμ=ν), g(μ)g(ν)+g(ν)g(μ)=(2η(μ,ν))I4g(\mu)g(\nu) + g(\nu)g(\mu) = \bigl(2\eta(\mu,\nu)\bigr)I_4g(μ)g(ν)+g(ν)g(μ)=(2η(μ,ν))I4​, where η(μ,ν)\eta(\mu,\nu)η(μ,ν) is 111 for μ=ν=0\mu=\nu=0μ=ν=0, −1-1−1 for μ=ν≠0\mu=\nu\neq0μ=ν=0, and 000 for μ≠ν\mu\neq\nuμ=ν.

Conclusion. Writing S=∑μ=03pμ g(μ)S = \sum_{\mu=0}^{3} p_\mu\, g(\mu)S=∑μ=03​pμ​g(μ) for the matrix formed by scaling each g(μ)g(\mu)g(μ) by the corresponding entry of ppp and summing, the matrix product S SS\,SSS equals the scalar

∑μ=03η(μ,μ) pμ pμ  =  p02−p12−p22−p32\sum_{\mu=0}^{3} \eta(\mu,\mu)\, p_\mu\, p_\mu \;=\; p_0^2 - p_1^2 - p_2^2 - p_3^2μ=0∑3​η(μ,μ)pμ​pμ​=p02​−p12​−p22​−p32​

times the 4×44\times44×4 identity matrix. Note that the scalar on the right is written as a single sum over the diagonal of the metric, not as a double sum over pairs of indices, and that the entries pμp_\mupμ​ are arbitrary complex numbers - no reality, positivity or mass-shell condition is imposed, and the case p=0p = 0p=0 (giving S=0S = 0S=0 and the zero matrix on both sides) is included.

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