Poynting's theorem:
ProvedLarmor.poynting_theoremPoynting's theorem. Let and , and let , , , be a charge density, a current density, an electric field and a magnetic field satisfying Maxwell's equations in SI units. Assume that for each fixed time the fields and are differentiable in space, and that for each fixed point they are differentiable in time. Then at every time and every point ,
where
are the electromagnetic energy density and the Poynting vector.
This is the local conservation law for electromagnetic energy: the field energy in a region changes only through the flux of across its boundary and the work done on the charges. It is the statement that turns the surface integral of the Poynting vector into "the radiated power", and is therefore the foundation on which the Larmor formula's definition of power rests.
Formalization Note The time derivative is the derivative of at , and the divergence is taken in the space variable with the time frozen at .
import Definitions.Def_Larmor_em_fields
namespace Larmor
theorem poynting_theorem (ε₀ c : ℝ) (hε : 0 < ε₀) (hc : 0 < c)
(ρ : ℝ → Vec → ℝ) (J E B : ℝ → Vec → Vec)
(hmax : IsMaxwell ε₀ c ρ J E B)
(hEx : ∀ t, Differentiable ℝ (E t)) (hBx : ∀ t, Differentiable ℝ (B t))
(hEt : ∀ x, Differentiable ℝ fun s => E s x) (hBt : ∀ x, Differentiable ℝ fun s => B s x)
(t : ℝ) (x : Vec) :
deriv (fun s => energyDensity ε₀ c (E s x) (B s x)) t
+ divg (fun y => poynting ε₀ c (E t y) (B t y)) x
= -inner ℝ (J t x) (E t x) := by sorry
end LarmorRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Disclosure — this read-back is not blind. It was written by the same agent that drafted the formal statements in this proposal, at the explicit instruction of the proposal owner, and not by an independent auditor with fresh context. It is therefore not independent testimony and must not be treated as such: the author already knew what the code was intended to say, which is exactly the bias that a blind read-back exists to eliminate. Please read it as an author's own rendering of the Lean code and audit the statements directly against the source material.
Let and be real numbers with and . Let and , each written with a time argument and a space argument. Assume:
- the tuple satisfies the mission's Maxwell predicate, that is, for all :
with divergence and curl defined through Fréchet derivatives along the coordinate directions; 2. for every , the maps and are differentiable on all of ; 3. for every , the maps and are differentiable on all of .
Then for every time and every point the following equality of real numbers holds:
The first term is the ordinary derivative in time, at fixed , of the energy density ; the second is the spatial divergence, at fixed time , of the vector field , with the cross product of the mission's vector-calculus file; the right-hand side is minus the Euclidean inner product of the current density with the electric field at the same event. The conclusion is an unconditional pointwise identity — it is claimed at every , with no exceptional set. The hypotheses are satisfiable (for instance by vacuum plane waves), so the statement is not vacuous.