Electromagnetism · PhysLib theorem
The Covariant Maxwell Equation from the Field Lagrangian
For smooth electromagnetic potential and current fields, PhysLib identifies its Lagrangian extremum condition with the component equation ∂μFμν = μ₀Jν.
What it says
What the theorem says
PhysLib rewrites the variational gradient as a field-strength divergence minus current, expands a Lorentz-vector zero condition componentwise, and solves the scalar coefficient relation using nonzero μ₀.
Context
Why it matters
The covariant inhomogeneous Maxwell equation is a central landmark, and this theorem ties it exactly to PhysLib's field-action extremum predicate.
Inside the proof
Proof architecture
The proof moves from a variational-gradient equation in Lorentz-vector form to one scalar equation for every spacetime component.
Step 1
Start from the extremum condition
The predicate says that the variational gradient of the electromagnetic Lagrangian vanishes as a Lorentz-vector-valued function.
δℒ/δA = 0
Show the Lean ingredients
isExtrema_iff_gradLagrangianIsExtrema 𝓕 A JStep 2
Rewrite with the field strength
A prior PhysLib identity converts the gradient into the summed spacetime derivative of the antisymmetric field-strength matrix and the current term.
∑μ ∂μFμν − μ₀Jν = 0
Show the Lean ingredients
gradLagrangian_eq_sum_fieldStrengthMatrixfieldStrengthMatrixStep 3
Resolve every Lorentz component
The Lorentz-vector zero criterion and nonzero free-space constants turn the vector equation into the final equality for all events and ν indices.
∂μFμν = μ₀Jν
Show the Lean ingredients
Lorentz.Vector.sum_basis_eq_zero_iffη_diag_ne_zerolinear_combinationAuthoritative formal type
Exact PhysLib statement
Electromagnetism.ElectromagneticPotential.isExtrema_iff_fieldStrengthMatrix {d : ℕ} {𝓕 : Electromagnetism.FreeSpace} (A : Electromagnetism.ElectromagneticPotential d) (hA : ContDiff ℝ (↑⊤) A.val) (J : Electromagnetism.LorentzCurrentDensity d) (hJ : ContDiff ℝ (↑⊤) J) : Electromagnetism.ElectromagneticPotential.IsExtrema 𝓕 A J ↔ ∀ (x : SpaceTime d) (ν : Fin 1 ⊕ Fin d), ∑ μ, SpaceTime.deriv μ (fun x => (A.fieldStrengthMatrix x) (μ, ν)) x = 𝓕.μ₀ * J x νThis is the theorem's exact Lean type. The diagrams and commentary are explanatory; the pinned statement and source are authoritative.
Recorded connections
How this result fits
A one-step view of the published results directly connected to this page.
3 direct connections
- Related resultThe Electromagnetic Lagrangian in E, B, Charge, and Currentis related toThe Covariant Maxwell Equation from the Field Lagrangian
- Related resultGauss and Ampère–Maxwell from the Field Actionis related toThe Covariant Maxwell Equation from the Field Lagrangian
- Related resultThe Covariant Maxwell Equation from the Field Lagrangianis related toLorentz Covariance of the Electromagnetic Field Equation
Only recorded public relationships are shown. A shared topic does not imply a dependency, and this is not a complete Lean proof-term dependency graph.
Open this result in the full theorem map3 direct connectionsProvenance and verification
Sources and technical checks
Show declaration provenance and Lean checks
Electromagnetism.ElectromagneticPotential.isExtrema_iff_fieldStrengthMatrixPhyslib.Electromagnetism.Dynamics.IsExtrema6bd0b4b99d3dsorryAx reportedThe declaration footprint describes source layout, not proof difficulty or the size of its dependencies. The pinned checks verify the cited Lean theorem; semantic review remains a separate PhysAtlas judgment.



