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.

✓ 4 results · all verified · 4 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 4 also cleared it.

Spectral clustering and graph cuts — Examples

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

None yet.

4 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

KNN symmetrization changes a graph cut

Example

Take x1=0, x2=1, and x3=3 on R, and let each point choose its unique nearest neighbor (k=1). Define the union graph to contain a unit-weight edge when either directed nearest-neighbor choice selects it, and the mutual graph to contain a unit-weight edge only when both directions select it. For the partition {1,2},{3}, the RatioCut is 3/2 on the union graph and 0 on the mutual graph.

Graph diagrams

The labels are vertex indices, and each drawn edge has unit weight. The left path is the union symmetrization; the right single edge is the mutual symmetrization. The verification above computes the cuts from the stated edge sets.

diagram failed to render:
\begin{tikzpicture}
\node[draw,circle] (u1) at (0,0) {$1$};
\node[draw,circle] (u2) at (1.5,0) {$2$};
\node[draw,circle] (u3) at (3,0) {$3$};
\draw (u1)--node[above] {$1$}(u2);
\draw (u2)--node[above] {$1$}(u3);
\node at (1.5,-0.8) {Union};
\node[draw,circle] (m1) at (5,0) {$1$};
\node[draw,circle] (m2) at (6.5,0) {$2$};
\node[draw,circle] (m3) at (8,0) {$3$};
\draw (m1)--node[above] {$1$}(m2);
\node at (6.5,-0.8) {Mutual};
\end{tikzpicture}

Facts & Assumptions

Given: Three real data points x1=0, x2=1, x3=3, one-nearest-neighbor selection with no distance ties, and the union and mutual graph rules in the Example.

[A1]

The Euclidean distance on R is d(x,y)=∣x−y∣.

[F1]

Finite weighted graph Laplacian: an admissible graph has symmetric nonnegative weights and zero diagonal; its support edge {i,j} is present exactly when wij>0.

[F2]

RatioCut and normalized cut for a finite weighted graph: cut⁡(A,Ac)=∑i∈A,j∉Awij and RatioCut⁡(A1,A2)=cut⁡(A1,A1c)/∣A1∣+cut⁡(A2,A2c)/∣A2∣.

Verification

1.1givenA1algebra

The pairwise Euclidean distances are ∣x1−x2∣=1, ∣x2−x3∣=2, and ∣x1−x3∣=3. Therefore the directed choices are 1→2, 2→1, and 3→2.

2.1givenF1step 1.1algebra

The union rule keeps an edge selected in either direction, so its undirected edges are {1,2} and {2,3}. The mutual rule keeps only edges selected in both directions, so its only edge is {1,2}. Both weight matrices satisfy [F1].

3.1F1step 2.1algebra

In the union graph, the only crossing edge for A1={1,2} and A2={3} is {2,3}, of weight 1; hence both one-sided cuts equal 1. In the mutual graph there is no crossing edge, so both cuts equal 0.

4.1F2step 3.1algebra∎

By [F2], the union RatioCut is 1/2+1=3/2, while the mutual RatioCut is 0/2+0/1=0. Thus the fixed data, neighbor count, and partition have different cut values under the two symmetrizations.

Graph diagrams

The labels are vertex indices, and each drawn edge has unit weight. The left path is the union symmetrization; the right single edge is the mutual symmetrization. The verification above computes the cuts from the stated edge sets.

diagram failed to render:
\begin{tikzpicture}
\node[draw,circle] (u1) at (0,0) {$1$};
\node[draw,circle] (u2) at (1.5,0) {$2$};
\node[draw,circle] (u3) at (3,0) {$3$};
\draw (u1)--node[above] {$1$}(u2);
\draw (u2)--node[above] {$1$}(u3);
\node at (1.5,-0.8) {Union};
\node[draw,circle] (m1) at (5,0) {$1$};
\node[draw,circle] (m2) at (6.5,0) {$2$};
\node[draw,circle] (m3) at (8,0) {$3$};
\draw (m1)--node[above] {$1$}(m2);
\node at (6.5,-0.8) {Mutual};
\end{tikzpicture}
ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

Disconnected weighted components are zero-cut clusters

Example

Let V={1,2,3,4} and set w12=w21=2, w34=w43=3, with every other entry zero. For the algorithm inputs, take n=4, p=1, xi=i∈R for 1≤i≤4, and the constant deterministic graph builder G:(R1)4→R4×4 defined by G(y1,y2,y3,y4)=W=(wij) for every input tuple. Use mode ratio and k=2. The partition {1,2},{3,4} has RatioCut and Ncut equal to 0, and deterministic unnormalized spectral clustering with k=2 returns these two components under the specified eigenspace and farthest-first tie rules.

