Physics formalizations · Formalized result
EM Poynting Local Conservation
Changing field energy, energy flow, and work on charges balance at a single point in electromagnetism.
Detailed visual description
Inside a circular magnification field, ivory and cobalt ribbons cross through a small transparent sampling cell and form one directed gold flow. A narrow current pulse sits nearby, and faint radial contraction marks a local energy-density change. The cell is not a sealed control volume, so the image does not claim a global boundary-flux theorem or a material-medium result.
First read
The theorem in plain language
The result
Changing field energy, energy flow, and work on charges balance at a single point in electromagnetism.
Assumptions, conventions, and scope · 13 notes
Conventions
- The retained statement is pointwise and local.
- The E x H convention bridge assumes H = (1 / mu) B.
- The strongest adapter discharges the previous magnetic-field differentiability and divergence-scaling hypotheses, but it still does not prove global or boundary-condition conservation.
- The base PhysLib checkout does not expose the familiar ampereLaw and faradayLaw names downstream; canonical evidence uses lower-level exported APIs.
- The ans1 advisor response accepted the target only as review-prep input and required exact source-excerpt and Lean-definition convention checks before promotion.
- The 2026-05-12 convention-audit artifact checks the Lean-side field definitions, raw Poynting vector, raw energy density, Faraday sign, Ampere-Maxwell source convention, and free-space E x H bridge.
- The 2026-05-12 source/semantic review accepts only the bounded pointwise local-balance claim; full, global, boundary-flux, and material-medium Poynting theorem claims remain separate targets.
- The 2026-05-18 source-free corollary is also pointwise: it assumes local zero current density at the selected spacetime point and does not claim a global vacuum region or boundary-flux conservation law.
What this result does not claim
- Does not prove a global or boundary-flux Poynting theorem.
- Does not prove global or boundary-condition energy conservation.
- Does not derive the result from public PhysLib ampereLaw and faradayLaw names in the base dependency checkout.
- Does not prove an arbitrary material-medium E x H theorem.
- Does not approve public wording for the full Poynting theorem.
Inside the formalization
From local field identities to Poynting balance
A source-bound walkthrough of the raw local energy and Poynting-vector conventions, the energy derivative, the divergence-of-cross identity, the PhysLib-facing Maxwell substitutions, their pointwise cancellation, and a source-free local corollary.
Proof story
Seven source-anchored local steps
The first six stages trace the pinned PhysLib-facing pointwise balance from local definitions through differential identities and cancellation. The seventh is a companion generic source-free corollary at the same pinned commit. Every equality is local at one time and position; this walkthrough does not assert a global flux theorem, a control-volume result, or boundary-condition conservation.
Primary path · step 1 of 7
Fix the local energy and flow conventions
u = ½(ε₀‖E‖² + μ₀⁻¹‖B‖²), S = μ₀⁻¹(E × B)
The convention-audit source records exactly which raw local energy density and E-cross-B Poynting vector the adapter uses. These are pointwise wrappers over PhysLib fields, not unit-aware or material-medium definitions.
Lean anchors · 2 declarations
- Raw Poynting-vector convention
PhysAtlasFormalizations.PhysAtlasFormalizations/Electromagnetism/PoyntingConventionAudit.lean · source lines 32–42Electromagnetism. PhyslibMaxwellAdapter. poyntingConventionAudit_ rawPoyntingVector - Raw energy-density convention
PhysAtlasFormalizations.PhysAtlasFormalizations/Electromagnetism/PoyntingConventionAudit.lean · source lines 44–55Electromagnetism. PhyslibMaxwellAdapter. poyntingConventionAudit_ rawEnergyDensity
The pinned convention uses two local field-energy contributions and the right-handed E-cross-B flow direction. Detailed visual description
The convention-audit source records exactly which raw local energy density and E-cross-B Poynting vector the adapter uses. These are pointwise wrappers over PhysLib fields, not unit-aware or material-medium definitions. This image explains the proof organization and is not formal or semantic evidence.
- Raw Poynting-vector convention
Primary path · step 2 of 7
Differentiate the stored field energy
∂ₜu = ε₀⟨E,∂ₜE⟩ + μ₀⁻¹⟨B,∂ₜB⟩
Differentiability at the selected point turns the derivative of the half-normalized squared norms into electric and magnetic inner-product terms. This is a time derivative at fixed position.
Lean anchors · 1 declaration
- Raw electromagnetic energy time derivative
PhysAtlasFormalizations.PhysAtlasFormalizations/Electromagnetism/PoyntingEnergyDerivative.lean · source lines 10–44Electromagnetism. electromagneticEnergyDensityFieldRaw_ time_ deriv
At a fixed position, the local energy derivative separates into electric and magnetic field-rate terms. Detailed visual description
Differentiability at the selected point turns the derivative of the half-normalized squared norms into electric and magnetic inner-product terms. This is a time derivative at fixed position. This image explains the proof organization and is not formal or semantic evidence.
- Raw electromagnetic energy time derivative
Primary path · step 3 of 7
Resolve the divergence of the cross flow
∇·(E×B) = ⟨B,∇×E⟩ − ⟨E,∇×B⟩
A retained three-dimensional vector-calculus theorem rewrites the local divergence of the cross product as the difference of two curl couplings. Spatial differentiability is explicit.
Lean anchors · 1 declaration
- Divergence of a cross product
PhysAtlasFormalizations.PhysAtlasFormalizations/Electromagnetism/DivCrossProductIdentity.lean · source lines 13–29Electromagnetism. div_ cross_ eq_ inner_ curl_ sub
The local divergence of E cross B resolves into two opposed curl-inner-product contributions. Detailed visual description
A retained three-dimensional vector-calculus theorem rewrites the local divergence of the cross product as the difference of two curl couplings. Spatial differentiability is explicit. This image explains the proof organization and is not formal or semantic evidence.
- Divergence of a cross product
Primary path · step 4 of 7
Recover the Faraday sign from the potential
∂ₜB = −∇×E
The PhysLib-facing adapter derives the local Faraday relation from the smooth electromagnetic potential definitions. The negative orientation is part of the checked Lean-side convention map.
Lean anchors · 1 declaration
- Faraday relation for the PhysLib-backed fields
PhysAtlasFormalizations.PhysAtlasFormalizations/Electromagnetism/PoyntingMaxwellAdapter.lean · source lines 40–66Electromagnetism. PhyslibMaxwellAdapter. faraday_ as_ poynting_ hyp
Smooth potential fields supply the local Faraday substitution with its explicit negative sign convention. Detailed visual description
The PhysLib-facing adapter derives the local Faraday relation from the smooth electromagnetic potential definitions. The negative orientation is part of the checked Lean-side convention map. This image explains the proof organization and is not formal or semantic evidence.
- Faraday relation for the PhysLib-backed fields
Primary path · step 5 of 7
Recover the Ampere–Maxwell source term
∇×B = μ₀J + μ₀ε₀∂ₜE
The IsExtrema hypothesis and smooth potential/current data produce the pointwise curl-B equation used by the balance proof. Material current and the electric-field time derivative remain separate source contributions.
Lean anchors · 1 declaration
- Ampere–Maxwell relation for the PhysLib-backed fields
PhysAtlasFormalizations.PhysAtlasFormalizations/Electromagnetism/PoyntingMaxwellAdapter.lean · source lines 17–38Electromagnetism. PhyslibMaxwellAdapter. ampere_ as_ poynting_ hyp
The checked adapter keeps conduction current and electric-field time change visible before they join the local curl-B relation. Detailed visual description
The IsExtrema hypothesis and smooth potential/current data produce the pointwise curl-B equation used by the balance proof. Material current and the electric-field time derivative remain separate source contributions. This image explains the proof organization and is not formal or semantic evidence.
- Ampere–Maxwell relation for the PhysLib-backed fields
Primary path · step 6 of 7
Cancel the paired field terms locally
∂ₜu + ∇·S = −⟨J,E⟩
Substituting Faraday and Ampere–Maxwell into the divergence identity cancels the paired electric and magnetic field-rate terms. The remaining pointwise equality balances local energy change, local Poynting divergence, and current work.
Lean anchors · 2 declarations
- Pointwise cancellation algebra
PhysAtlasFormalizations.PhysAtlasFormalizations/Electromagnetism/PoyntingLocalConservation.lean · source lines 33–51Electromagnetism. poyntingLocalConservation_ pointwise_ algebra - PhysLib-facing no-extra-hypotheses wrapper
PhysAtlasFormalizations.PhysAtlasFormalizations/Electromagnetism/PoyntingMaxwellAdapter.lean · source lines 195–224Electromagnetism. PhyslibMaxwellAdapter. poyntingLocalConservation_ of_ physlibMaxwell_ pointwise_ no_ extra_ hypotheses
After the paired field terms cancel, the surviving equality is still pointwise: energy rate plus local divergence equals negative current work. Detailed visual description
Substituting Faraday and Ampere–Maxwell into the divergence identity cancels the paired electric and magnetic field-rate terms. The remaining pointwise equality balances local energy change, local Poynting divergence, and current work. This image explains the proof organization and is not formal or semantic evidence.
- Pointwise cancellation algebra
Companion source-free corollary
Set the local current to zero
J(t,x) = 0 ⟹ ∂ₜu(t,x) + ∇·S(t,x) = 0
At the pinned presentation commit, a companion generic theorem specializes the local identity when the current density vanishes at the selected point. Its explicit Maxwell, divergence, and derivative hypotheses remain in scope; this is not an integral or boundary-flux theorem.
Lean anchors · 1 declaration
- Generic source-free pointwise corollary
PhysAtlasFormalizations.PhysAtlasFormalizations/Electromagnetism/PoyntingLocalConservation.lean · source lines 115–142Electromagnetism. poyntingLocalConservation_ sourceFree_ pointwise
With current absent at the selected point, the local field-energy rate and local Poynting divergence sum to zero. Detailed visual description
At the pinned presentation commit, a companion generic theorem specializes the local identity when the current density vanishes at the selected point. Its explicit Maxwell, divergence, and derivative hypotheses remain in scope; this is not an integral or boundary-flux theorem. This image explains the proof organization and is not formal or semantic evidence.
- Generic source-free pointwise corollary
Exact checked target
Lean statement
PhysAtlasFormalizations@528e6dafc414theorem poyntingLocalConservation_of_physlibMaxwell_pointwise_no_extra_hypotheses
(F : FreeSpace)
(V : ElectromagneticPotential)
(J4 : LorentzCurrentDensity)
(t : Time) (x : Space)
(hExtrema : _root_.Electromagnetism.ElectromagneticPotential.IsExtrema F V J4)
(hV : ContDiff ℝ ∞ V)
(hJ : ContDiff ℝ ∞ J4) :
Time.deriv
(fun tau =>
electromagneticEnergyDensityFieldRaw F.ε₀ F.μ₀
(V.electricField F.c) (V.magneticField F.c) tau x) t +
(∇ ⬝ (poyntingVectorFieldRaw F.μ₀
(V.electricField F.c) (V.magneticField F.c) t)) x =
-inner ℝ (J4.currentDensity F.c t x) (V.electricField F.c t x)How to read the footprint: It measures retained source size, not proof difficulty or quality.
The diagrams explain the proof structure; the exact Lean statement above is the checked object.
Recorded connections
How this result fits
A one-step view of the published results directly connected to this page.
Used by
Results that build on this page
3 direct connections
- Theorem collectionEM Poynting Local Conservationbelongs toElectromagnetic Energy And Momentum
- Scientific prerequisiteEM Poynting Local ConservationprecedesCharge Continuity from Maxwell Identities
- Scientific prerequisiteEM Poynting Local ConservationprecedesPointwise Maxwell Stress Momentum Balance
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 connectionsSources
Reviewed sources and further reading
LibreTexts Poynting theorem source
Reviewed source supporting the statement, conventions, or physical context on this page.
Source notes
Reviewed source for the standard local Poynting balance, S = E x H convention, electromagnetic storage terms, and free-space H = B / mu0 bridge used to justify the bounded E x B / mu0 wording.
OpenStax EM wave energy-flow source
Reviewed supporting source for Poynting-vector energy-flow context and E cross B orientation in the free-space wave setting.
Open source ↗PhysLib electromagnetic IsExtrema source
Reviewed source supporting the statement, conventions, or physical context on this page.
Source notes
Reviewed code source for the PhysLib IsExtrema bridge used by the strongest owned adapter.
Lean evidence
What Lean checked
The walkthrough declarations come first. Additional linked names and scope boundaries stay in the technical index.
4 walkthrough declarations shown · 6 additional linked names.
Walkthrough declaration preview
PhysAtlasFormalizations.Electromagnetism. PhyslibMaxwellAdapter. poyntingLocalConservation_ of_ physlibMaxwell_ pointwise_ no_ extra_ hypotheses PhysAtlasFormalizations.Electromagnetism. PhyslibMaxwellAdapter. poyntingConventionAudit_ rawPoyntingVector PhysAtlasFormalizations.Electromagnetism. PhyslibMaxwellAdapter. poyntingConventionAudit_ rawEnergyDensity PhysAtlasFormalizations.Electromagnetism. div_ cross_ eq_ inner_ curl_ sub
Technical evidence details6 more names · 4 scope boundaries
Additional linked declarations
PhysAtlasFormalizations.Electromagnetism. PhyslibMaxwellAdapter. poyntingConventionAudit_ EH_ freeSpaceBridge PhysAtlasFormalizations.Electromagnetism. PhyslibMaxwellAdapter. poyntingConventionAudit_ physlibElectricField_ def PhysAtlasFormalizations.Electromagnetism. PhyslibMaxwellAdapter. poyntingConventionAudit_ physlibMagneticField_ def PhysAtlasFormalizations.Electromagnetism. PhyslibMaxwellAdapter. poyntingConventionAudit_ pointwise PhysAtlasFormalizations.Electromagnetism. PhyslibMaxwellAdapter. poyntingLocalConservation_ of_ physlibMaxwell_ sourceFree_ pointwise_ no_ extra_ hypotheses PhysAtlasFormalizations.Electromagnetism. poyntingVectorFieldRaw_ divergence_ scaling
Scope boundaries
- Does not prove global or boundary-condition energy conservation.
- Does not prove that concrete fields satisfy all differentiability hypotheses.
- Does not prove the full Poynting theorem from all PhysLib Maxwell structures.
- This formal-evidence record alone does not semantically validate electromagnetic sign or unit conventions against public source prose.
Proof bodies, checker logs, and local paths are not part of this public view.
Technical details and page dataPage identifier and JSON
formalization.em_poynting.local_conservation






