Documentation

Lightlike.Spacetime.Lorentzian

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 #

The Minkowski signature matrix #

def Lightlike.etaDiag {n : ℕ} (i : Fin n) :

Diagonal entries of the Minkowski matrix: -1 for the time index 0, +1 otherwise.

Equations
Instances For
    def Lightlike.eta (n : ℕ) :
    Matrix (Fin n) (Fin n) ℝ

    The Minkowski matrix η = diag(-1, 1, …, 1).

    Equations
    Instances For
      @[simp]
      theorem Lightlike.etaDiag_mul_self {n : ℕ} (i : Fin n) :
      @[simp]
      theorem Lightlike.eta_mul_eta (n : ℕ) :
      eta n * eta n = 1
      theorem Lightlike.eta_inv (n : ℕ) :
      (eta n)⁻¹ = eta n

      η is its own inverse.

      theorem Lightlike.eta_apply {n : ℕ} (i j : Fin n) :
      eta n i j = if i = j then etaDiag i else 0

      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
      Instances For
        theorem Lightlike.IsLorentzianForm.apply_eq_sum {V : Type u_1} [AddCommGroup V] [Module ℝ V] [TopologicalSpace V] {n : ℕ} {B : V →L[ℝ] V →L[ℝ] ℝ} (e : Module.Basis (Fin n) ℝ V) (he : ∀ (i j : Fin n), (B (e i)) (e j) = eta n i j) (v w : V) :
        (B v) w = ∑ i : Fin n, etaDiag i * (e.repr v) i * (e.repr w) i

        Expansion of a Lorentzian form in a Lorentz frame: B(v,w) = Σᵢ ηᵢᵢ vⁱ wⁱ.

        theorem Lightlike.IsLorentzianForm.symm {V : Type u_1} [AddCommGroup V] [Module ℝ V] [TopologicalSpace V] {n : ℕ} {B : V →L[ℝ] V →L[ℝ] ℝ} (h : IsLorentzianForm n B) (v w : V) :
        (B v) w = (B w) v

        Lorentzian forms are symmetric.

        theorem Lightlike.IsLorentzianForm.nondegenerate {V : Type u_1} [AddCommGroup V] [Module ℝ V] [TopologicalSpace V] {n : ℕ} {B : V →L[ℝ] V →L[ℝ] ℝ} (h : IsLorentzianForm n B) (v : V) (hv : ∀ (w : V), (B v) w = 0) :
        v = 0

        Lorentzian forms are nondegenerate.

        Agreement with Mathlib: the underlying LinearMap.BilinForm is symmetric (Mathlib's LinearMap.BilinForm.IsSymm).

        theorem Lightlike.IsLorentzianForm.exists_timelike {V : Type u_1} [AddCommGroup V] [Module ℝ V] [TopologicalSpace V] {n : ℕ} {B : V →L[ℝ] V →L[ℝ] ℝ} (hn : 0 < n) (h : IsLorentzianForm n B) :
        ∃ (v : V), (B v) v < 0

        Every Lorentzian form (with n ≥ 1) has a timelike vector: B(e₀, e₀) = -1 < 0.

        Lorentzian metrics on a smooth manifold #

        structure Lightlike.LorentzianMetric {E : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] {H : Type u_3} [TopologicalSpace H] (I : ModelWithCorners ℝ E H) (M : Type u_4) [TopologicalSpace M] [ChartedSpace H M] [IsManifold I (↑⊤) M] (n : ℕ) :
        Type (max u_2 u_4)

        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.

        Instances For
          theorem Lightlike.LorentzianMetric.symm {E : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] {H : Type u_3} [TopologicalSpace H] {I : ModelWithCorners ℝ E H} {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] [IsManifold I (↑⊤) M] {n : ℕ} (g : LorentzianMetric I M n) (x : M) (v w : TangentSpace I x) :
          ((g.g x) v) w = ((g.g x) w) v
          theorem Lightlike.LorentzianMetric.nondegenerate {E : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] {H : Type u_3} [TopologicalSpace H] {I : ModelWithCorners ℝ E H} {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] [IsManifold I (↑⊤) M] {n : ℕ} (g : LorentzianMetric I M n) (x : M) (v : TangentSpace I x) (hv : ∀ (w : TangentSpace I x), ((g.g x) v) w = 0) :
          v = 0
          def Lightlike.LorentzianMetric.IsTimelike {E : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] {H : Type u_3} [TopologicalSpace H] {I : ModelWithCorners ℝ E H} {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] [IsManifold I (↑⊤) M] {n : ℕ} (g : LorentzianMetric I M n) {x : M} (v : TangentSpace I x) :

          A tangent vector is timelike if g(v,v) < 0.

          Equations
          Instances For
            def Lightlike.LorentzianMetric.IsNull {E : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] {H : Type u_3} [TopologicalSpace H] {I : ModelWithCorners ℝ E H} {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] [IsManifold I (↑⊤) M] {n : ℕ} (g : LorentzianMetric I M n) {x : M} (v : TangentSpace I x) :

            A tangent vector is null (lightlike) if it is nonzero and g(v,v) = 0.

            Equations
            Instances For
              def Lightlike.LorentzianMetric.IsSpacelike {E : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] {H : Type u_3} [TopologicalSpace H] {I : ModelWithCorners ℝ E H} {M : Type u_4} [TopologicalSpace M] [ChartedSpace H M] [IsManifold I (↑⊤) M] {n : ℕ} (g : LorentzianMetric I M n) {x : M} (v : TangentSpace I x) :

              A tangent vector is spacelike if g(v,v) > 0.

              Equations
              Instances For