PhysAtlasPhysics Math AtlasPublic atlas

Physics formalizations · Formalized result

EM Poynting Local Conservation

Changing field energy, energy flow, and work on charges balance at a single point in electromagnetism.

A close-up field patch relates local electromagnetic energy change, Poynting flow, and current work.
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.

7 source-anchored steps625 nonempty lines across cited source files6 source files

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.

  1. 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 conventionPhysAtlasFormalizations.Electromagnetism.PhyslibMaxwellAdapter.poyntingConventionAudit_rawPoyntingVectorPhysAtlasFormalizations/Electromagnetism/PoyntingConventionAudit.lean · source lines 32–42
    • Raw energy-density conventionPhysAtlasFormalizations.Electromagnetism.PhyslibMaxwellAdapter.poyntingConventionAudit_rawEnergyDensityPhysAtlasFormalizations/Electromagnetism/PoyntingConventionAudit.lean · source lines 44–55
    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.

  2. 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 derivativePhysAtlasFormalizations.Electromagnetism.electromagneticEnergyDensityFieldRaw_time_derivPhysAtlasFormalizations/Electromagnetism/PoyntingEnergyDerivative.lean · source lines 10–44
    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.

  3. 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 productPhysAtlasFormalizations.Electromagnetism.div_cross_eq_inner_curl_subPhysAtlasFormalizations/Electromagnetism/DivCrossProductIdentity.lean · source lines 13–29
    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.

  4. 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 fieldsPhysAtlasFormalizations.Electromagnetism.PhyslibMaxwellAdapter.faraday_as_poynting_hypPhysAtlasFormalizations/Electromagnetism/PoyntingMaxwellAdapter.lean · source lines 40–66
    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.

  5. 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 fieldsPhysAtlasFormalizations.Electromagnetism.PhyslibMaxwellAdapter.ampere_as_poynting_hypPhysAtlasFormalizations/Electromagnetism/PoyntingMaxwellAdapter.lean · source lines 17–38
    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.

  6. 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 algebraPhysAtlasFormalizations.Electromagnetism.poyntingLocalConservation_pointwise_algebraPhysAtlasFormalizations/Electromagnetism/PoyntingLocalConservation.lean · source lines 33–51
    • PhysLib-facing no-extra-hypotheses wrapperPhysAtlasFormalizations.Electromagnetism.PhyslibMaxwellAdapter.poyntingLocalConservation_of_physlibMaxwell_pointwise_no_extra_hypothesesPhysAtlasFormalizations/Electromagnetism/PoyntingMaxwellAdapter.lean · source lines 195–224
    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.

  7. 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 corollaryPhysAtlasFormalizations.Electromagnetism.poyntingLocalConservation_sourceFree_pointwisePhysAtlasFormalizations/Electromagnetism/PoyntingLocalConservation.lean · source lines 115–142
    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.

Exact checked target

Lean statement

PhysAtlasFormalizations@528e6dafc414
theorem 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.

Current resultEM Poynting Local Conservation
2 connections

Used by

Results that build on this page

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

Sources

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.

Open source ↗

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.

Open source ↗

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
Evidence records1
Linked names10
Artifacts4
Supporting names11

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
Page IDformalization.em_poynting.local_conservation
Download page JSON

Expanded visual

Explanatory image · not evidence.

Open original in a new tab