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ν.

Provided by PhysLibLean checkedMeaning reviewed

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 J

Step 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_fieldStrengthMatrixfieldStrengthMatrix

Step 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_combination

Authoritative 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.

Current resultThe Covariant Maxwell Equation from the Field Lagrangian
3 direct connections

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 connections

Provenance and verification

Sources and technical checks

Show declaration provenance and Lean checks
PhysLib declarationElectromagnetism.ElectromagneticPotential.isExtrema_iff_fieldStrengthMatrix
Source modulePhyslib.Electromagnetism.Dynamics.IsExtrema
Source footprint27 nonempty lines in this declaration · 709 nonempty lines in its module
Checked commit6bd0b4b99d3d
Reported Lean axiomsClassical.choice, Quot.sound, propext
Unresolved placeholdersNo sorryAx reported

View theorem in PhysLib ↗

The 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.

Expanded visual

Explanatory image · not evidence.

Open original in a new tab