Quantum Electrodynamics I: Classical Field Equations of the QED ActionTextbook
Motivation
Quantum electrodynamics (QED) is the relativistic quantum field theory of electrodynamics: it describes how light and charged matter interact, and it is the most precisely tested theory in physics, reproducing quantities such as the anomalous magnetic moment of the electron and the Lamb shift of hydrogen to many digits. Its modern covariant formulation was developed by Tomonaga, Schwinger and Feynman, with Dyson showing the equivalence of the operator and diagrammatic approaches.
Every one of those computations starts from a single classical object: the QED action, a functional of a Dirac spinor field and an electromagnetic four-potential on Minkowski space. Perturbation theory, Feynman rules, renormalization and the S-matrix are all built on top of the classical Lagrangian and the structural facts about it — the Clifford algebra of the Dirac matrices, the gauge symmetry, the conserved Noether current, and the Euler–Lagrange field equations. This mission formalizes exactly that classical layer, in the notation of the "Mathematical formulation" section of the Wikipedia article on quantum electrodynamics.
Nothing quantized is attempted here: no Fock space, no Dyson series, no renormalization. Those require a separate infrastructure and, in the interacting case, are not covered by any complete rigorous construction in four spacetime dimensions. What is formalizable today, and what this mission asks for, is the classical field theory that the quantum theory quantizes.
Setting
Spacetime is with coordinates and the Minkowski metric of signature : , , and for . Since is its own inverse, the same array serves as the contravariant metric used to raise indices. The symbol denotes the partial derivative in the -th coordinate direction, and is the wave operator.
The Dirac matrices are four complex matrices subject to the Clifford relation
together with the hermiticity relation , which makes hermitian and anti-hermitian. The standard Dirac basis is one concrete solution of these relations.
A spinor field is a map ; its Dirac adjoint is , and for a matrix the pairing is the complex number . A gauge field is a map whose value is the covariant component of the electromagnetic four-potential. From it one forms the field tensor (the curvature of the gauge connection)
and, for a coupling constant , the gauge covariant derivative . The Dirac current is .
With the mass of the spinor field, the QED Lagrangian density is
Its Euler–Lagrange equations are the Dirac equation and the Maxwell equation . The Lorenz gauge condition is .
Formalization targets
Goal
For a coupled solution of the QED field equations in the Lorenz gauge, the four-potential obeys an inhomogeneous wave equation whose source is a conserved current:
This is the "QED version of the classical Maxwell equations in the Lorenz gauge" of the source, together with the conservation law that makes the source of that wave equation consistent. It fixes no gauge beyond Lorenz, no representation of the Dirac matrices, and no sign or normalization beyond those of the stated Lagrangian.
Supporting targets
Significance
The classical layer is what every later construction quantizes. The Clifford relation is what makes the Dirac operator a square root of the wave operator; the invariance of is what forces the coupling to be through and what makes the current conserved by Noether's theorem; conservation of is the consistency condition without which has no solutions at all, since the left side is annihilated by identically. The Lorenz-gauge wave equation is the form in which the photon propagator is read off.
Formalizing it adds a reusable, machine-checked Minkowski-space field-theory layer: a metric with index raising, coordinate partial derivatives on with a wave operator, an abstract Dirac representation together with a concrete basis satisfying it, the field tensor, the covariant derivative, the Dirac current and the QED Lagrangian. Mathlib has Clifford algebras and Fréchet calculus, but not this concrete apparatus. None of the statements in this mission is currently known to have a machine-checked proof; all are standard textbook results with well-understood proofs, so the work is formalization rather than discovery.
Difficulty
The arguments are elementary on paper and awkward in Lean for three separate reasons.
First, all index manipulation is explicit: raising an index is a sum over , and every "obvious" rearrangement of has to be done by hand with Finset.sum lemmas.
Second, differentiation is Fréchet differentiation in disguise: is the derivative of evaluated at a basis vector, so the product rule, the sum rule and the symmetry of second derivatives each require the corresponding differentiability side conditions. The naive move of treating as a formal symbol that commutes with everything fails: without a hypothesis, , and without differentiability the derivative takes the junk value , so an identity that "obviously" holds termwise may hold only under the stated smoothness assumption.
Third, the current conservation law is not a pure computation: it needs the Dirac equation, the hermiticity relation , and the reality of , and , in the precise combination that cancels the terms containing between and . Any attempt to prove it from smoothness alone, without the equation of motion, cannot work — the current of an arbitrary smooth spinor field is not conserved.
Formalization scope
Spacetime is Fin 4 → ℝ, a gauge field is Spacetime → Fin 4 → ℝ with lower index, a spinor field is Spacetime → Fin 4 → ℂ, and the Dirac matrices are Fin 4 → Matrix (Fin 4) (Fin 4) ℂ. Sums over indices are Finset.sum over Fin 4. Partial derivatives are fderiv ℝ f x (Pi.single μ 1), which is when is not differentiable at ; smoothness hypotheses are stated as ContDiff ℝ 1 or ContDiff ℝ 2 exactly where they are used. Complex conjugation is starRingEnd ℂ, matrix adjoint is Matrix.conjTranspose, and the coupling constant , the mass and the gauge parameter are real, with no positivity or nonvanishing assumption on or .
Conventions fixed once and shared by every statement: signature ; ; ; taken as a real number via its real part, with the reality of the underlying complex pairing stated as a separate target; the Maxwell equation carries the coupling on the right-hand side as ; and the Dirac equation is .
The statements are not vacuous: , satisfies all field equations, plane-wave solutions of the free Dirac equation satisfy the Dirac hypothesis with , and the concrete Dirac basis witnesses the abstract representation hypothesis, so no hypothesis in the mission is unsatisfiable. The goal is not trivially true: it asserts a pointwise identity between second derivatives of and a quadratic expression in , not an implication between definitionally equal objects.
A complete development needs Mathlib's fderiv calculus (product rule, symmetry of the second derivative via IsSymmSndFDerivAt), Finset.sum manipulation, Matrix arithmetic over ℂ, and Complex.exp. The Minkowski-space layer — metric, partial derivatives, wave operator, field tensor, Dirac representation — is reusable for any later mission on classical field theory or on the quantized theory. Contributions of further structural results in this notation (energy–momentum tensor, plane-wave solutions, the free-field propagator) are welcome as follow-up problems.
Selected references
- Wikipedia, Quantum electrodynamics, section "Mathematical formulation". https://en.wikipedia.org/wiki/Quantum_electrodynamics
- C. Itzykson and J.-B. Zuber, Quantum Field Theory, McGraw-Hill, 1980.
- M. E. Peskin and D. V. Schroeder, An Introduction to Quantum Field Theory, Addison-Wesley, 1995.
- R. P. Feynman, QED: The Strange Theory of Light and Matter, Princeton University Press, 1985.