invariance of the QED Lagrangian density
ProvedQED.lagrangian_gauge_invariantThe QED Lagrangian density
is invariant, pointwise in spacetime, under the gauge transformation , with real parameter .
This is the symmetry principle on which the whole theory is built: the statement that QED is an abelian gauge theory with group is precisely the invariance of its action density under this transformation. The matter part is invariant because the phase cancels between and the covariantly transforming , the mass term because , and the field part because the curvature is unchanged. By Noether's theorem this symmetry is what yields the conserved current .
import Definitions.Def_QED_fields
namespace QED
theorem lagrangian_gauge_invariant (m e : ℝ) (γ : Fin 4 → Matrix (Fin 4) (Fin 4) ℂ)
(A : GaugeField) (ψ : SpinorField) (χ : Spacetime → ℝ)
(hA : ContDiff ℝ 1 A) (hχ : ContDiff ℝ 2 χ) (hψ : ContDiff ℝ 1 ψ) (x : Spacetime) :
lagrangian m e γ (gaugeShift χ A) (gaugePhase e χ ψ) x = lagrangian m e γ A ψ x := by sorry
end QEDRead-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.
Fix real numbers and and an arbitrary family of four complex matrices — no Clifford relation, no hermiticity, no invertibility is assumed of anywhere in this statement. Fix a gauge field that is continuously differentiable, a spinor field that is continuously differentiable, and a real scalar that is twice continuously differentiable.
Write for the pairing, , and with , and set
With and , the assertion is the pointwise equality of complex numbers
at every point .
This is an equality of the full Lagrangian densities including the term, not of the matter part alone, and it is an equality of values at a point, not of integrals over spacetime. The mass term uses the identity matrix inside the pairing, i.e. it is . The degenerate instances , , and are all included in the quantification.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.