Alphabeta Math
Pipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

✓ 5 results · all verified · 5 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs; all 5 also cleared it.

Spectral clustering and graph cuts

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Finite weighted graph Laplacian

Definition

Let n≥1, V={1,…,n}, and let W=(wij)∈Rn×n satisfy wij=wji≥0 and wii=0. Define di=∑j=1nwij, D=diag⁡(d1,…,dn), and L=D−W. The support graph has vertex set V and edge {i,j} exactly when wij>0; isolated vertices are singleton connected components. Put V+={i∈V:di>0}, let D+ and L+ be the principal submatrices indexed by V+, and, only when V+≠∅, define Lsym,+=D+−1/2L+D+−1/2 on RV+.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Finite-dimensional trace minimization under orthonormal constraints

Statement

Let A∈Rn×n be symmetric, let λ1≤⋯≤λn be its real eigenvalues repeated with multiplicity, and define tr⁡(B)=∑iBii for square B. For 1≤k≤n, min⁡Q∈Rn×k, QTQ=Iktr⁡(QTAQ)=∑i=1kλi. The minimum is attained by taking the columns of Q to be orthonormal eigenvectors for the k smallest eigenvalues, counted with multiplicity; when an eigenvalue at the cutoff is repeated, the minimizer need not be unique.

Facts & Assumptions

Given: A real symmetric matrix A∈Rn×n and an integer 1≤k≤n.

[F1]

Real spectral theorem: a self-adjoint endomorphism of a finite-dimensional real inner product space has an orthonormal eigenbasis: a self-adjoint endomorphism of a finite-dimensional real inner-product space has an orthonormal eigenbasis.

[F2]

The smallest and largest eigenvalues of a self-adjoint endomorphism are the minimum and maximum Rayleigh quotients: for a self-adjoint endomorphism with eigenvalues ordered decreasingly, the minimum nonzero-vector Rayleigh quotient is the smallest eigenvalue.

Proof

1.1givenF2algebra

If k=1, every feasible Q is a unit column q, so tr⁡(QTAQ)=qTAq=RA(q). By [F2], its minimum is the smallest eigenvalue, which is λ1 in the increasing order of the Statement.

1.2givenF1algebrachoose

Suppose k≥2. By [F1], choose an orthonormal eigenbasis u1,…,un with eigenvalues λ1≤⋯≤λn, and let U be the matrix with these columns. For any feasible Q, put C=UTQ; then CTC=Ik and QTAQ=CTdiag⁡(λ1,…,λn)C. Writing cij for the entries of C and pi=∑j=1kcij2, direct expansion of the diagonal sum gives tr⁡(QTAQ)=∑i=1nλipi.

2.1givenstep 1.2algebra

The matrix P=CCT is symmetric and idempotent because CTC=Ik. Hence it is the orthogonal projection onto the column space of C, and pi=eiTPei=∥Pei∥22 lies in [0,1]. Also ∑ipi=∑i,jcij2=∑j(CTC)jj=k.

3.1step 1.1step 1.2step 2.1algebraconstruct∎

Using ∑ipi=k, subtract the bottom-k eigenvalue sum to obtain ∑iλipi−∑i=1kλi=∑i=1k(λk−λi)(1−pi)+∑i=k+1n(λi−λk)pi≥0. Every term on the right is nonnegative. Taking Q=(u1,…,uk) gives equality, so the stated minimum is attained. This proves the claim for k≥2 as well as the k=1 case of step 1.1.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Projected coordinate vectors give a deterministic orthonormal basis

Statement

Let m≥1, let E be a subspace of Rm with its standard inner product, and let PE be the orthogonal projection onto E. Let e1,…,em be the standard coordinate vectors. Start a list with an optional unit vector q0∈E. For each i=1,…,m in order, set vi=PEei, subtract from vi its orthogonal projections onto the vectors already in the list, discard the residual if it is zero, and otherwise append the residual divided by its Euclidean norm. The resulting list is an orthonormal basis of E, beginning with q0 when it is supplied.

