Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Vacuum field equations: Einstein-manifold form

Proved
EinsteinFieldEquationsD.vacuum_field_equations_iff

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

differential-geometryeinstein-field-equationsgeneral-relativity

Let D≠2D\neq2D=2, let ggg be a smooth, symmetric, nondegenerate metric on an open set U⊆RDU\subseteq\mathbb{R}^DU⊆RD, x∈Ux\in Ux∈U, and suppose Tμν(x)=0T_{\mu\nu}(x)=0Tμν​(x)=0. Then at xxx the field equations are equivalent to the vacuum (Einstein-manifold) equations

Rμν=ΛD2−1 gμν,R_{\mu\nu}=\frac{\Lambda}{\frac D2-1}\,g_{\mu\nu},Rμν​=2D​−1Λ​gμν​,

which for Λ=0\Lambda=0Λ=0 read Rμν=0R_{\mu\nu}=0Rμν​=0.

Preamble
import Mathlib
import Definitions.Def_EinsteinFieldEquationsD_Defs
Formal statement
namespace EinsteinFieldEquationsD

theorem vacuum_field_equations_iff {D : ℕ} (hD : D ≠ 2) (g T : Tensor2 D) (U : Set (Coord D)) (Λ κ : ℝ)
    (hg : IsMetricOn g U) (x : Coord D) (hx : x ∈ U) (hT : ∀ a b : Fin D, T x a b = 0) :
    (∀ a b : Fin D, einsteinTensor g x a b + Λ * g x a b = κ * T x a b) ↔
      (∀ a b : Fin D, ricci g x a b = Λ / ((D : ℝ) / 2 - 1) * g x a b) := by sorry

end EinsteinFieldEquationsD
Source
Wikipedia, "Einstein field equations", revision oldid=1374672993, https://en.wikipedia.org/w/index.php?title=Einstein_field_equations&oldid=1374672993; section 'Vacuum field equations'
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 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.

Here DDD is an arbitrary natural number, points are x∈RDx \in \mathbb{R}^Dx∈RD, ggg is any function assigning to each point a real D×DD\times DD×D matrix (gab(x))(g_{ab}(x))(gab​(x)), and U⊆RDU \subseteq \mathbb{R}^DU⊆RD is any set. The hypothesis that ggg is a metric on UUU means: UUU is open; every component x↦gab(x)x \mapsto g_{ab}(x)x↦gab​(x) is C∞C^\inftyC∞ on UUU; gab(x)=gba(x)g_{ab}(x) = g_{ba}(x)gab​(x)=gba​(x) for x∈Ux \in Ux∈U; and det⁡g(x)≠0\det g(x) \neq 0detg(x)=0 for x∈Ux \in Ux∈U. No signature (Lorentzian or otherwise) is imposed. Outside UUU, ggg is unconstrained.

Additionally: D≠2D\neq2D=2; TTT is a 2-tensor field with Tab(x)=0T_{ab}(x)=0Tab​(x)=0 for all a,ba,ba,b at the given point x∈Ux\in Ux∈U (nothing is assumed about TTT elsewhere); Λ,κ\Lambda,\kappaΛ,κ arbitrary reals.

Claim. The following are equivalent:

  1. for all a,ba,ba,b: Gab(x)+Λgab(x)=κTab(x)G_{ab}(x)+\Lambda g_{ab}(x)=\kappa T_{ab}(x)Gab​(x)+Λgab​(x)=κTab​(x) (i.e. =0=0=0);
  2. for all a,ba,ba,b: Rab(x)=ΛD/2−1 gab(x)R_{ab}(x)=\dfrac{\Lambda}{D/2-1}\,g_{ab}(x)Rab​(x)=D/2−1Λ​gab​(x).

Only the point xxx is involved.

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