Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Diagonal-frame criterion for Lorentzian signature

Proved
ExactVacuumAtlas.isLorentzian_of_diag

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

coordinate-geometryexact-vacuum-atlasgeneral-relativitylinear-algebralorentzian-signature

Let nnn be a natural number, GGG a real (n+1)×(n+1)(n+1)\times(n+1)(n+1)×(n+1) matrix, EEE a real (n+1)×(n+1)(n+1)\times(n+1)(n+1)×(n+1) matrix and d∈Rn+1d\in\mathbb R^{n+1}d∈Rn+1 with

ETGE=diag(d0,…,dn),d0<0,di>0  (i≠0).E^{\mathsf T}GE=\mathrm{diag}(d_0,\dots,d_n),\qquad d_0<0,\qquad d_i>0\ \ (i\neq0).ETGE=diag(d0​,…,dn​),d0​<0,di​>0  (i=0).

Then GGG is Lorentzian in the sense of bundle Atlas_Core_Basic: there is a matrix E′E'E′ with invertible determinant and E′TGE′=ηn=diag(−1,1,…,1)E'^{\mathsf T}GE'=\eta_n=\mathrm{diag}(-1,1,\dots,1)E′TGE′=ηn​=diag(−1,1,…,1). (No invertibility of EEE is assumed; it follows since the diagonal matrix is invertible.)

The criterion used by every row to discharge the signature obligation: each row exhibits an explicit (unnormalised) frame that diagonalises its metric with one negative and three positive entries; the normalisation by 1/∣di∣1/\sqrt{|d_i|}1/∣di​∣​ happens once, here.

Formalization Note IsLorentzian G is ∃E, IsUnit(det⁡E)∧ETGE=ηn\exists E,\ \mathrm{IsUnit}(\det E)\wedge E^{\mathsf T}GE=\eta_n∃E, IsUnit(detE)∧ETGE=ηn​; the total dimension is n+1n+1n+1.

Preamble
import Mathlib
import Definitions.Def_Atlas_Core_Basic
Formal statement
theorem ExactVacuumAtlas.isLorentzian_of_diag {n : ℕ} {G : Matrix (Fin (n + 1)) (Fin (n + 1)) ℝ}
    (E : Matrix (Fin (n + 1)) (Fin (n + 1)) ℝ) (d : Fin (n + 1) → ℝ)
    (h : E.transpose * G * E = Matrix.diagonal d) (h0 : d 0 < 0)
    (hpos : ∀ i, i ≠ 0 → 0 < d i) : IsLorentzian G := by sorry
Source
Sylvester's law of inertia (standard linear algebra); Mathlib LinearAlgebra/QuadraticForm/Signature.lean (pinned 0df444a3) for sigPos/sigNeg; Lean source: repository ExactVacuumAtlas (private repository, not publicly accessible; GitHub remote pending (no GitHub identity on the build server)), commit 35f26e6a22f5d72380094fa94edc72dea667df53, Atlas/Core/Lorentz.lean#L30-L61 (module Atlas.Core.Lorentz, file sha256 a124a92c2d1eb60bd4324599481f95834c1ae4d958b47b740ed44aa5eff655a4; uploaded stub = platform_mirror/Theorems/Thm_ExactVacuumAtlas_isLorentzian_of_diag.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