Proved
CarrollGR.inverse_metric_contractionLet be a real matrix which is a metric of signature , i.e. for some invertible , and let be its inverse matrix. Then
This is the basic trace identity used whenever one takes the trace of Einstein's equation (eq. (67)).
Formalization Note The statement is pointwise and purely algebraic; the signature hypothesis supplies symmetry and invertibility of .
import Mathlib import Definitions.Def_CarrollGR_Defs open scoped ContDiff
namespace CarrollGR
theorem inverse_metric_contraction (M : Matrix (Fin 4) (Fin 4) ℝ) (hM : IsLorentzian M) :
∑ μ : Fin 4, ∑ ν : Fin 4, M⁻¹ μ ν * M μ ν = 4 := by sorry
end CarrollGRRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) - same agent as the drafter; non-blind
Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted the Lean statement, with full knowledge of the source text and of the intended meaning. It is not a blind audit by an independent reader and must not be treated as one; reviewers should compare the Lean code against the source themselves.
For every real matrix such that there exists a real matrix with and , the statement asserts
where is Mathlib's matrix inverse (the zero matrix if were singular, which the hypothesis excludes).
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.