Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

General Relativity

1 missions · 1 completed

Missions

Open0Completed1All1
🏆Completed
Differential GeometryMathematical Physics·Captain: He Wang

Exact Vacuum Atlas I: Four-Dimensional Vacuum Metrics in Multiple Coordinate SystemsResearch Paper

Motivation

Exact vacuum solutions of Einstein's equations are the reference objects of classical general relativity: Minkowski space (flat spacetime), the Schwarzschild solution (1916, static spherically symmetric vacuum) and the Kerr solution (1963, stationary axisymmetric vacuum) are the metrics against which every statement about gravitational fields, black holes and gravitational waves is calibrated. Each of them is written in several coordinate systems, and the catalogue literature (Müller–Grave, Catalogue of Spacetimes, arXiv:0904.4184; Visser, The Kerr spacetime: a brief introduction, arXiv:0706.0622) lists these forms side by side. The verification that a given coordinate expression is Ricci-flat, and that two expressions of the same solution are related by an explicit coordinate change, is routinely delegated to computer algebra and is almost never printed.

Timeline: Schwarzschild (1916) found the static solution; Eddington (1924) and Finkelstein (1958) gave the coordinates regular across r=2Mr=2Mr=2M; Kerr (1963) found the rotating solution in the ingoing form used here; Boyer and Lindquist (1967) introduced the coordinates of the standard form. A previous Prove2Me mission (Kerr Vacuum Solution Verification in Boyer–Lindquist Coordinates, root KerrBL.vacuum_Kerr, 21 theorems, all Proved) established the coordinate Ricci-flatness of the Boyer–Lindquist form; this mission reuses two of its published theorems and two of its definition bundles unchanged (the remaining nodes stay their platform-side dependencies).

Setting

A coordinate point is x=(x0,x1,x2,x3)∈R4x=(x_0,x_1,x_2,x_3)\in\mathbb R^4x=(x0​,x1​,x2​,x3​)∈R4 (in Lean, a function {0,1,2,3}→R\{0,1,2,3\}\to\mathbb R{0,1,2,3}→R). A coordinate metric is a 4×44\times44×4 matrix g=(gij)g=(g_{ij})g=(gij​) of real functions of xxx; a candidate inverse g^\hat gg^​ is another such matrix. The slice derivative ∂if(x)\partial_i f(x)∂i​f(x) is the derivative of u↦f(x[xi:=u])u\mapsto f(x[x_i:=u])u↦f(x[xi​:=u]) at u=xiu=x_iu=xi​; on the open domains used here every slice is C∞C^\inftyC∞, so ∂i\partial_i∂i​ is the genuine derivative. With

Γbca=12∑kg^ak(∂cgkb+∂bgkc−∂kgbc),Rbd=∑i(∂iΓbdi−∂dΓbii+∑j(ΓijiΓbdj−ΓdjiΓbij))\Gamma^a_{bc}=\tfrac12\sum_k\hat g^{ak}\big(\partial_c g_{kb}+\partial_b g_{kc}-\partial_k g_{bc}\big),\qquad R_{bd}=\sum_i\Big(\partial_i\Gamma^i_{bd}-\partial_d\Gamma^i_{bi}+\sum_j\big(\Gamma^i_{ij}\Gamma^j_{bd}-\Gamma^i_{dj}\Gamma^j_{bi}\big)\Big)Γbca​=21​k∑​g^​ak(∂c​gkb​+∂b​gkc​−∂k​gbc​),Rbd​=i∑​(∂i​Γbdi​−∂d​Γbii​+j∑​(Γiji​Γbdj​−Γdji​Γbij​))

