The Schwarzschild solution #
Schwarzschild in coordinates (t, r, θ, φ):
ds² = -(1-2M/r) dt² + (1-2M/r)⁻¹ dr² + r² dθ² + r² sin²θ dφ².
christoffel_sch: its Christoffel symbols, proven equal to the definition (no hand computation is trusted).ricci_sch,einstein_sch,einstein_sch_exterior: all 16 Ricci components vanish, soG_{μν} = 0, wherever the chart is valid (r > 0,r ≠ 2M,sin θ ≠ 0).isCoordMetric_sch,sch_isVacuumSolution,sch_isLorentzian: on the exteriorr > 2M,0 < θ < π(M > 0) it is a smooth, invertible coordinate metric of Lorentzian signature that solves the vacuum Einstein equations.
The calculus helpers for diagonal metrics (christoffel_diagonal, pd_coord, …) are shared with
the curvature tests (Lightlike/Tests/Curvature.lean), which also hold the negative tests: the
horizon r = 2M is rejected, and a wrong Schwarzschild metric is shown not Ricci-flat.
Calculus helpers for diagonal metrics #
Schwarzschild solves the vacuum equations #
Schwarzschild in coordinates (t, r, θ, φ) = (y 0, y 1, y 2, y 3):
ds² = -(1-2M/r) dt² + (1-2M/r)⁻¹ dr² + r² dθ² + r² sin²θ dφ².
Equations
Instances For
The Schwarzschild metric diag(-(1-2M/r), (1-2M/r)⁻¹, r², r² sin²θ) as a matrix-valued function
of the coordinates (t, r, θ, φ).
Equations
- Lightlike.schMetric M y = Matrix.diagonal (Lightlike.schD M y)
Instances For
Schwarzschild is a coordinate metric (smooth, symmetric, invertible) on r > 2M, 0<θ<π.
Domain form. Schwarzschild (M > 0) solves the vacuum Einstein equations
on the exterior domain r > 2M, 0 < θ < π, in the hardened sense: it is a smooth, symmetric,
invertible coordinate metric there and G_{μν} = 0 at every point.
Signature. Exterior Schwarzschild has Lorentzian signature: with f = 1 - 2M/r > 0,
g = Pᵀ η P for P = diag(√f, 1/√f, r, r sin θ).