G1 — Centered Gram criterion for negative type
Provedapf_t0_negative_type_iff_based_gramFor a finite real symmetric zero-diagonal array and a chosen base index b, negative type is equivalent to positive semidefiniteness of the array (D_ib+D_jb-D_ij)/2. No strict positivity is claimed. The base index excludes the empty array in this statement.
import Definitions.Def_APFTheoremZero_CostGeometry set_option autoImplicit false open BigOperators APFTheoremZero universe u
theorem apf_t0_negative_type_iff_based_gram
{n : ℕ} (D : Matrix (Fin n) (Fin n) ℝ) (b : Fin n)
(hsym : ∀ i j, D i j = D j i) (hdiag : ∀ i, D i i = 0) :
NegativeType D ↔ (basedGram D b).PosSemidef := by sorry
Read-back
What the Lean code literally says, in plain math · Independent source-informed reader /root/theorem_zero_readback; exact model unavailable
For every natural number , every real matrix , and every supplied index , assume for all indices and for every index . Then the condition that for every real vector with is equivalent to positive semidefiniteness of the real matrix whose entries are . Positive semidefiniteness here means both for all indices and for every real vector . There is no separate hypothesis of entrywise nonnegativity of or strict positivity of this quadratic form. The supplied rules out an instance with ; is included, and its zero-diagonal hypothesis makes and the one-entry zero matrices. The equivalence is asserted for each supplied base index, without requiring a distinguished or uniquely chosen one.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.