Graph diagram

The four circles are vertices; the left edge has weight 2 and the right edge has weight 3. There are no other edges. The drawing separates components for readability; the verification uses the explicit matrix.

diagram failed to render:
\begin{tikzpicture}
\node[draw,circle] (v1) at (0,0) {$1$};
\node[draw,circle] (v2) at (1.5,0) {$2$};
\draw (v1)--node[above] {$2$}(v2);
\node[draw,circle] (v3) at (4,0) {$3$};
\node[draw,circle] (v4) at (5.5,0) {$4$};
\draw (v3)--node[above] {$3$}(v4);
\end{tikzpicture}

Facts & Assumptions

Given: V={1,2,3,4} with the only positive weights w12=w21=2 and w34=w43=3; the data, dimensions, constant graph builder G, mode ratio, and k=2 are as specified in the Example, so the algorithm computes exactly this W; RatioCut and Ncut use the definitions in the cited supplier.

[F1]

Finite weighted graph Laplacian: di=∑jwij, L=D−W, and support components are determined by edges with positive weight.

[F2]

RatioCut and normalized cut for a finite weighted graph: RatioCut divides each part cut by cardinality; Ncut divides by volume.

[F3]

Quadratic form and kernel of a weighted graph Laplacian: ker⁡L consists of vectors constant on each support component.

[F4]

Deterministic weighted spectral clustering with explicit isolate and eigenspace conventions: the algorithm selects the first k eigenvectors ordered by the eigenvalues of L, then applies the stated deterministic farthest-first and Lloyd rules.

Verification

1.1givenF1F3algebra

The degrees are (2,2,3,3) and L=(2−200−2200003−300−33). Each 2×2 block with edge weight a has eigenvectors (1,1) and (1,−1) with eigenvalues 0 and 2a. Thus the eigenvalues of L are 0,0,4,6, and [F3] identifies the zero eigenspace as the componentwise-constant vectors.

2.1givenF2step 1.1algebra

For A1={1,2} and A2={3,4} there is no crossing edge, so both cuts are 0; the part sizes are 2,2 and volumes are 4,6. Therefore both RatioCut and Ncut equal 0. Since their summands are nonnegative, this partition attains the combinatorial minimum for both objectives.

2.2givenF3F4step 1.1constructalgebra

The prescribed first zero-mode vector is q0=12(1,1,1,1). The projection of e1 onto the zero eigenspace is (1/2,1/2,0,0); subtracting its projection onto q0 gives (1/4,1/4,−1/4,−1/4), whose norm is 1/2. Thus the second basis vector is q1=12(1,1,−1,−1). The first two eigenvectors therefore give the two row values (1/2,1/2) on vertices 1,2 and (1/2,−1/2) on vertices 3,4.

3.1F4step 2.1step 2.2algebra∎

The first farthest-first center is the row for vertex 1; a farthest row is in the second component, and the smallest-index tie rule selects vertex 3. Each component's row has distance 0 to its corresponding center and distance 1 to the other. The initial assignments are therefore exactly {1,2} and {3,4}; their means equal the two centers, so the first Lloyd update leaves both labels and centers unchanged and the algorithm returns this partition. Together with steps 2.1 and 2.2, this verifies the stated exact example output.

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

An isolate is excluded from Ncut and reinserted separately

Example

Let V={1,2,3} with w12=w21=1 and every other weight zero. For the algorithm inputs, take n=3, p=1, xi=i∈R for 1≤i≤3, and the constant deterministic graph builder G:(R1)3→R3×3 defined by G(y1,y2,y3)=W=(wij) for every input tuple. In mode normalized with k=1 and row normalization disabled (the default), the positive-degree vertex set is V+={1,2}, the active Ncut cluster is {1,2} with value 0, and vertex 3 is returned separately as the singleton {3} without entering any Ncut denominator.

Graph diagram

Vertices 1 and 2 are joined by their unit-weight edge; vertex 3 is isolated. The relative coordinates are only for display.

diagram failed to render:
\begin{tikzpicture}
\node[draw,circle] (v1) at (0,0) {$1$};
\node[draw,circle] (v2) at (1.5,0) {$2$};
\node[draw,circle] (v3) at (4,0) {$3$};
\draw (v1)--node[above] {$1$}(v2);
\end{tikzpicture}

Facts & Assumptions

Given: V={1,2,3}, with w12=w21=1 and every other weight zero, the data, dimensions, and constant graph builder G from the Example (so the computed matrix is exactly W), normalized mode, k=1, and row normalization disabled.

[F1]

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

[F2]

RatioCut and normalized cut for a finite weighted graph: Ncut sums cut⁡(Ar,Arc)/vol⁡(Ar) over a partition of V+ into nonempty parts.