Facts & Assumptions

Given: A subspace E⊆Rm with the standard inner product, its orthogonal projection PE, the standard coordinate vectors e1,…,em, and an optional unit vector q0∈E.

[F1]

The orthogonal projection PWv is the W-component in V=W⊕W⊥: every vector has a unique decomposition as a component in E plus a component in E⊥, and PEv is the E-component.

Proof

1.1givenF1algebra

Write x=∑i=1mxiei. The unique decompositions of two vectors add, and scalar multiples of a decomposition remain decompositions, so uniqueness makes PE linear. If x∈E, its decomposition is x+0, hence PEx=x. Therefore x=PEx=∑ixiPEei, and the projected coordinate vectors span E.

2.1givenF1step 1.1algebraconstruct∎

Start with q0 if supplied, then process vi=PEei in order. Each residual ri=vi−∑j⟨vi,bj⟩bj lies in E and is orthogonal to every previously accepted orthonormal vector bj. If ri=0, then vi is already in their span; if ri≠0, appending ri/∥ri∥2 preserves orthonormality and the span of all processed vectors. By induction, after the finite scan the accepted list is orthonormal and spans the initial vector together with all PEei. Step 1.1 shows this span is E, and the initial unit vector is first when present.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

RatioCut and normalized cut for a finite weighted graph

Definition

Let n≥1, V={1,…,n}, and let W=(wij)∈Rn×n be symmetric, entrywise nonnegative, and zero-diagonal. Define di=∑jwij, D=diag⁡(d1,…,dn), L=D−W, and V+={i:di>0}. For A⊆V, put Ac=V∖A, cut⁡(A,Ac)=∑i∈A,j∈Acwij, and vol⁡(A)=∑i∈Adi. For a partition A=(A1,…,Ak) of V into pairwise disjoint nonempty sets, define RatioCut⁡(A)=∑r=1kcut⁡(Ar,Arc)∣Ar∣. For a partition of V+ into pairwise disjoint nonempty sets, each of positive volume, define Ncut⁡(A)=∑r=1kcut⁡(Ar,Arc)vol⁡(Ar). For these partitions, the RatioCut indicator column is hr=1Ar/∣Ar∣, and the Ncut indicator column is hr=1Ar/vol⁡(Ar), extended by zero on isolated vertices.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Quadratic form and kernel of a weighted graph Laplacian

Statement

Let V={1,…,n} with n≥1, let W be symmetric, nonnegative, and zero-diagonal, let D=diag⁡(∑jwij), let L=D−W, and let the support graph have edge {i,j} exactly when wij>0. For every f∈Rn, fTLf=12∑i,j=1nwij(fi−fj)2. Consequently L is positive semidefinite and ker⁡L={f∈Rn:f is constant on each connected component of the support graph}, including isolated singleton components.

Facts & Assumptions

Given: A finite symmetric nonnegative zero-diagonal weight matrix W, its degree matrix D, Laplacian L=D−W, support graph, and an arbitrary vector f∈Rn.

[F1]

Finite weighted graph Laplacian: di=∑jwij, D=diag⁡(di), L=D−W, and the support graph has edge {i,j} exactly when wij>0.

Proof

1.1givenF1algebra

By [F1], fTLf=∑idifi2−∑i,jwijfifj. Replacing di by ∑jwij, using wij=wji to identify the two square sums, and collecting terms gives fTLf=12∑i,jwij(fi2−2fifj+fj2)=12∑i,jwij(fi−fj)2.

2.1givenF1step 1.1algebra

The displayed sum is nonnegative for every f, and L is symmetric because both D and W are symmetric. Therefore L is positive semidefinite.

2.2givenF1step 1.1algebra

If Lf=0, then fTLf=0. By step 1.1 this is a finite sum of nonnegative terms, so every term with wij>0 vanishes and fi=fj on every support edge. Equality propagates along each finite path, hence f is constant on every connected component, including an isolated singleton.

3.1givenF1step 2.2algebra∎

