Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (22): conservation for matter and gravitational field, covariant form

Proved
EinsteinGrossmann1913.total_conservation_cov

by Lucas · Oct 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

entwurf-theorygeneral-relativityhistory-of-physicstensor-calculus

Let gμνg_{\mu\nu}gμν​ be a fundamental tensor on R4\mathbb R^4R4 (twice continuously differentiable, symmetric, g<0g<0g<0), κ≠0\kappa\neq0κ=0, and TμνT_{\mu\nu}Tμν​ a continuously differentiable covariant stress-energy tensor of matter satisfying the covariant energy-momentum law (20) and the covariant field equations (21). Then for every σ\sigmaσ and every point

∑μν∂∂xν{−g γμν (Tμσ+tμσ)}=0.\sum_{\mu\nu}\frac{\partial}{\partial x_\nu}\Big\{\sqrt{-g}\,\gamma_{\mu\nu}\,(T_{\mu\sigma}+t_{\mu\sigma})\Big\}=0.μν∑​∂xν​∂​{−g​γμν​(Tμσ​+tμσ​)}=0.

This is the covariant analogue of (19): matter and gravitational field together satisfy conservation laws.

Formalization Note The source prints (22) as ∑ν∂∂xν{−g⋅γσμ(Tμν+tμν)}=0\sum_\nu\frac{\partial}{\partial x_\nu}\{\sqrt{-g}\cdot\gamma_{\sigma\mu}(T_{\mu\nu}+t_{\mu\nu})\}=0∑ν​∂xν​∂​{−g​⋅γσμ​(Tμν​+tμν​)}=0, in which the index μ\muμ occurs twice but is not listed under the summation sign and the free index σ\sigmaσ sits on γ\gammaγ. The statement here uses the index placement of (20) and (12b), from which the source says (22) follows “analog (19)”; reviewers should check this reading.

Preamble
import Mathlib
import Definitions.Def_EinsteinGrossmann1913_Defs
Formal statement
namespace EinsteinGrossmann1913

theorem total_conservation_cov (κ : ℝ) (hκ : κ ≠ 0) (g T : Field2) (hg : IsMetricField g)
    (hT : ∀ μ ν : Fin 4, ContDiff ℝ 1 (fun x => T x μ ν))
    (h20 : MatterConservationCov g T) (h21 : EntwurfFieldEquationsCov κ g T)
    (σ : Fin 4) (x : Coord) :
    ∑ μ : Fin 4, ∑ ν : Fin 4,
      pd ν (fun y => sqrtNegDet g y * gamma g y μ ν
        * (T y μ σ + gravStressEnergyCov κ g y μ σ)) x = 0 := by sorry

end EinsteinGrossmann1913
Source
A. Einstein and M. Grossmann, "Entwurf einer verallgemeinerten Relativitätstheorie und einer Theorie der Gravitation", B. G. Teubner, Leipzig und Berlin 1913 (Separatabdruck aus Zeitschrift für Mathematik und Physik 62), Part I (Physikalischer Teil, A. Einstein), §5, p. 17, eq. (22) (index placement corrected, see Formalization Note).
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) - same agent as the drafter; non-blind

Non-blind read-back — not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statements it describes, with full knowledge of the source paper and of the intended meaning. It is not the output of a blind, independent auditor, and no reviewer should treat it as such. Compare it against the Lean code yourself.

Let κ≠0\kappa\neq0κ=0. ggg is an arbitrary map assigning to every point x∈R4x\in\mathbb R^4x∈R4 a real 4×44\times44×4 matrix (gμν(x))(g_{\mu\nu}(x))(gμν​(x)), and the hypothesis IsMetricField ggg requires exactly: every entry x↦gμν(x)x\mapsto g_{\mu\nu}(x)x↦gμν​(x) is C2C^2C2 on all of R4\mathbb R^4R4; gμν(x)=gνμ(x)g_{\mu\nu}(x)=g_{\nu\mu}(x)gμν​(x)=gνμ​(x) for all x,μ,νx,\mu,\nux,μ,ν; and det⁡(gμν(x))<0\det(g_{\mu\nu}(x))<0det(gμν​(x))<0 for every xxx. No signature condition beyond the sign of the determinant is imposed. TTT is a map x↦(Tμν(x))x\mapsto(T_{\mu\nu}(x))x↦(Tμν​(x)) into real 4×44\times44×4 matrices with every entry C1C^1C1 on R4\mathbb R^4R4 (no symmetry assumed). Throughout, ∂if(x)\partial_i f(x)∂i​f(x) is the Fréchet derivative of fff at xxx applied to the iii-th standard basis vector (by convention it is 000 wherever fff is not differentiable), γμν(x)\gamma_{\mu\nu}(x)γμν​(x) denotes the entries of the matrix inverse of (gμν(x))(g_{\mu\nu}(x))(gμν​(x)), −g\sqrt{-g}−g​ is the real square root of −det⁡(gμν(x))-\det(g_{\mu\nu}(x))−det(gμν​(x)), and 1/01/01/0 is read as 000. Indices range over four values (in the code 0,1,2,30,1,2,30,1,2,3; index 333 plays the role of the source's x4x_4x4​). Hypotheses: (i) for all σ,x\sigma,xσ,x: ∑μ,ν∂ν(−g γμνTμσ)(x)+12∑μ,ν−g(x) ∂σγμν(x)Tμν(x)=0\sum_{\mu,\nu}\partial_\nu(\sqrt{-g}\,\gamma_{\mu\nu}T_{\mu\sigma})(x)+\frac12\sum_{\mu,\nu}\sqrt{-g}(x)\,\partial_\sigma\gamma_{\mu\nu}(x)T_{\mu\nu}(x)=0∑μ,ν​∂ν​(−g​γμν​Tμσ​)(x)+21​∑μ,ν​−g​(x)∂σ​γμν​(x)Tμν​(x)=0; (ii) for all x,μ,νx,\mu,\nux,μ,ν: −Dμν(x)=κ (tμν(x)+Tμν(x))-D_{\mu\nu}(x)=\kappa\,(t_{\mu\nu}(x)+T_{\mu\nu}(x))−Dμν​(x)=κ(tμν​(x)+Tμν​(x)), with DμνD_{\mu\nu}Dμν​, tμνt_{\mu\nu}tμν​ as in the definition file. Conclusion: for the given σ\sigmaσ and xxx,

∑μ,ν∂ν(y↦−g(y) γμν(y) (Tμσ(y)+tμσ(y)))(x)=0.\sum_{\mu,\nu}\partial_\nu\Big(y\mapsto\sqrt{-g}(y)\,\gamma_{\mu\nu}(y)\,\big(T_{\mu\sigma}(y)+t_{\mu\sigma}(y)\big)\Big)(x)=0.μ,ν∑​∂ν​(y↦−g​(y)γμν​(y)(Tμσ​(y)+tμσ​(y)))(x)=0.

The tensor TTT is not required to come from a contravariant Θ\ThetaΘ.

Human review
  • Endorsed by Shuze Chen · Oct 10, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 10, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me