Minkowski and Schwarzschild metrics in coordinates
Definitionefe_metricsTwo concrete metrics in the coordinate framework of efe_geometry.
The Minkowski metric of flat spacetime in inertial coordinates is the constant diagonal metric , of signature .
The Schwarzschild metric of mass , in Schwarzschild coordinates and geometrized units , is the diagonal metric
where and .
Its exterior region is the set of coordinate points with and : outside the horizon, and away from the coordinate poles where the angular part of the chart degenerates. On this region the four component functions are smooth and the metric matrix is invertible, which is what makes the curvature quantities of efe_geometry meaningful there.
import Definitions.Def_efe_geometry
namespace EinsteinFieldEquations
/-- The Minkowski metric of flat spacetime in inertial coordinates, with signature
`(−, +, +, +)`. -/
noncomputable def minkowski : Tensor2Field := fun _ =>
Matrix.diagonal ![-1, 1, 1, 1]
/-- The Schwarzschild metric of mass `M` in Schwarzschild coordinates
`x = (t, r, θ, φ)`, in geometrized units `G = c = 1` and signature `(−, +, +, +)`:
`diag(−(1 − 2M/r), (1 − 2M/r)⁻¹, r², r² sin²θ)`. -/
noncomputable def schwarzschild (M : ℝ) : Tensor2Field := fun x =>
Matrix.diagonal ![-(1 - 2 * M / x 1), (1 - 2 * M / x 1)⁻¹, (x 1) ^ 2,
(x 1) ^ 2 * Real.sin (x 2) ^ 2]
/-- The Schwarzschild exterior region in Schwarzschild coordinates: the radial coordinate is
outside the horizon, `r > 2M`, and the polar angle avoids the coordinate poles, `0 < θ < π`. -/
def SchwarzschildExterior (M : ℝ) (x : Coord) : Prop :=
2 * M < x 1 ∧ 0 < x 2 ∧ x 2 < Real.pi
end EinsteinFieldEquations
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Provenance note — this read-back is NOT independent testimony. It is non-blind: it was written by the same agent that drafted the Lean statements and the mission, at the explicit instruction of the proposal's owner, and not by an independent auditor kept blind to the intended meaning. The author knew the source material and the intended statement while writing it, so it cannot play the cross-checking role a blind read-back is meant to play, and no reviewer should treat it as independent confirmation that the formalization is faithful.
This file defines two tensor fields and one predicate, in the coordinate setting of the accompanying geometry file (a point is a quadruple of reals , and a tensor field assigns a real matrix to each point).
First field. The constant field whose value at every point is the diagonal matrix with diagonal entries in index order , and zero off the diagonal. It does not depend on the point.
Second field. For a real parameter — with no sign or positivity restriction — the field whose value at the point is the diagonal matrix with diagonal entries, in index order ,
and zero off the diagonal. Only the second and third coordinates of occur; the value is independent of and . Both occurrences of division are total: if then , so the first entry is and the second is ; if then its reciprocal is , so the matrix is singular there. Nothing in the definition excludes these degenerate points.
Predicate. For a real and a point , the stated condition is the conjunction of three strict inequalities:
It constrains only the second and third coordinates; and are unconstrained, and itself is not required to be positive — for the condition admits points with , including when . On points satisfying the three inequalities together with one has and , so the four diagonal entries above are respectively negative, positive, positive and positive, and the matrix is invertible; the predicate alone, without , does not guarantee this.