Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

R4: spherical chart to Cartesian coordinates of Minkowski space

Proved
ExactVacuumAtlas.Release01.R4_cartesian_spherical

by He Wang · Oct 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

cartesian-coordinatescoordinate-geometrycoordinate-relationcoordinate-transformationexact-vacuum-atlasgeneral-relativityminkowski-spacespherical-coordinates

Let gsphg^{\rm sph}gsph be the spherical Minkowski metric gsphg^{\rm sph}gsph (bundle Atlas_Minkowski_Spherical, coordinates (t,r,θ,φ)(t,r,\theta,\varphi)(t,r,θ,φ)): gtt=−1g_{tt}=-1gtt​=−1, grr=1g_{rr}=1grr​=1, gθθ=r2g_{\theta\theta}=r^2gθθ​=r2, gφφ=r2sin⁡2θg_{\varphi\varphi}=r^2\sin^2\thetagφφ​=r2sin2θ, other entries 000, candidate inverse diag(−1,1,1/r2,1/(r2sin⁡2θ))\mathrm{diag}(-1,1,1/r^2,1/(r^2\sin^2\theta))diag(−1,1,1/r2,1/(r2sin2θ)) and η\etaη the Cartesian Minkowski metric η=diag(−1,1,1,1)\eta=\mathrm{diag}(-1,1,1,1)η=diag(−1,1,1,1) (bundle Atlas_Minkowski_Cartesian, constant components, candidate inverse η\etaη itself). Let U={r>0, 0<θ<π, 0<φ<2π}U=\{r>0,\ 0<\theta<\pi,\ 0<\varphi<2\pi\}U={r>0, 0<θ<π, 0<φ<2π}, V={(t,x,y,z): ¬(y=0∧x≥0)}V=\{(t,x,y,z):\ \neg(y=0\wedge x\ge0)\}V={(t,x,y,z): ¬(y=0∧x≥0)}, Φ(t,r,θ,φ)=(t, rsin⁡θcos⁡φ, rsin⁡θsin⁡φ, rcos⁡θ)\Phi(t,r,\theta,\varphi)=(t,\ r\sin\theta\cos\varphi,\ r\sin\theta\sin\varphi,\ r\cos\theta)Φ(t,r,θ,φ)=(t, rsinθcosφ, rsinθsinφ, rcosθ), Ψ(t,x,y,z)=(t,ρ,arccos⁡(z/ρ),π+2arctan⁡−yx2+y2−x)\Psi(t,x,y,z)=\big(t,\rho,\arccos(z/\rho),\pi+2\arctan\frac{-y}{\sqrt{x^2+y^2}-x}\big)Ψ(t,x,y,z)=(t,ρ,arccos(z/ρ),π+2arctanx2+y2​−x−y​) with ρ=x2+y2+z2\rho=\sqrt{x^2+y^2+z^2}ρ=x2+y2+z2​, and JJJ the Jacobian matrix of Φ\PhiΦ (det⁡J=r2sin⁡θ\det J=r^2\sin\thetadetJ=r2sinθ). Then

CoordRelation(gsph, η, U, V, Φ, Ψ, J).\mathrm{CoordRelation}\big(g^{\rm sph},\ \eta,\ U,\ V,\ \Phi,\ \Psi,\ J\big).CoordRelation(gsph, η, U, V, Φ, Ψ, J).

