Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (19): matter and gravitational field together satisfy the conservation laws

Proved
EinsteinGrossmann1913.total_conservation

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=det⁡(gμν)<0g=\det(g_{\mu\nu})<0g=det(gμν​)<0), let κ≠0\kappa\neq0κ=0, and let Θμν\Theta_{\mu\nu}Θμν​ be a continuously differentiable contravariant stress-energy tensor of a material process such that

  1. the energy-momentum law of matter (10) holds:
∑μν∂∂xν(−g gσμΘμν)−12∑μν−g ∂gμν∂xσΘμν=0;\sum_{\mu\nu}\frac{\partial}{\partial x_\nu}\big(\sqrt{-g}\,g_{\sigma\mu}\Theta_{\mu\nu}\big)-\tfrac12\sum_{\mu\nu}\sqrt{-g}\,\frac{\partial g_{\mu\nu}}{\partial x_\sigma}\Theta_{\mu\nu}=0;μν∑​∂xν​∂​(−g​gσμ​Θμν​)−21​μν∑​−g​∂xσ​∂gμν​​Θμν​=0;
  1. the Entwurf gravitational field equations (18) hold: Δμν(γ)=κ(Θμν+ϑμν)\Delta_{\mu\nu}(\gamma)=\kappa(\Theta_{\mu\nu}+\vartheta_{\mu\nu})Δμν​(γ)=κ(Θμν​+ϑμν​), with ϑμν\vartheta_{\mu\nu}ϑμν​ the stress-energy tensor of the gravitational field, eq. (13), and Δμν\Delta_{\mu\nu}Δμν​ the operator of eq. (15).

Then for every σ=1,2,3,4\sigma=1,2,3,4σ=1,2,3,4 and every point

∑μν∂∂xν{−g gσμ (Θμν+ϑμν)}=0.\sum_{\mu\nu}\frac{\partial}{\partial x_\nu}\Big\{\sqrt{-g}\,g_{\sigma\mu}\,(\Theta_{\mu\nu}+\vartheta_{\mu\nu})\Big\}=0.μν∑​∂xν​∂​{−g​gσμ​(Θμν​+ϑμν​)}=0.

In the words of the source: “Hieraus ersieht man, daß für Materie und Gravitationsfeld zusammen die Erhaltungssätze gelten.” The gravitational stress-energy ϑμν\vartheta_{\mu\nu}ϑμν​ enters the field equations in the same way as Θμν\Theta_{\mu\nu}Θμν​, and the total energy-momentum of matter and field is conserved.

Formalization Note Everything is stated in one global chart on R4\mathbb R^4R4; Θ\ThetaΘ is assumed C1C^1C1 so that the derivatives in (10) and in the conclusion are genuine derivatives.

Preamble
import Mathlib
import Definitions.Def_EinsteinGrossmann1913_Defs
Formal statement
namespace EinsteinGrossmann1913

theorem total_conservation (κ : ℝ) (hκ : κ ≠ 0) (g Θ : Field2) (hg : IsMetricField g)
    (hΘ : ∀ μ ν : Fin 4, ContDiff ℝ 1 (fun x => Θ x μ ν))
    (h10 : MatterConservation g Θ) (h18 : EntwurfFieldEquations κ g Θ)
    (σ : Fin 4) (x : Coord) :
    ∑ μ : Fin 4, ∑ ν : Fin 4,
      pd ν (fun y => sqrtNegDet g y * g y σ μ
        * (Θ y μ ν + gravStressEnergy κ 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. (19), derived from eqs. (10), (12a) and (18).
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 κ\kappaκ be a real number with κ≠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. Θ\ThetaΘ is a map x↦(Θμν(x))x\mapsto(\Theta_{\mu\nu}(x))x↦(Θμν​(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:

  1. (eq. (10)) for every σ\sigmaσ and every xxx: ∑μ,ν∂ν(y↦−g(y) gσμ(y)Θμν(y))(x)−12∑μ,ν−g(x) ∂σgμν(x) Θμν(x)=0\sum_{\mu,\nu}\partial_\nu\big(y\mapsto\sqrt{-g}(y)\,g_{\sigma\mu}(y)\Theta_{\mu\nu}(y)\big)(x)-\frac12\sum_{\mu,\nu}\sqrt{-g}(x)\,\partial_\sigma g_{\mu\nu}(x)\,\Theta_{\mu\nu}(x)=0∑μ,ν​∂ν​(y↦−g​(y)gσμ​(y)Θμν​(y))(x)−21​∑μ,ν​−g​(x)∂σ​gμν​(x)Θμν​(x)=0;
  2. (eq. (18)) for every x,μ,νx,\mu,\nux,μ,ν: Δμν(x)=κ(Θμν(x)+ϑμν(x))\Delta_{\mu\nu}(x)=\kappa\big(\Theta_{\mu\nu}(x)+\vartheta_{\mu\nu}(x)\big)Δμν​(x)=κ(Θμν​(x)+ϑμν​(x)), where ϑμν=−12κ∑α,β,τ,ρ(γαμγβν−12γμνγαβ)∂αgτρ ∂βγτρ\vartheta_{\mu\nu}=-\frac{1}{2\kappa}\sum_{\alpha,\beta,\tau,\rho}\big(\gamma_{\alpha\mu}\gamma_{\beta\nu}-\tfrac12\gamma_{\mu\nu}\gamma_{\alpha\beta}\big)\partial_\alpha g_{\tau\rho}\,\partial_\beta\gamma_{\tau\rho}ϑμν​=−2κ1​∑α,β,τ,ρ​(γαμ​γβν​−21​γμν​γαβ​)∂α​gτρ​∂β​γτρ​ and Δμν=∑α,β1−g∂α(γαβ−g ∂βγμν)−∑α,β,τ,ργαβgτρ ∂αγμτ ∂βγνρ\Delta_{\mu\nu}=\sum_{\alpha,\beta}\frac{1}{\sqrt{-g}}\partial_\alpha\big(\gamma_{\alpha\beta}\sqrt{-g}\,\partial_\beta\gamma_{\mu\nu}\big)-\sum_{\alpha,\beta,\tau,\rho}\gamma_{\alpha\beta}g_{\tau\rho}\,\partial_\alpha\gamma_{\mu\tau}\,\partial_\beta\gamma_{\nu\rho}Δμν​=∑α,β​−g​1​∂α​(γαβ​−g​∂β​γμν​)−∑α,β,τ,ρ​γαβ​gτρ​∂α​γμτ​∂β​γνρ​.

Conclusion: for the given index σ\sigmaσ and point xxx,

∑μ,ν∂ν(y↦−g(y) gσμ(y)(Θμν(y)+ϑμν(y)))(x)=0.\sum_{\mu,\nu}\partial_\nu\Big(y\mapsto\sqrt{-g}(y)\,g_{\sigma\mu}(y)\big(\Theta_{\mu\nu}(y)+\vartheta_{\mu\nu}(y)\big)\Big)(x)=0.μ,ν∑​∂ν​(y↦−g​(y)gσμ​(y)(Θμν​(y)+ϑμν​(y)))(x)=0.

The hypotheses can be met, e.g. by a constant matrix field ggg with negative determinant together with Θ≡0\Theta\equiv0Θ≡0.

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