Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Minkowski metric in Cartesian coordinates, any dimension n+1n+1n+1

Definition
Atlas_Minkowski_Cartesian

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

cartesian-coordinatescoordinate-geometryexact-vacuum-atlasgeneral-relativityminkowski-space

For a natural number nnn, the coordinate metric gncartg^{\rm cart}_ngncart​ on Rn+1\mathbb R^{n+1}Rn+1 with constant components ηn=diag(−1,1,…,1)\eta_n=\mathrm{diag}(-1,1,\dots,1)ηn​=diag(−1,1,…,1) (line element ds2=−dt2+dx12+⋯+dxn2ds^2=-dt^2+dx_1^2+\dots+dx_n^2ds2=−dt2+dx12​+⋯+dxn2​), and its candidate inverse, the same constant matrix. The atlas uses n=3n=3n=3.

Row 1 data.

Formalization Note Definition bundle generated by skeleton subtraction from the source module Atlas.Minkowski.Cartesian; declarations: ExactVacuumAtlas.Minkowski.gCart, ExactVacuumAtlas.Minkowski.giCart. No theorem is proved inside the bundle; it imports only Mathlib and other Definitions.Def_* bundles.

Definition code
-- Generated by scripts/release01/gen_platform_tree.py (ATLAS-RELEASE-01) by skeleton subtraction from Atlas/Minkowski/Cartesian.lean
-- definition bundle: kept ExactVacuumAtlas.Minkowski.gCart, ExactVacuumAtlas.Minkowski.giCart
import Mathlib
import Definitions.Def_Atlas_Core_Basic
import Definitions.Def_Atlas_Core_Certificate
/-!
# Minkowski space in Cartesian coordinates, any dimension `n + 1`

`ds² = -dt² + dx₁² + … + dxₙ²` (Müller–Grave, *Catalogue of Spacetimes*, eq. minkCart, `c = 1`).
Certified on all of `ℝⁿ⁺¹`. For release 0.1 the catalogue row is `n = 3`.
-/

open scoped ContDiff

namespace ExactVacuumAtlas.Minkowski

/-- Cartesian Minkowski metric, constant components `diag(-1, 1, …, 1)`. -/
def gCart (n : ℕ) : Metric (n + 1) := fun i j _ => eta n i j

/-- Its inverse (the same matrix). -/
def giCart (n : ℕ) : Metric (n + 1) := fun i j _ => eta n i j

end ExactVacuumAtlas.Minkowski
Source
Müller–Grave catalogue eqs. minkCart and minkSph; Lean source: repository ExactVacuumAtlas (private repository, not publicly accessible; GitHub remote pending (no GitHub identity on the build server)), commit 35f26e6a22f5d72380094fa94edc72dea667df53, Atlas/Minkowski/Cartesian.lean (source module Atlas.Minkowski.Cartesian, file sha256 e28e443043a8e2e209d525d5f88daacb33777a03c2df47b8ab5051bdff7c110b; uploaded bundle = platform_mirror/Definitions/Def_Atlas_Minkowski_Cartesian.lean, sha256 2e0389d322df7eb10e35bffc45cece6413353c82519d45103d7f480ad8fc872e)
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