Conversely, suppose f is constant on each support component. For each vertex i, every j with wij>0 lies in the same component, so fi=fj. Hence (Lf)i=difi−∑jwijfj=∑jwij(fi−fj)=0 for every i, and Lf=0. The two inclusions give the stated kernel equality.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

RatioCut and Ncut as indicator-matrix traces

Statement

Let W,D,L,V,V+ be as in the finite weighted graph definition. For a square matrix B, set tr⁡(B)=∑iBii. If A1,…,Ak partition V, define HR∈Rn×k by (HR)ir=∣Ar∣−1/2 for i∈Ar and 0 otherwise. Then HRTHR=Ik and RatioCut⁡(A1,…,Ak)=tr⁡(HRTLHR). If A1,…,Ak partition V+, define HN∈Rn×k by (HN)ir=vol⁡(Ar)−1/2 for i∈Ar and 0 otherwise. Then HNTDHN=Ik and Ncut⁡(A1,…,Ak)=tr⁡(HNTLHN).

Facts & Assumptions

Given: A finite weighted graph with symmetric nonnegative zero-diagonal W, degree matrix D, Laplacian L=D−W, and either a partition of all vertices or a partition of its positive-degree vertices.

[F1]

Finite weighted graph Laplacian: di=∑jwij, D=diag⁡(di), and L=D−W.

[F2]

RatioCut and normalized cut for a finite weighted graph: cut⁡(A,Ac)=∑i∈A,j∉Awij, vol⁡(A)=∑i∈Adi, RatioCut divides each cut by ∣A∣, Ncut divides it by vol⁡(A), and the indicator columns are normalized by ∣A∣−1/2 or vol⁡(A)−1/2 respectively.

[F3]

Quadratic form and kernel of a weighted graph Laplacian: hTLh=12∑i,jwij(hi−hj)2 for every real vector h.

Proof

1.1givenF2algebra

The supports of distinct RatioCut indicator columns are disjoint, and each column has ∣Ar∣ entries equal to ∣Ar∣−1/2. Thus each column has squared norm 1 and distinct columns have inner product 0, so HRTHR=Ik.

1.2givenF1F2algebra

The supports of distinct Ncut indicator columns are disjoint, and hrTDhr=vol⁡(Ar)−1∑i∈Ardi=1. Distinct columns have D-inner product 0, so HNTDHN=Ik.

1.3givenF2F3algebra

By [F3], the energy of a RatioCut indicator column is 12∑i,jwij(hi−hj)2. Terms with both indices inside or both outside Ar vanish. Each ordered crossing pair has squared difference ∣Ar∣−1; symmetry makes the two directed crossing sums equal, so the factor 1/2 leaves hrTLhr=cut⁡(Ar,Arc)/∣Ar∣.

1.4givenF2F3algebra

For a Ncut indicator column the same finite energy sum has zero terms except across Ar and its complement, and each crossing squared difference is vol⁡(Ar)−1. Pairing the two equal directed sums gives hrTLhr=cut⁡(Ar,Arc)/vol⁡(Ar).

2.1F2step 1.1step 1.2step 1.3step 1.4algebra∎

By the stated trace definition, tr⁡(HRTLHR)=∑rhrTLhr and tr⁡(HNTLHN)=∑rhrTLhr. Summing steps 1.3 and 1.4 gives the RatioCut and Ncut identities, while steps 1.1 and 1.2 give their respective indicator constraints.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Weighted RatioCut and Ncut spectral relaxations

Statement

