Maxwell's equations, the Poynting vector and the electromagnetic energy density (SI)
DefinitionLarmor_em_fieldsThis file states Maxwell's equations in vacuum, in SI units, together with the two energy quantities of the electromagnetic field.
A field configuration consists of a charge density , a current density , an electric field and a magnetic field , all functions of a time and a position . Given a permittivity and a speed of light — so that the vacuum permeability is — the configuration is said to satisfy Maxwell's equations when, at every time and every point,
These are, in order, Gauss's law, the absence of magnetic monopoles, Faraday's law of induction and the Ampère–Maxwell law.
The Poynting vector and the electromagnetic energy density are
is the energy flux density of the field and its energy per unit volume; Poynting's theorem, stated elsewhere in this mission, is what licenses those interpretations, and the surface integral of is what the Larmor formula evaluates.
Formalization Note The divergence, curl and cross product are those of the mission's vector-calculus file. Time derivatives are ordinary derivatives of the map at fixed ; where a field is not differentiable, the ambient convention gives the derivative value . The permeability is never a primitive constant: it appears only as .
import Definitions.Def_Larmor_vec3
namespace Larmor
/-- Maxwell's equations in vacuum, in SI units, for a charge density `ρ` and a current
density `J`, with `ε₀` the vacuum permittivity and `c` the speed of light (so that the
vacuum permeability is `μ₀ = 1 / (ε₀ * c ^ 2)`). Fields are functions of time and
position. -/
structure IsMaxwell (ε₀ c : ℝ) (ρ : ℝ → Vec → ℝ) (J E B : ℝ → Vec → Vec) : Prop where
/-- Gauss's law. -/
gauss : ∀ t x, divg (E t) x = ρ t x / ε₀
/-- Absence of magnetic monopoles. -/
noMonopole : ∀ t x, divg (B t) x = 0
/-- Faraday's law of induction. -/
faraday : ∀ t x, curl (E t) x = -deriv (fun s => B s x) t
/-- The Ampère-Maxwell law. -/
ampere : ∀ t x, curl (B t) x
= (1 / (ε₀ * c ^ 2)) • J t x + (1 / c ^ 2) • deriv (fun s => E s x) t
/-- The Poynting vector `S = (1 / μ₀) E × B = ε₀ c ^ 2 (E × B)`, the energy flux density of
the electromagnetic field. -/
noncomputable def poynting (ε₀ c : ℝ) (E B : Vec) : Vec := (ε₀ * c ^ 2) • cross E B
/-- The electromagnetic energy density `u = (ε₀ / 2) (‖E‖ ^ 2 + c ^ 2 ‖B‖ ^ 2)`. -/
noncomputable def energyDensity (ε₀ c : ℝ) (E B : Vec) : ℝ :=
ε₀ / 2 * (‖E‖ ^ 2 + c ^ 2 * ‖B‖ ^ 2)
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.
Fix two real numbers and (no positivity or non-vanishing is required by the definitions themselves), a scalar field and three vector fields , each written as a function of a time argument and a space argument.
The file introduces a property of the tuple that holds exactly when all four of the following are true for every time and every point :
Here and are the divergence and curl of the mission's vector-calculus file, computed in the space variable at fixed time via Fréchet derivatives along the coordinate directions; the time derivatives are one-dimensional derivatives of and . No differentiability or integrability is assumed: where a field is not differentiable the derivative used is , so the equations are conditions on those conventional values. Note also that the first equation divides by , so for it reads in the Lean convention for division by zero, and the two right-hand sides containing degenerate similarly when .
The file further defines, for vectors ,
with the cross product of the mission's vector-calculus file. Both are unconditional algebraic expressions in the two vectors and the two parameters. Nothing is asserted or proved in this file.