(definition bundle Atlas_Core_Basic), the vacuum certificate VacuumCertificate(g,g^,U)\mathrm{VacuumCertificate}(g,\hat g,U)VacuumCertificate(g,g^​,U) for a set U⊆R4U\subseteq\mathbb R^4U⊆R4 asserts: UUU is open and nonempty; ggg is symmetric on UUU; g^ g=I\hat g\,g=Ig^​g=I on UUU; all components of ggg and g^\hat gg^​ are C∞C^\inftyC∞ on UUU; at every point of UUU there is an invertible matrix EEE with ETgE=diag(−1,1,1,1)E^{\mathsf T}gE=\mathrm{diag}(-1,1,1,1)ETgE=diag(−1,1,1,1) (Lorentzian signature, bridged to Mathlib's signature (3,1)(3,1)(3,1) of the quadratic form); and every component RbdR_{bd}Rbd​ vanishes on UUU. A coordinate relation CoordRelation(g1,g2,U,V,Φ,Ψ,J)\mathrm{CoordRelation}(g_1,g_2,U,V,\Phi,\Psi,J)CoordRelation(g1​,g2​,U,V,Φ,Ψ,J) asserts: Ψ∘Φ=id\Psi\circ\Phi=\mathrm{id}Ψ∘Φ=id on UUU, Φ∘Ψ=id\Phi\circ\Psi=\mathrm{id}Φ∘Ψ=id on VVV, Φ\PhiΦ maps UUU bijectively onto VVV, Φ\PhiΦ is C∞C^\inftyC∞ on UUU and Ψ\PsiΨ on VVV, every entry Jki(x)J_{ki}(x)Jki​(x) is the genuine derivative of the slice u↦Φ(x[xi:=u])ku\mapsto\Phi(x[x_i:=u])_ku↦Φ(x[xi​:=u])k​, and JT(g2∘Φ)J=g1J^{\mathsf T}(g_2\circ\Phi)J=g_1JT(g2​∘Φ)J=g1​ on UUU. Units G=c=1G=c=1G=c=1, signature (−,+,+,+)(-,+,+,+)(−,+,+,+), Σ=r2+a2cos⁡2θ\Sigma=r^2+a^2\cos^2\thetaΣ=r2+a2cos2θ, Δ=r2−2Mr+a2\Delta=r^2-2Mr+a^2Δ=r2−2Mr+a2.

These definitions form the registered local definition layer of the project: the pinned Mathlib has no Lorentzian metric, Levi-Civita connection or Ricci tensor, so they are supplied as reviewed coordinate-level definitions on top of Mathlib's deriv, ContDiffOn, Matrix and quadratic-form signature.

Formalization targets

Goal (ExactVacuumAtlas.Release01.main)

Cert(gMinkcart,R4)∧Cert(gMinksph,{r>0,0<θ<π})∧∀M Cert(gSchwstd(M),{r>0,r≠2M,0<θ<π})∧∀M Cert(gSchwin(M),{r>0,0<θ<π})∧∀M Cert(gSchwout(M),{r>0,0<θ<π})∧∀M,a Cert(gKerrBL(M,a),{Σ≠0,Δ≠0,sin⁡θ≠0})∧∀M,a Cert(gKerrin(M,a),{Σ≠0,sin⁡θ≠0})∧R1∧R2∧R3∧R4,\begin{aligned} &\mathrm{Cert}(g^{\rm cart}_{\rm Mink},\mathbb R^4)\wedge\mathrm{Cert}(g^{\rm sph}_{\rm Mink},\{r>0,0<\theta<\pi\}) \wedge\forall M\,\mathrm{Cert}(g^{\rm std}_{\rm Schw}(M),\{r>0,r\neq2M,0<\theta<\pi\})\\ &\wedge\forall M\,\mathrm{Cert}(g^{\rm in}_{\rm Schw}(M),\{r>0,0<\theta<\pi\}) \wedge\forall M\,\mathrm{Cert}(g^{\rm out}_{\rm Schw}(M),\{r>0,0<\theta<\pi\})\\ &\wedge\forall M,a\,\mathrm{Cert}(g^{\rm BL}_{\rm Kerr}(M,a),\{\Sigma\neq0,\Delta\neq0,\sin\theta\neq0\}) \wedge\forall M,a\,\mathrm{Cert}(g^{\rm in}_{\rm Kerr}(M,a),\{\Sigma\neq0,\sin\theta\neq0\})\\ &\wedge\mathrm{R1}\wedge\mathrm{R2}\wedge\mathrm{R3}\wedge\mathrm{R4}, \end{aligned}​Cert(gMinkcart​,R4)∧Cert(gMinksph​,{r>0,0<θ<π})∧∀MCert(gSchwstd​(M),{r>0,r=2M,0<θ<π})∧∀MCert(gSchwin​(M),{r>0,0<θ<π})∧∀MCert(gSchwout​(M),{r>0,0<θ<π})∧∀M,aCert(gKerrBL​(M,a),{Σ=0,Δ=0,sinθ=0})∧∀M,aCert(gKerrin​(M,a),{Σ=0,sinθ=0})∧R1∧R2∧R3∧R4,​

where Cert(g,U)\mathrm{Cert}(g,U)Cert(g,U) is VacuumCertificate(g,g^,U)\mathrm{VacuumCertificate}(g,\hat g,U)VacuumCertificate(g,g^​,U) with the explicit candidate inverse g^\hat gg^​ of each row, and R1–R4 are coordinate relations with explicit maps: R1/R2 standard Schwarzschild to ingoing/outgoing Eddington–Finkelstein on {r>0,r≠2M,0<θ<π}\{r>0,r\neq2M,0<\theta<\pi\}{r>0,r=2M,0<θ<π} with v=t+r+2Mlog⁡∣r−2M∣v=t+r+2M\log\lvert r-2M\rvertv=t+r+2Mlog∣r−2M∣, resp. u=t−r−2Mlog⁡∣r−2M∣u=t-r-2M\log\lvert r-2M\rvertu=t−r−2Mlog∣r−2M∣ (Jacobian determinant 111; the logarithm is Mathlib's Real.log, for which log⁡x=log⁡∣x∣\log x=\log\lvert x\rvertlogx=log∣x∣ when x≠0x\neq0x=0, so one formula covers both sides of r=2Mr=2Mr=2M); R3 Boyer–Lindquist to ingoing Kerr on {Σ≠0,Δ≠0,sin⁡θ≠0}\{\Sigma\neq0,\Delta\neq0,\sin\theta\neq0\}{Σ=0,Δ=0,sinθ=0} with (t,r,θ,φ)↦(t+r+H1(r),r,θ,−φ−H2(r))(t,r,\theta,\varphi)\mapsto(t+r+H_1(r),r,\theta,-\varphi-H_2(r))(t,r,θ,φ)↦(t+r+H1​(r),r,θ,−φ−H2​(r)), H1′=2Mr/ΔH_1'=2Mr/\DeltaH1′​=2Mr/Δ, H2′=a/ΔH_2'=a/\DeltaH2′​=a/Δ, explicit H1,H2H_1,H_2H1​,H2​ for all real M,aM,aM,a (three branches of M2−a2M^2-a^2M2−a2; Jacobian determinant −1-1−1); R4 spherical chart {r>0,0<θ<π,0<φ<2π}\{r>0,0<\theta<\pi,0<\varphi<2\pi\}{r>0,0<θ<π,0<φ<2π} to R4∖{y=0,x≥0}\mathbb R^4\setminus\{y=0,x\ge0\}R4∖{y=0,x≥0} with the usual map (Jacobian determinant r2sin⁡θr^2\sin\thetar2sinθ).

Coverage (ExactVacuumAtlas.Release01.coverage)

For M>0M>0M>0 the EF domain contains a point with r=2Mr=2Mr=2M; for a2<M2a^2<M^2a2<M2 the Boyer–Lindquist domain contains a point with Δ<0\Delta<0Δ<0; for 0<M0<M0<M, a2≤M2a^2\le M^2a2≤M2 the ingoing Kerr domain contains a point with Δ=0\Delta=0Δ=0; at these points all Ricci components vanish. The certified domains are therefore not narrowed to an exterior region.

Signature bridge (ExactVacuumAtlas.sigPos_sigNeg_four)

A Lorentzian 4×44\times44×4 matrix in the frame sense has Mathlib signature sigPos=3\mathrm{sigPos}=3sigPos=3, sigNeg=1\mathrm{sigNeg}=1sigNeg=1.

Significance

The result gives machine-checked coordinate Ricci-flatness for the seven standard forms of the three basic vacuum solutions, on explicit open domains whose conditions do not exclude the interior region of Schwarzschild (0<r<2M0<r<2M0<r<2M for M>0M>0M>0), either sign of Δ\DeltaΔ or negative rrr for Kerr, the regular-coordinate portion of r=2Mr=2Mr=2M with 0<θ<π0<\theta<\pi0<θ<π (EF, M>0M>0M>0), or the points with Δ=0\Delta=0Δ=0 at which Σ≠0\Sigma\neq0Σ=0 and sin⁡θ≠0\sin\theta\neq0sinθ=0 (ingoing Kerr); which of these sets are nonempty depends on the parameters, and the coverage theorem gives sufficient conditions. The Lorentzian signature is verified pointwise. The four coordinate relations are proved as explicit maps with explicit inverses and Jacobians, not as abstract existence statements.

Status: every item of the mission has a kernel-checked proof in the project (axioms propext, Classical.choice, Quot.sound only; no sorry, no native_decide); nothing is open. The mission publishes a finished formalization. What it does not contain: any statement about manifolds, atlases, event horizons, maximal extensions, causal structure or global geometry; any classification claim about four-dimensional vacuum metrics; any coordinate-covariance theorem for the coordinate Ricci tensor; any relation between it and a Mathlib manifold Ricci tensor (which does not exist in the pinned Mathlib). The catalogue is a finite list of seven coordinate representations of three solutions.

Difficulty

The obvious route, a general tensor-calculus library (connection, curvature, pull-back functoriality) over Mathlib manifolds, is unavailable: the pinned Mathlib has no indefinite-metric connection or curvature. Each coordinate representation has a complete formal certificate. The development combines direct coordinate calculations with formally proved parameter specialisations and equality-based reuse: the Cartesian Minkowski, Eddington–Finkelstein and ingoing Kerr rows are verified by direct coordinate calculations; the Boyer–Lindquist row reuses the published KerrBL.ricci_flat_Kerr and KerrBL.ginv_mul_g_Kerr; the standard Schwarzschild row takes its Ricci-flatness from the Boyer–Lindquist result at a=0a=0a=0, and the spherical Minkowski row is transported from the standard Schwarzschild certificate at M=0M=0M=0, in both cases through proved componentwise equalities of the metric data on the common domain. No coordinate-covariance theorem is used or claimed. The ingoing Kerr row is the hard case: the metric is non-diagonal (the radial coordinate vector is null, grr=0g_{rr}=0grr​=0, while for a≠0a\neq0a=0 the covector dvdvdv is not null, since gvv=a2sin⁡2θ/Σg^{vv}=a^2\sin^2\theta/\Sigmagvv=a2sin2θ/Σ), the Ricci components are rational functions whose vanishing holds only modulo sin⁡2θ+cos⁡2θ=1\sin^2\theta+\cos^2\theta=1sin2θ+cos2θ=1, and every derivative must be a genuine derivative, never a default value of deriv. For R3 the antiderivative of 1/Δ1/\Delta1/Δ has three different closed forms depending on the sign of M2−a2M^2-a^2M2−a2, all covered without restricting the parameters.

Formalization scope

Lean representation: coordinate metrics on R4\mathbb R^4R4 as above; ContDiffOn ℝ ∞; Matrix (Fin 4) (Fin 4) ℝ; Mathlib sigPos/sigNeg for the signature bridge. Conventions committed: G=c=1G=c=1G=c=1, (−,+,+,+)(-,+,+,+)(−,+,+,+), coordinate order (t ∣ v ∣ u, r, θ, φ)(t\,|\,v\,|\,u,\ r,\ \theta,\ \varphi)(t∣v∣u, r, θ, φ), EF matrix entry gvr=1g_{vr}=1gvr​=1 (from 2 dv dr2\,dv\,dr2dvdr), ingoing Kerr entries read off with the half-Hessian convention from Visser eq. (E:K1), φ∈R\varphi\in\mathbb Rφ∈R (no 2π2\pi2π identification). No trivialising formalization: every domain is proved nonempty with explicit witnesses; the candidate inverse is verified, never assumed; the Ricci tensor is built from the metric data, not hypothesised.

Reusable infrastructure: the core bundles (Atlas_Core_Basic, Atlas_Core_Certificate, Atlas_Core_Relation), the diagonal-frame criterion isLorentzian_of_diag, the signature bridge sigPos_sigNeg_of_isLorentzian, and the closed-form tables. Welcome contributions (not part of this release): Painlevé–Gullstrand, isotropic, Kruskal–Szekeres, Kerr–Schild and Doran forms; Kasner, pp-waves, Taub–NUT; a coordinate-covariance theorem for the coordinate Ricci tensor.

Selected references

  • T. Müller, F. Grave, Catalogue of Spacetimes, arXiv:0904.4184v3 (2010). https://arxiv.org/abs/0904.4184
  • M. Visser, The Kerr spacetime: a brief introduction, arXiv:0706.0622 (2007). https://arxiv.org/abs/0706.0622
  • R. P. Kerr, Gravitational field of a spinning mass as an example of algebraically special metrics, Phys. Rev. Lett. 11 (1963) 237. https://doi.org/10.1103/PhysRevLett.11.237
  • R. H. Boyer, R. W. Lindquist, Maximal analytic extension of the Kerr metric, J. Math. Phys. 8 (1967) 265. https://doi.org/10.1063/1.1705193
  • R. M. Wald, General Relativity, University of Chicago Press (1984), eqs. (3.1.30), (3.4.4)–(3.4.5) (cited for the conventions; not independently re-checked by the reviewer).
90 thms1 active userReviewed

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me