Edge-supported positive part and the Gram form #
If X is symmetric then B = A_G ⊙ X₊ is symmetric, entrywise nonnegative,
zero-diagonal, and supported on the edges of G. Pairing against X or B
gives the same Frobenius mass. Combined with the weighted Motzkin–Straus bound
and the rank-two variational lemma, this yields thm:gram.
BollobasNikiforov.Spectral.Variational cannot be imported here: it shares inner_vecMulVec
with BollobasNikiforov.MS.Basic (pulled in by Weighted), and also overlaps Weighted on
inner_smul_vecMulVec, inner_vecMulVec_vecMulVec, and
eigenvectorBasis_dotProduct. The CG03 argument is therefore reproduced in
GramAux.
CG03, locally, to avoid import clashes with Weighted #
Local copy of CG03 (lem:variational).
CG04. A_G ⊙ X₊ is symmetric when X is.
CG04. A_G ⊙ X₊ is entrywise nonnegative.
CG04. A_G ⊙ X₊ has zero diagonal.
CG04. A_G ⊙ X₊ vanishes off the edges of G.
CG04. On this support, ⟨B, X⟩ = ⟨B, B⟩.
Adjacency entries are 0-1, so A ⊙ X₊ has the same Frobenius mass as the
weighted sum of squared positive parts.
CG05. Theorem thm:gram. Named gram_le because BollobasNikiforov.gram is already
the planar Gram matrix in BollobasNikiforov.M.HalfPlane.