Four-divergence of the four-current:
ProvedContinuityEqWiki.fourDiv_fourCurrentLet be the speed of light, and let and be a density and its current, both jointly in . Form the four-current as a field on spacetime with coordinates , . Then at every spacetime point ,
This identifies the four-divergence of the four-current with the left-hand side of the continuity equation.
import Mathlib import Definitions.Def_ContinuityEqWiki_Defs
namespace ContinuityEqWiki
theorem fourDiv_fourCurrent (c : ℝ) (hc : 0 < c) (ρ : ℝ → Space → ℝ) (j : ℝ → Space → Space)
(hρ : ContDiff ℝ 1 (Function.uncurry ρ)) (hj : ContDiff ℝ 1 (Function.uncurry j))
(t : ℝ) (x : Space) :
fourDiv (fourCurrent c ρ j) (spacetimePoint c t x) = timeDeriv ρ t x + div (j t) x := by sorry
end ContinuityEqWikiRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) - drafting agent, non-blind read-back
Non-blind read-back — not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statement it describes, at the explicit request of the proposal owner. Its author knew the source text and the intended meaning while writing it, so it must not be mistaken for a blind, independent audit. Reviewers should compare the Lean code against the source themselves.
Let , and , with and both . Let be . Then for every and ,
where is the partial derivative in the -th spacetime coordinate, the derivative of at , and the spatial divergence.