CoordRelation(g1,g2,U,V,Φ,Ψ,J)\mathrm{CoordRelation}(g_1,g_2,U,V,\Phi,\Psi,J)CoordRelation(g1​,g2​,U,V,Φ,Ψ,J) (bundle Atlas_Core_Relation) asserts: Ψ(Φ(x))=x\Psi(\Phi(x))=xΨ(Φ(x))=x for x∈Ux\in Ux∈U; Φ(Ψ(y))=y\Phi(\Psi(y))=yΦ(Ψ(y))=y for y∈Vy\in Vy∈V; Φ\PhiΦ maps UUU bijectively onto VVV; Φ\PhiΦ is C∞C^\inftyC∞ on UUU and Ψ\PsiΨ is C∞C^\inftyC∞ on VVV; for every x∈Ux\in Ux∈U and all indices k,ik,ik,i the slice u↦Φ(x[xi:=u])ku\mapsto\Phi(x[x_i:=u])_ku↦Φ(x[xi​:=u])k​ has derivative J(x)kiJ(x)_{ki}J(x)ki​ at u=xiu=x_iu=xi​ (a genuine derivative, not a default value); and J(x)T g2(Φ(x)) J(x)=g1(x)J(x)^{\mathsf T}\,g_2(\Phi(x))\,J(x)=g_1(x)J(x)Tg2​(Φ(x))J(x)=g1​(x) for all x∈Ux\in Ux∈U.

Relation R4 of the atlas (rows 2 and 1) on one chart φ∈(0,2π)\varphi\in(0,2\pi)φ∈(0,2π); the identification φ∼φ+2π\varphi\sim\varphi+2\piφ∼φ+2π is not modelled.

Formalization Note Everything is coordinate-level on R4\mathbb R^4R4 (points are functions {0,1,2,3}→R\{0,1,2,3\}\to\mathbb R{0,1,2,3}→R): no manifold, chart gluing, periodicity of φ\varphiφ, horizon, causal or global statement is made. Partial derivatives are Mathlib's deriv of coordinate slices; the certificates' C∞C^\inftyC∞ obligations make every derivative used a genuine derivative. Units G=c=1G=c=1G=c=1, signature (−,+,+,+)(-,+,+,+)(−,+,+,+).

Preamble
import Mathlib
import Definitions.Def_Atlas_Core_Basic
import Definitions.Def_Atlas_Core_Certificate
import Definitions.Def_Atlas_Core_Lift
import Definitions.Def_Atlas_Core_Relation
import Definitions.Def_Atlas_Kerr_Domain
import Definitions.Def_Atlas_Kerr_Frame
import Definitions.Def_Atlas_Kerr_InAtoms
import Definitions.Def_Atlas_Kerr_InDefs
import Definitions.Def_Atlas_Kerr_InParts
import Definitions.Def_Atlas_Kerr_R3
import Definitions.Def_Atlas_Minkowski_Cartesian
import Definitions.Def_Atlas_Minkowski_R4
import Definitions.Def_Atlas_Minkowski_Spherical
import Definitions.Def_Atlas_Schwarzschild_Defs
import Definitions.Def_Atlas_Schwarzschild_Domain
import Definitions.Def_Atlas_Schwarzschild_EFCertParts
import Definitions.Def_Atlas_Schwarzschild_EFRelation
import Definitions.Def_Atlas_Schwarzschild_StdParts
import Definitions.Def_KerrBL_CoordGeometry
import Definitions.Def_KerrBL_Kerr_Metric
open scoped ContDiff
Formal statement
theorem ExactVacuumAtlas.Release01.R4_cartesian_spherical :
    CoordRelation Minkowski.gSph (Minkowski.gCart 3) Minkowski.R4.domChart Minkowski.R4.imgCart
      Minkowski.R4.toCart Minkowski.R4.fromCart Minkowski.R4.jac := by sorry
Source
Müller–Grave catalogue eqs. minkCart and minkSph; elementary spherical coordinates on R^3 (standard); Lean source: repository ExactVacuumAtlas (private repository, not publicly accessible; GitHub remote pending (no GitHub identity on the build server)), commit 35f26e6a22f5d72380094fa94edc72dea667df53, Atlas/Release01.lean#L128-L138 (module Atlas.Release01, file sha256 35a31e5ed932c61f239b2a15b3a2a9d8b3ba78368b5b471af95b0ec0e8e73c30; uploaded stub = platform_mirror/Theorems/Thm_ExactVacuumAtlas_Release01_R4_cartesian_spherical.lean)
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

  • Endorsed by He Wang · Oct 14, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me