[F3]

Quadratic form and kernel of a weighted graph Laplacian: the kernel consists of vectors constant on each support component.

[F4]

Deterministic weighted spectral clustering with explicit isolate and eigenspace conventions: normalized mode uses only positive-degree vertices, chooses the prescribed zero-mode eigenvector first, runs the specified Lloyd updates, and appends isolates as separate singleton outputs.

Verification

1.1givenF1algebra

The degrees are (1,1,0), so V+={1,2}, D+=I2, and L+=Lsym,+=(1−1−11).

2.1givenF3F4step 1.1algebra

The active support graph is connected, so [F3] gives a one-dimensional zero eigenspace spanned by (1,1). Its prescribed unit vector is q0=(1,1)/2, and it is the single eigenvector used when k=1.

3.1givenF4step 2.1algebra

Both embedding rows are 1/2. The first and only Lloyd center is the first row; both points receive its label, its mean remains 1/2, and the labels and center are unchanged. Thus the active cluster returned is {1,2}, after which [F4] appends {3} separately.

4.1F1F2step 1.1step 3.1algebra∎

The active part has cut 0 and volume d1+d2=2, so its Ncut value is 0. Vertex 3 has volume 0 but is not in V+, so it appears in no Ncut denominator.

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

A disconnected graph on concentric circles separates the rings

Example

Let V={1,…,8} and, for j∈{0,1,2,3}, set xj+1=(cos⁡(πj/2),sin⁡(πj/2)) and xj+5=3(cos⁡(πj/2),sin⁡(πj/2)). Build a graph with unit-weight edges {1,2},{2,3},{3,4},{4,1} and {5,6},{6,7},{7,8},{8,5}, and no other edges. Deterministic unnormalized spectral clustering with k=2 and no row normalization returns the two concentric rings as its clusters. This finite graph example makes no statement about manifold recovery for other graph constructions.

Graph diagram

Nodes 1–4 lie on the inner radius-one circle and nodes 5–8 on the outer radius-three circle. Each polygon edge has unit weight; there are no edges between the circles. The drawing uses the exact vertex order and support specified in the Example.

diagram failed to render:
\begin{tikzpicture}
\node[draw,circle] (v1) at (0,1) {$1$};
\node[draw,circle] (v2) at (1,0) {$2$};
\node[draw,circle] (v3) at (0,-1) {$3$};
\node[draw,circle] (v4) at (-1,0) {$4$};
\node[draw,circle] (v5) at (0,3) {$5$};
\node[draw,circle] (v6) at (3,0) {$6$};
\node[draw,circle] (v7) at (0,-3) {$7$};
\node[draw,circle] (v8) at (-3,0) {$8$};
\draw (v1)--(v2)--(v3)--(v4)--cycle;
\draw (v5)--(v6)--(v7)--(v8)--cycle;
\end{tikzpicture}

Facts & Assumptions

Given: The eight vertices are ordered by radius as in the Example, and the graph consists of the two unit-weight four-cycles with no cross-edges.

[F1]

Finite weighted graph Laplacian: the support graph has edge {i,j} exactly when wij>0.

[F2]

Quadratic form and kernel of a weighted graph Laplacian: L is positive semidefinite and its kernel consists of vectors constant on each support component.

[F3]

Deterministic weighted spectral clustering with explicit isolate and eigenspace conventions: unnormalized mode chooses the first k eigenvectors increasingly; the zero-mode basis starts at n−1/21 and then uses projected coordinate vectors in vertex order, and Lloyd centers use the smallest-index row followed by farthest-first selection.

Verification

1.1givenF1F2algebra

The support components are C1={1,2,3,4} and C2={5,6,7,8}. By [F2], L⪰0 and E0=ker⁡L=span⁡(1C1,1C2) has dimension 2, so the two smallest eigenvalues are both 0.

2.1givenF2F3step 1.1constructalgebra

The prescribed first vector is q0=1/8. The projection of e1 onto E0 is 141C1. Its inner product with q0 is 1/8, so subtracting that projection gives 18(1C1−1C2), with norm 1/8. Thus the next vector is q1=(1C1−1C2)/8. The embedding rows are (1/8,1/8) on C1 and (1/8,−1/8) on C2.

3.1F3step 2.1algebra∎

The first center is the row for vertex 1. Every outer-ring row is farther from it than any other inner-ring row, so farthest-first chooses vertex 5 by the smallest-index tie rule. Each ring's rows equal its center, while the two ring row values are distinct; nearest-center assignments are therefore exactly C1,C2. Their means equal the selected centers, so the first Lloyd update is fixed and the algorithm returns the two rings.

Sources