Documentation

Lightlike.GR.Einstein

Einstein's equations in vacuum #

That Minkowski space solves the vacuum equations follows in one line from flatness (R = 0 ⇒ Ric = 0 ⇒ G = 0); the work is in defining the curvature of a coordinate metric and computing Minkowski's components.

References. R. M. Wald, General Relativity (University of Chicago Press, 1984), ch. 4 (Einstein's equation); S. M. Carroll, Spacetime and Geometry (Addison-Wesley, 2004), ch. 4 (gravitation).

noncomputable def Lightlike.einsteinTensor {n : ℕ} (g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ) (μ ν : Fin n) (x : Fin n → ℝ) :

The Einstein tensor G_{μν} = R_{μν} − ½ R g_{μν}.

Equations
Instances For
    def Lightlike.IsVacuumSolution {n : ℕ} (Λ : ℝ) (g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ) (U : Set (Fin n → ℝ)) :

    Vacuum Einstein equations with cosmological constant Λ on an open set U: g is a coordinate metric on U and G_{μν} + Λ g_{μν} = 0 at every point of U. The IsCoordMetric requirement excludes junk solutions such as g = 0 (whose Lean "inverse" is 0).

    Equations
    Instances For
      theorem Lightlike.einsteinTensor_eq_zero_of_riemann_eq_zero {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {x : Fin n → ℝ} (h : ∀ (ρ σ μ ν : Fin n), riemann g ρ σ μ ν x = 0) (μ ν : Fin n) :
      einsteinTensor g μ ν x = 0

      If the Riemann tensor vanishes at x, so does the Einstein tensor.

      Minkowski space solves the vacuum Einstein equations (with Λ = 0) on all of ℝⁿ.

      theorem Lightlike.minkowski_not_vacuumSolution_of_ne_zero {n : ℕ} (hn : 0 < n) {Λ : ℝ} (hΛ : Λ ≠ 0) (x₀ : Fin n → ℝ) {U : Set (Fin n → ℝ)} (hU : U.Nonempty) :

      Minkowski space does not solve the vacuum equations with a nonzero cosmological constant on any nonempty open set (in dimension n ≥ 1): there G = 0 but Λ η ≠ 0.

      theorem Lightlike.trace_inv_mul_self {n : ℕ} {G : Matrix (Fin n) (Fin n) ℝ} (hsym : G.transpose = G) (hdet : IsUnit G.det) :
      ∑ μ : Fin n, ∑ ν : Fin n, G⁻¹ μ ν * G μ ν = ↑n

      Trace of the metric against its inverse: g^{μν} g_{μν} = n for a symmetric invertible g.

      theorem Lightlike.einstein_eq_zero_iff_ricci_eq_zero {n : ℕ} (hn : n ≠ 2) (g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ) (x : Fin n → ℝ) (hsym : (g x).transpose = g x) (hdet : IsUnit (g x).det) :
      (∀ (μ ν : Fin n), einsteinTensor g μ ν x = 0) ↔ ∀ (μ ν : Fin n), ricci g μ ν x = 0

      Trace-reversal: in dimension n ≠ 2, at a point where the metric is symmetric and invertible, the Einstein tensor vanishes iff the Ricci tensor does. Hence the vacuum equations (Λ = 0) say exactly that spacetime is Ricci-flat.

      theorem Lightlike.vacuum_iff_ricci_eq_zero {n : ℕ} (hn : n ≠ 2) {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} (hg : IsCoordMetric g U) :
      IsVacuumSolution 0 g U ↔ ∀ x ∈ U, ∀ (μ ν : Fin n), ricci g μ ν x = 0

      For n ≠ 2 and a coordinate metric on U, the vacuum equations with Λ = 0 on U are equivalent to Ricci-flatness on U.