Documentation

Lightlike.Spacetime.Minkowski

Minkowski space and proper time #

Minkowski space of dimension n is the manifold ℝⁿ = Fin n → ℝ (modelled on itself, one global chart) with the constant metric η = diag(-1, 1, …, 1).

Main results

References. S. M. Carroll, Spacetime and Geometry (Addison-Wesley, 2004), ch. 1 (special relativity and flat spacetime); R. M. Wald, General Relativity (University of Chicago Press, 1984), ch. 1.

noncomputable def Lightlike.minkowskiForm (n : ℕ) :
(Fin n → ℝ) →L[ℝ] (Fin n → ℝ) →L[ℝ] ℝ

The Minkowski bilinear form η(v, w) = Σᵢ ηᵢᵢ vⁱ wⁱ on ℝⁿ, as a continuous bilinear map.

Equations
Instances For
    @[simp]
    theorem Lightlike.minkowskiForm_apply {n : ℕ} (v w : Fin n → ℝ) :
    ((minkowskiForm n) v) w = ∑ i : Fin n, etaDiag i * v i * w i
    theorem Lightlike.minkowskiForm_single {n : ℕ} (i j : Fin n) :
    ((minkowskiForm n) (Pi.single i 1)) (Pi.single j 1) = eta n i j

    η(eᵢ, eⱼ) = ηᵢⱼ on the standard basis vectors.

    The standard basis of ℝⁿ is a Lorentz frame for η.

    noncomputable def Lightlike.minkowskiMetric (n : ℕ) :

    Minkowski space as a smooth Lorentzian manifold: the manifold ℝⁿ with the constant metric η on every tangent space. Smoothness is proved exactly as Mathlib proves smoothness of the constant Riemannian metric on an inner product space (riemannianMetricVectorSpace).

    Equations
    Instances For

      Proper time #

      noncomputable def Lightlike.mSq {n : ℕ} (v : Fin n → ℝ) :

      The squared Minkowski length η(v, v) (negative for timelike v).

      Equations
      Instances For
        noncomputable def Lightlike.tau {n : ℕ} (v : Fin n → ℝ) :

        The proper time elapsed along a straight segment with displacement v: √(-η(v,v)).

        Equations
        Instances For
          noncomputable def Lightlike.properTime {n : ℕ} (γ : ℝ → Fin n → ℝ) (a b : ℝ) :

          Proper time along a curve γ : ℝ → ℝⁿ between parameters a and b: τ[γ] = ∫ₐᵇ √(-η(γ'(t), γ'(t))) dt. (Meaningful for timelike curves; for other curves the integrand is 0 wherever γ' is not timelike, by the convention √x = 0 for x ≤ 0.)

          Equations
          Instances For
            theorem Lightlike.mSq_smul {n : ℕ} (c : ℝ) (v : Fin n → ℝ) :
            mSq (c • v) = c ^ 2 * mSq v
            theorem Lightlike.tau_smul {n : ℕ} {c : ℝ} (hc : 0 ≤ c) (v : Fin n → ℝ) :
            tau (c • v) = c * tau v
            theorem Lightlike.properTime_inertial {n : ℕ} (x v : Fin n → ℝ) (a b : ℝ) :
            properTime (fun (t : ℝ) => x + t • v) a b = (b - a) * tau v

            Proper time along the inertial worldline t ↦ x + t • v is (b - a) · √(-η(v,v)).

            theorem Lightlike.properTime_reparam {n : ℕ} (γ : ℝ → Fin n → ℝ) (φ : ℝ → ℝ) (hγ : ContDiff ℝ 1 γ) (hφ : ContDiff ℝ 1 φ) (hmono : ∀ (t : ℝ), 0 ≤ deriv φ t) (a b : ℝ) :
            properTime (γ ∘ φ) a b = properTime γ (φ a) (φ b)

            Reparametrisation invariance of proper time. If φ is C¹ and non-decreasing (φ' ≥ 0) and γ is C¹, then τ[γ ∘ φ] on [a,b] = τ[γ] on [φ a, φ b].

            The reverse triangle inequality (twin paradox) #

            def Lightlike.IsFutureTimelike {d : ℕ} (v : Fin (d + 1) → ℝ) :

            A vector in ℝ^{d+1} is future-directed timelike if η(v,v) < 0 and v⁰ > 0.

            Equations
            Instances For
              def Lightlike.spatialSq {d : ℕ} (v : Fin (d + 1) → ℝ) :

              Squared spatial length Σᵢ (vⁱ)², i = 1 … d.

              Equations
              Instances For
                theorem Lightlike.mSq_eq {d : ℕ} (v : Fin (d + 1) → ℝ) :
                mSq v = -v 0 ^ 2 + spatialSq v
                theorem Lightlike.minkowskiForm_eq {d : ℕ} (u v : Fin (d + 1) → ℝ) :
                ((minkowskiForm (d + 1)) u) v = -(u 0 * v 0) + ∑ i : Fin d, u i.succ * v i.succ
                theorem Lightlike.reverse_cauchySchwarz {d : ℕ} {u v : Fin (d + 1) → ℝ} (hu : IsFutureTimelike u) (hv : IsFutureTimelike v) :
                tau u * tau v ≤ -((minkowskiForm (d + 1)) u) v

                Reverse Cauchy–Schwarz inequality in Minkowski space: for future-directed timelike u, v, -η(u,v) ≥ τ(u) τ(v). (In Euclidean space the inequality goes the other way.)

                theorem Lightlike.twin_paradox {d : ℕ} {u v : Fin (d + 1) → ℝ} (hu : IsFutureTimelike u) (hv : IsFutureTimelike v) :
                tau u + tau v ≤ tau (u + v)

                Twin paradox (reverse triangle inequality). For future-directed timelike displacements u and v, the proper time along the broken worldline 0 → u → u + v is at most the proper time along the straight worldline 0 → u + v: τ(u) + τ(v) ≤ τ(u + v).