Let n≥1, V={1,…,n}, and let W=(wij)∈Rn×n be symmetric, entrywise nonnegative, and zero-diagonal. Put di=∑jwij, D=diag⁡(d1,…,dn), L=D−W, and V+={i:di>0}. If V+≠∅, let D+ and L+ be the principal submatrices indexed by V+ and set Lsym,+=D+−1/2L+D+−1/2. The matrices L and, when defined, Lsym,+ are positive semidefinite. For square B, define tr⁡(B)=∑iBii. For 1≤k≤n, let Rk be the minimum of ∑rcut⁡(Ar,Arc)/∣Ar∣ over partitions of V into k nonempty sets. Then min⁡H∈Rn×k, HTH=Iktr⁡(HTLH)=∑i=1kλi(L), where the eigenvalues, repeated with multiplicity, are ordered increasingly, and a minimizer consists of orthonormal eigenvectors for the k smallest eigenvalues. This relaxed minimum is a lower bound for Rk. When 1≤k≤∣V+∣, let Nk be the minimum of ∑rcut⁡(Ar,Arc)/vol⁡(Ar) over partitions of V+ into k nonempty sets. Then min⁡H∈R∣V+∣×k, HTD+H=Iktr⁡(HTL+H)=∑i=1kλi(Lsym,+), attained at H=D+−1/2Q for bottom-k orthonormal eigenvectors Q of Lsym,+. The corresponding columns u=D+−1/2q satisfy L+u=λD+u, and the relaxed minimum is a lower bound for Nk. These lower bounds make no approximation guarantee for a subsequent rounding. Isolated vertices are excluded from the Ncut objective and may be reported separately as singleton outputs.

Facts & Assumptions

Given: A finite weighted graph with W=WT≥0, zero diagonal, D=diag⁡(di), L=D−W, positive-degree set V+, and an integer k in the admissible range for the partition objective under consideration.

[F1]

Finite weighted graph Laplacian: di=∑jwij, L=D−W, V+={i:di>0}, and Lsym,+=D+−1/2L+D+−1/2 on V+ when it is nonempty.

[F2]

RatioCut and normalized cut for a finite weighted graph: RatioCut partitions all of V and sums cut⁡(Ar,Arc)/∣Ar∣; Ncut partitions only V+ and sums cut⁡(Ar,Arc)/vol⁡(Ar).

[F3]

Quadratic form and kernel of a weighted graph Laplacian: L is positive semidefinite and fTLf=12∑i,jwij(fi−fj)2.

[F4]

RatioCut and Ncut as indicator-matrix traces: RatioCut partitions yield HRTHR=Ik and RatioCut⁡=tr⁡(HRTLHR); positive-volume Ncut partitions yield HNTDHN=Ik and Ncut⁡=tr⁡(HNTLHN).

[F5]

Finite-dimensional trace minimization under orthonormal constraints: for a real symmetric matrix A, the minimum of tr⁡(QTAQ) over QTQ=Ik is the sum of its k smallest eigenvalues, attained by bottom-k orthonormal eigenvectors.

Proof

1.1givenF1F3algebraconstruct

By [F1] and [F3], L is symmetric positive semidefinite. If x∈R∣V+∣, extend it by zero on isolates to x~∈Rn; then xTL+x=x~TLx~≥0, so L+ is positive semidefinite. Since D+−1/2 is a real diagonal matrix, yTLsym,+y=(D+−1/2y)TL+(D+−1/2y)≥0. Thus both Laplacians in the Statement are positive semidefinite.

1.2givenF2F4algebra

For every partition of V into k nonempty sets, [F4] supplies a feasible HR for the real constraint HTH=Ik with trace equal to that partition's RatioCut. The relaxed feasible set therefore contains every discrete indicator matrix, so the infimum over the relaxed feasible set is at most the minimum over the finite nonempty family of partitions.

1.3givenF1F2F4algebra

Let A1,…,Ak partition V+. By [F4], their normalized indicators, restricted to V+, satisfy HTD+H=Ik and have trace objective equal to Ncut. Indeed, if i is isolated then di=0 and ∑jwij=0 with wij≥0 forces every wij=0, so row and column i of L vanish; extending H by zero on isolates leaves the active trace unchanged. Thus the active real feasible set contains every discrete Ncut indicator, and the infimum over the active real feasible set is at most Nk.

2.1givenF1F5step 1.2algebra

