Electromagnetism · PhysLib theorem

Electromagnetic Hamiltonian in Electric and Magnetic Variables

Rewrites PhysLib's electromagnetic Hamiltonian into its exact electric-field norm, magnetic-field-matrix norm, scalar-potential gradient, charge-density, and current-density terms under C2 smoothness.

Provided by PhysLibLean checkedMeaning reviewed

What it says

What the theorem says

Invoke the preceding Hamiltonian formula that isolates the electric norm and E dot grad phi. Replace L by PhysLib's exact electric, magnetic, scalar-charge, and vector-current expression. Use the free-space c² identity, clear denominators, and normalize the polynomial expression.

Context

Why it matters

The Hamiltonian expression complements the Lagrangian page while retaining the exact potential-current terms.

Inside the proof

Proof architecture

The Hamiltonian expression complements the Lagrangian page while retaining the exact potential-current terms.

Step 1

Start from the scalar-potential form

Invoke the preceding Hamiltonian formula that isolates the electric norm and E dot grad phi.

H = electric terms - L

Show the Lean ingredients
hamiltonian_eq_electricField_scalarPotential

Step 2

Insert the field Lagrangian

Replace L by PhysLib's exact electric, magnetic, scalar-charge, and vector-current expression.

L = L(E,B,φ,A,ρ,J)

Show the Lean ingredients
lagrangian_eq_electric_magnetic

Step 3

Collect the coefficients

Use the free-space c² identity, clear denominators, and normalize the polynomial expression.

c² = 1/(μ0 ε0)

Show the Lean ingredients
FreeSpace.c_sqfield_simpring

Authoritative formal type

Exact PhysLib statement

Electromagnetism.ElectromagneticPotential.hamiltonian_eq_electricField_magneticField {d : ℕ} {𝓕 : Electromagnetism.FreeSpace} (A : Electromagnetism.ElectromagneticPotential d) (hA : ContDiff ℝ 2 A.val) (J : Electromagnetism.LorentzCurrentDensity d) (x : SpaceTime d) : Electromagnetism.ElectromagneticPotential.hamiltonian 𝓕 A J x = 1 / 2 * 𝓕.ε₀ * (‖Electromagnetism.ElectromagneticPotential.electricField 𝓕.c A ((SpaceTime.time 𝓕.c) x) (SpaceTime.space x)‖ ^ 2 + 𝓕.c.val ^ 2 / 2 * ∑ i, ∑ j, ‖Electromagnetism.ElectromagneticPotential.magneticFieldMatrix 𝓕.c A ((SpaceTime.time 𝓕.c) x) (SpaceTime.space x) (i, j)‖ ^ 2) + 𝓕.ε₀ * inner ℝ (Electromagnetism.ElectromagneticPotential.electricField 𝓕.c A ((SpaceTime.time 𝓕.c) x) (SpaceTime.space x)) (Space.grad (fun x_1 => Electromagnetism.ElectromagneticPotential.scalarPotential 𝓕.c A ((SpaceTime.time 𝓕.c) x) x_1) (SpaceTime.space x)) + Electromagnetism.ElectromagneticPotential.scalarPotential 𝓕.c A ((SpaceTime.time 𝓕.c) x) (SpaceTime.space x) * Electromagnetism.LorentzCurrentDensity.chargeDensity 𝓕.c J ((SpaceTime.time 𝓕.c) x) (SpaceTime.space x) - ∑ i, (Electromagnetism.ElectromagneticPotential.vectorPotential 𝓕.c A ((SpaceTime.time 𝓕.c) x) (SpaceTime.space x)).ofLp i * (Electromagnetism.LorentzCurrentDensity.currentDensity 𝓕.c J ((SpaceTime.time 𝓕.c) x) (SpaceTime.space x)).ofLp i

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 resultElectromagnetic Hamiltonian in Electric and Magnetic Variables
2 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 map2 direct connections

Provenance and verification

Sources and technical checks

Show declaration provenance and Lean checks
PhysLib declarationElectromagnetism.ElectromagneticPotential.hamiltonian_eq_electricField_magneticField
Source modulePhyslib.Electromagnetism.Dynamics.Hamiltonian
Source footprint14 nonempty lines in this declaration · 252 nonempty lines in its module
Checked commit6bd0b4b99d3d
Reported Lean axiomspropext
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