Nondegeneracy in the article's sense, from invertibility
ProvedPseudoRiemannian.nondegenerate_of_invertibleNondegeneracy — the article's condition, from invertibility.
Let the metric matrix at x be invertible: IsUnit (g x).det.
Conclusion: the pairing at x is nondegenerate in the article's exact sense — "there is no non-zero X in TpM such that g(X, Y) = 0 for all Y in TpM":
In words: no nonzero vector is orthogonal (under ) to everything. This shows that the signature witness of the definition really carries the source's nondegeneracy, via the invertibility of the previous rung.
Formalization note. Testing argument: given u with all pairings zero, choose v = (g x)^{-1} u (exists by hinv); then , forcing u = 0 (Mathlib's squared-norm-implies-zero on Pi types, e.g. Pi.norm_eq_zero after norm_eq_pow_two-style rewriting, or componentwise via sq_eq_zero_iff). Neither symmetry nor smoothness is needed — the statement is pure finite-dimensional linear algebra.
import Mathlib import Definitions.Def_PseudoRiemannian
namespace PseudoRiemannian
open Matrix
open scoped ContDiff
/-- Milestone: the article's nondegeneracy, from invertibility. "That g is
non-degenerate means there is no non-zero X in TpM such that g(X, Y) = 0 for
all Y in TpM." If the metric matrix `g x` is invertible, then the pairing at
`x` is nondegenerate in exactly this sense: the only vector pairing to zero
with every other vector is the zero vector. -/
theorem nondegenerate_of_invertible {n : ℕ} {g : Spc n → Matrix (Fin n) (Fin n) ℝ}
{x : Spc n} (hinv : IsUnit (g x).det) :
IsNondegenerateAt g x := by
sorry
end PseudoRiemannianRead-back
What the Lean code literally says, in plain math · zai-glm-5-3-flash-vibe-free
The theorem takes a metric field g : Spc n → Matrix (Fin n) (Fin n) ℝ, a point x : Spc n, and hinv : IsUnit (g x).det.
Conclusion: IsNondegenerateAt g x — i.e. ∀ u : Spc n, (∀ v : Spc n, pair g x u v = 0) → u = 0: the only vector pairing to zero with every vector is zero, the article's "no non-zero X such that g(X, Y) = 0 for all Y".
The intended proof: given such a u, set v = (g x)⁻¹ applied to u as a mulVec (the inverse matrix exists since det (g x) is a unit in ℝ); then pair g x u v = ∑ i, u i * u i after the sum telescopes through g x * (g x)⁻¹ = 1 (the double-sum pairing against mulVec gives the dot product u ⬝ᵥ (g x).mulVec v), so ∑ i, u i ^ 2 = 0, forcing every u i = 0 by sq_eq_zero_iff/Finset.sum_eq_zero, i.e. u = 0 (funext). Note the statement is exact — no positive-definiteness, no signature, no symmetry of g is used; only invertibility. This closes the chain witness → invertible → nondegenerate, showing HasSignature implies the article's nondegeneracy at every point.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.