The matrix L is real symmetric by [F1]. Applying [F5] with A=L gives min⁡HTH=Iktr⁡(HTLH)=∑i=1kλi(L), attained by orthonormal eigenvectors for the k smallest eigenvalues. Together with step 1.2 this is the claimed RatioCut lower bound.

2.2givenF1F5step 1.3algebraconstruct

The diagonal entries of D+ are strictly positive, so Q=D+1/2H is a bijection from HTD+H=Ik to QTQ=Ik. It also gives tr⁡(HTL+H)=tr⁡(QTD+−1/2L+D+−1/2Q)=tr⁡(QTLsym,+Q). Applying [F5] to Lsym,+ gives the stated Ncut relaxed minimum and optimizer H=D+−1/2Q; with step 1.3 this is the claimed lower bound.

3.1F1step 2.2algebra

If Lsym,+q=λq and u=D+−1/2q, multiplying by D+1/2 gives L+u=λD+u. Conversely, if L+u=λD+u, then q=D+1/2u satisfies Lsym,+q=λq. Thus the symmetric normalized problem is equivalent to the generalized eigenproblem stated.

4.1F1F2step 1.2step 1.3step 2.1step 2.2algebra∎

Every Ncut part is a nonempty subset of V+, so its volume is positive; an isolate has zero volume but is excluded from Nk and can only be reinserted as a separately reported singleton. Steps 1.2, 1.3, 2.1, and 2.2 compare feasible sets and compute the lower bounds; they do not bound the RatioCut or Ncut value after an arbitrary rounding.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Deterministic weighted spectral clustering with explicit isolate and eigenspace conventions

Definition

Inputs. Integers n,p≥1, data x1,…,xn∈Rp, a fixed deterministic graph-construction procedure G:(Rp)n→Rn×n, mode ratio or normalized, and cluster count k≥1. In normalized mode also supply a Boolean row-normalization option, defaulting to false.

  1. Compute W=G(x1,…,xn). Reject the input unless W is symmetric, entrywise nonnegative, and zero-diagonal. Set di=∑jwij, D=diag⁡(di), L=D−W, and V+={i:di>0}.

  2. In ratio mode require k≤n, use all vertices in increasing index order, and set M=L. In normalized mode, if V+=∅, return every vertex as a separately reported singleton with status no-positive-degree-vertices. Otherwise require k≤∣V+∣, use only V+ in increasing index order, and set M=D+−1/2L+D+−1/2.

  3. Compute the exact real eigenspaces of M and order its eigenvalues increasingly with multiplicity. For each eigenspace Eλ, use the deterministic projected-coordinate basis rule: for λ=0, first use n−1/21 in ratio mode or D+1/21/∑i∈V+di in normalized mode; then process the standard coordinate vectors in vertex order, project each onto Eλ, orthogonalize against accepted vectors, skip zero residuals, and normalize each nonzero residual. Take the first k eigenvectors as columns of U.

  4. In normalized mode, if row normalization is true, replace each row ui by ui/∥ui∥2, where ∥v∥2=∑j=1kvj2. The prescribed first zero-mode vector has positive entries on every active vertex, so every active row norm is positive.

  5. Treat the rows of U as points in Rk with Euclidean distance ∥a−b∥2. Initialize the first Lloyd center at the row whose vertex index is smallest among the vertices selected in Step 2. For each subsequent center, choose an unused row maximizing its minimum distance to previously chosen centers, breaking ties by smallest vertex index. Assign each row initially to a nearest center, breaking ties by smallest center index. At each later assignment retain its current label when it is among the nearest centers; otherwise choose the smallest nearest-center index. Replace each nonempty center by the mean of its assigned rows, leave empty-cluster centers unchanged, and repeat until both labels and centers stop changing.

  6. Return the nonempty label sets. In normalized mode append every isolate as a separately reported singleton. Graph rule, edge weights, bandwidth, kNN symmetrization, and cluster count are modeling inputs; this procedure makes no rounding, approximation, graph-consistency, or manifold-recovery guarantee.

4 · Examples, counterexamples and false statements

None yet.

Sources