Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Appendix B (⇐): distinct nonzero Gram rows are orthogonal

Proved
RobustSpecClust.Lift.rows_eq_or_orthogonal

by mikedeng1 · Oct 16, 2026 · Mathlib 0df444a (Lean v4.33.1)

linear-algebrap2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1positive-semidefinitespectral-clustering

Suppose X=GG⊤X=GG^\topX=GG⊤ and every entry of XXX is zero or one. Any two nonzero rows gi,gjg_i,g_jgi​,gj​ of GGG are either equal or orthogonal:

gi=gjor∑k=1r(gi)k(gj)k=0.g_i=g_j\quad\text{or}\quad\sum_{k=1}^{r}(g_i)_k(g_j)_k=0.gi​=gj​ork=1∑r​(gi​)k​(gj​)k​=0.

Thus the distinct nonzero rows give mutually orthogonal cluster directions. This combines the proof's basis-orthogonality and row-exhaustion claims without fixing its proof-local basis.

Preamble
import Mathlib
import Definitions.Def_RobustSpecClust_Lift_Setting
Formal statement
namespace RobustSpecClust.Lift

theorem rows_eq_or_orthogonal {N r : ℕ} (X : Matrix (Fin N) (Fin N) ℝ)
    (G : Matrix (Fin N) (Fin r) ℝ) (hX : X = G * G.transpose)
    (hbinary : ∀ i j, X i j = 0 ∨ X i j = 1) :
    ∀ i j, G i ≠ 0 → G j ≠ 0 → G i = G j ∨ ∑ k, G i k * G j k = 0 := by sorry

end RobustSpecClust.Lift
Source
arXiv:1912.07546v3, Appendix B, proof of Proposition 1 (⇐), pp. 37–38, orthonormal-basis and row-exhaustion claims
Human review
  • Endorsed by Shuze Chen · Oct 16, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 16, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me