Lorentzian forms and Lorentzian metrics on smooth manifolds #
Conventions: spacetime dimension n, coordinate index 0 is time, signature is
"mostly plus" η = diag(-1, +1, …, +1) (Misner–Thorne–Wheeler / Wald convention).
Design notes #
- Mathlib (v4.35) has smooth Riemannian metrics (
Bundle.ContMDiffRiemannianMetric) but no pseudo-Riemannian / Lorentzian ones.LorentzianMetricbelow follows the Riemannian structure field for field (inner,symm,contMDiff) and replaces positivity with a Lorentzian signature. - Signature is expressed by the existence of a basis whose Gram matrix is
η(a "Lorentz frame"). By Sylvester's law of inertia this is the usual definition; we do not need Sylvester's theorem itself for anything below.
The Minkowski signature matrix #
The Minkowski matrix η = diag(-1, 1, …, 1).
Equations
Instances For
Lorentzian bilinear forms on a vector space #
A continuous bilinear form B on V is Lorentzian of dimension n if V admits a basis
e₀, …, e_{n-1} (a Lorentz frame) with B(eᵢ, eⱼ) = ηᵢⱼ.
Equations
- Lightlike.IsLorentzianForm n B = ∃ (e : Module.Basis (Fin n) ℝ V), ∀ (i j : Fin n), (B (e i)) (e j) = Lightlike.eta n i j
Instances For
Expansion of a Lorentzian form in a Lorentz frame: B(v,w) = Σᵢ ηᵢᵢ vⁱ wⁱ.
Lorentzian forms are symmetric.
Lorentzian forms are nondegenerate.
Agreement with Mathlib: the underlying LinearMap.BilinForm is symmetric
(Mathlib's LinearMap.BilinForm.IsSymm).
Agreement with Mathlib: the underlying LinearMap.BilinForm is nondegenerate
(Mathlib's LinearMap.BilinForm.Nondegenerate).
Every Lorentzian form (with n ≥ 1) has a timelike vector: B(e₀, e₀) = -1 < 0.
Lorentzian metrics on a smooth manifold #
A smooth Lorentzian metric of dimension n on a smooth manifold M modelled on I:
a smooth section g of the bundle of bilinear forms on the tangent bundle, Lorentzian at each
point.
This mirrors Mathlib's Bundle.ContMDiffRiemannianMetric (same inner-style field and the same
smoothness condition, stated with TotalSpace.mk' in the hom-bundle T*M ⊗ T*M), with positive
definiteness replaced by Lorentzian signature. Symmetry and nondegeneracy are consequences
(IsLorentzianForm.symm, IsLorentzianForm.nondegenerate), not extra fields.
The metric tensor at each point.
- lorentzian (x : M) : IsLorentzianForm n (self.g x)
Pointwise Lorentzian signature.
- contMDiff : ContMDiff I (I.prod (modelWithCornersSelf ℝ (E →L[ℝ] E →L[ℝ] ℝ))) ↑⊤ fun (x : M) => ⟨x, self.g x⟩
Smoothness of
x ↦ gₓas a section of the bundleT*M ⊗ T*M.
Instances For
A tangent vector is timelike if g(v,v) < 0.
Equations
- g.IsTimelike v = (((g.g x) v) v < 0)
Instances For
A tangent vector is null (lightlike) if it is nonzero and g(v,v) = 0.
Instances For
A tangent vector is spacelike if g(v,v) > 0.
Equations
- g.IsSpacelike v = (0 < ((g.g x) v) v)