Electromagnetism · PhysLib theorem
Gauss and Ampère–Maxwell from the Field Action
PhysLib splits the electromagnetic extremum equation into Gauss's electric law and a componentwise Ampère–Maxwell equation for the magnetic-field matrix.
What it says
What the theorem says
Split the Lorentz-vector gradient into its time and spatial coordinates, identify the time coordinate with electric divergence and charge density, and identify each spatial coordinate with magnetic derivatives, current, and displacement current.
Context
Why it matters
This theorem presents two recognizable Maxwell equations while retaining the exact variational and matrix-valued formal statement supported by PhysLib.
Inside the proof
Proof architecture
The proof is an index split: one Lorentz component becomes Gauss's law and the remaining spatial components become the Ampère–Maxwell relation.
Step 1
Split time from space
PhysLib expands zero of a Lorentz vector into its single time component and its d spatial components at every event.
ν = time or ν = i
Show the Lean ingredients
Lorentz.Vector.sum_inl_inr_basis_eq_zero_iffforall_andStep 2
Read the temporal component as Gauss's law
The time channel reduces to electric-field divergence equal to charge density divided by the free-space permittivity.
∇·E = ρ/ε₀
Show the Lean ingredients
chargeDensityelectricField𝓕.ε₀Step 3
Read the spatial components as Ampère–Maxwell
Each spatial index combines magnetic-field-matrix derivatives, current density, and the time derivative of the electric field with the exact free-space coefficients.
μ₀ε₀ ∂ₜEᵢ = ∑ⱼ∂ⱼBⱼᵢ − μ₀Jᵢ
Show the Lean ingredients
magneticFieldMatrixcurrentDensityFreeSpace.c_sqAuthoritative formal type
Exact PhysLib statement
Electromagnetism.ElectromagneticPotential.isExtrema_iff_gauss_ampere_magneticFieldMatrix {d : ℕ} {𝓕 : Electromagnetism.FreeSpace} {A : Electromagnetism.ElectromagneticPotential d} (hA : ContDiff ℝ (↑⊤) A.val) (J : Electromagnetism.LorentzCurrentDensity d) (hJ : ContDiff ℝ (↑⊤) J) : Electromagnetism.ElectromagneticPotential.IsExtrema 𝓕 A J ↔ ∀ (t : Time) (x : Space d), Space.div (Electromagnetism.ElectromagneticPotential.electricField 𝓕.c A t) x = Electromagnetism.LorentzCurrentDensity.chargeDensity 𝓕.c J t x / 𝓕.ε₀ ∧ ∀ (i : Fin d), 𝓕.μ₀ * 𝓕.ε₀ * (Time.deriv (fun t => Electromagnetism.ElectromagneticPotential.electricField 𝓕.c A t x) t).ofLp i = ∑ j, Space.deriv j (fun x => Electromagnetism.ElectromagneticPotential.magneticFieldMatrix 𝓕.c A t x (j, i)) x - 𝓕.μ₀ * (Electromagnetism.LorentzCurrentDensity.currentDensity 𝓕.c J t x).ofLp iThis 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.
6 direct connections
- Related resultUniform Electric and Magnetic Fields Solve the Vacuum Field Equationis related toGauss and Ampère–Maxwell from the Field Action
- Related resultGauss and Ampère–Maxwell from the Field Actionis related toAn Infinite Straight Wire Solves the Maxwell Extremum Equation
- Related resultGauss and Ampère–Maxwell from the Field Actionis related toThe Covariant Maxwell Equation from the Field Lagrangian
- Related resultGauss and Ampère–Maxwell from the Field Actionis related toGauss's Law for a Point Charge, Distributionally
- Related resultGauss and Ampère–Maxwell from the Field Actionis related toElectric-Field Wave Equation with Charge and Current Sources
- Related resultGauss and Ampère–Maxwell from the Field Actionis related toMagnetic-Field Wave Equation with Current Sources
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 map6 direct connectionsProvenance and verification
Sources and technical checks
Show declaration provenance and Lean checks
Electromagnetism.ElectromagneticPotential.isExtrema_iff_gauss_ampere_magneticFieldMatrixPhyslib.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.



