Local conservation of energy and momentum
OpenEinsteinFieldEquations.stress_energy_divergence_freeLocal conservation of energy–momentum. Let be a metric whose components are four times continuously differentiable, whose matrix is invertible and symmetric at every point, let , and suppose that the Einstein field equations
hold at every point of the chart. Then the stress–energy tensor is covariantly divergence free:
This is the source's "Conservation of energy and momentum": contracting the differential Bianchi identity twice and using metric compatibility gives , whence the field equations force . The smoothness hypothesis is the standing regularity convention of the subject, made explicit here because the covariant divergence of the Einstein tensor involves third derivatives of the metric.
import Definitions.Def_efe_geometry
namespace EinsteinFieldEquations
theorem stress_energy_divergence_free (g T : Tensor2Field) (Lam kappa : ℝ) (x : Coord)
(hsmooth : ∀ i j : Fin 4, ContDiff ℝ 4 (fun y : Coord => g y i j))
(hinv : ∀ y : Coord, IsUnit (g y).det)
(hsymm : ∀ y : Coord, (g y).IsSymm)
(hkappa : kappa ≠ 0)
(hefe : ∀ y : Coord, SatisfiesEFE g Lam kappa T y) :
∀ b : Fin 4, covDiv g T b x = 0 := by sorry
end EinsteinFieldEquationsRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Provenance note — this read-back is NOT independent testimony. It is non-blind: it was written by the same agent that drafted the Lean statements and the mission, at the explicit instruction of the proposal's owner, and not by an independent auditor kept blind to the intended meaning. The author knew the source material and the intended statement while writing it, so it cannot play the cross-checking role a blind read-back is meant to play, and no reviewer should treat it as independent confirmation that the formalization is faithful.
Let and be tensor fields, and real numbers, and a coordinate point. The following are assumed.
- For every pair of indices , the scalar function is of class on all of (four times continuously differentiable, globally, not merely near ).
- For every point , .
- For every point , the matrix equals its own transpose.
- .
- For every point , the field-equation predicate holds at : for all , — note this is assumed at every point, not only at .
The conclusion is that for every ,
That is: the covariant divergence of , contracted on its first index and raised with the inverse metric, vanishes at — four real equations, one per value of .
Two points of strength. No smoothness is assumed of directly: differentiability of its components enters only through hypothesis 5, which pins pointwise to ; the derivative operator would return at a point of non-differentiability, so the conclusion is about whatever value that total operator produces. And the hypotheses are satisfiable — for instance by a constant invertible symmetric metric with arbitrary and the corresponding constant field — so the statement is not vacuous.