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.
Spectral clustering and graph cuts — Examples
1 · Prerequisites
- Algebraic Closure, Embeddings, and Separability
- Algebraic Extensions, Extension Degree, and Finite Fields
- Binary Operations, Monoids, Groups and Subgroups
- Composition Series, the Jordan–Hölder Theorem and Solvable Groups
- Congruences, the Integers Modulo n and the Chinese Remainder Theorem
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Cyclic Groups and Direct Products
- Determinants of Matrices over a Commutative Ring
- Diagonalisation and the Minimal Polynomial
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Eigenvalues, Eigenvectors and the Characteristic Polynomial
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Group Homomorphisms and the Isomorphism Theorems
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- K-means, Gaussian mixtures, and soft assignments
- Limits of Real Functions
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Polynomial Rings, the Division Algorithm and Roots
- Primes, Euclid's Lemma and the Fundamental Theorem of Arithmetic
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Simple Field Extensions and the Construction of the Complex Numbers
- Spectral clustering and graph cuts
- Splitting Fields
- Suprema and Infima
- Sylow's Theorems, p-Groups and Nilpotent Groups
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The Determinant of a Linear Operator, Cofactors and Cramer's Rule
- The Fundamental Theorem of Algebra
- The Fundamental Theorem of Finite Abelian Groups
- The Galois Correspondence
- The Spectral Theorem, Positive Operators and Singular Value Decomposition
- The ZFC Axioms and the Basic Set Constructions
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Logical flowchart
3 · Definitions, theorems and proofs
None yet.
4 · Examples, counterexamples and false statements
KNN symmetrization changes a graph cut
Example
Take , , and on , and let each point choose its unique nearest neighbor (). 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 , the RatioCut is on the union graph and on the mutual graph.
Example references
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 , , , one-nearest-neighbor selection with no distance ties, and the union and mutual graph rules in the Example.
The Euclidean distance on is .
Finite weighted graph Laplacian: an admissible graph has symmetric nonnegative weights and zero diagonal; its support edge is present exactly when .
Verification
The pairwise Euclidean distances are , , and . Therefore the directed choices are , , and .
The union rule keeps an edge selected in either direction, so its undirected edges are and . The mutual rule keeps only edges selected in both directions, so its only edge is . Both weight matrices satisfy [F1].
In the union graph, the only crossing edge for and is , of weight ; hence both one-sided cuts equal . In the mutual graph there is no crossing edge, so both cuts equal .
By [F2], the union RatioCut is , while the mutual RatioCut is . 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}Disconnected weighted components are zero-cut clusters
Example
Let and set , , with every other entry zero. For the algorithm inputs, take , , for , and the constant deterministic graph builder defined by for every input tuple. Use mode and . The partition has RatioCut and Ncut equal to , and deterministic unnormalized spectral clustering with returns these two components under the specified eigenspace and farthest-first tie rules.
Example references
Graph diagram
The four circles are vertices; the left edge has weight and the right edge has weight . 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: with the only positive weights and ; the data, dimensions, constant graph builder , mode , and are as specified in the Example, so the algorithm computes exactly this ; RatioCut and Ncut use the definitions in the cited supplier.
Finite weighted graph Laplacian: , , and support components are determined by edges with positive weight.
RatioCut and normalized cut for a finite weighted graph: RatioCut divides each part cut by cardinality; Ncut divides by volume.
Quadratic form and kernel of a weighted graph Laplacian: consists of vectors constant on each support component.
Deterministic weighted spectral clustering with explicit isolate and eigenspace conventions: the algorithm selects the first eigenvectors ordered by the eigenvalues of , then applies the stated deterministic farthest-first and Lloyd rules.
Verification
The degrees are and Each block with edge weight has eigenvectors and with eigenvalues and . Thus the eigenvalues of are , and [F3] identifies the zero eigenspace as the componentwise-constant vectors.
For and there is no crossing edge, so both cuts are ; the part sizes are and volumes are . Therefore both RatioCut and Ncut equal . Since their summands are nonnegative, this partition attains the combinatorial minimum for both objectives.
The prescribed first zero-mode vector is . The projection of onto the zero eigenspace is ; subtracting its projection onto gives , whose norm is . Thus the second basis vector is . The first two eigenvectors therefore give the two row values on vertices and on vertices .
The first farthest-first center is the row for vertex ; a farthest row is in the second component, and the smallest-index tie rule selects vertex . Each component's row has distance to its corresponding center and distance to the other. The initial assignments are therefore exactly and ; 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.
An isolate is excluded from Ncut and reinserted separately
Example
Let with and every other weight zero. For the algorithm inputs, take , , for , and the constant deterministic graph builder defined by for every input tuple. In mode with and row normalization disabled (the default), the positive-degree vertex set is , the active Ncut cluster is with value , and vertex is returned separately as the singleton without entering any Ncut denominator.
Example references
Graph diagram
Vertices and are joined by their unit-weight edge; vertex 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: , with and every other weight zero, the data, dimensions, and constant graph builder from the Example (so the computed matrix is exactly ), normalized mode, , and row normalization disabled.
Finite weighted graph Laplacian: , , and .
RatioCut and normalized cut for a finite weighted graph: Ncut sums over a partition of into nonempty parts.
Quadratic form and kernel of a weighted graph Laplacian: the kernel consists of vectors constant on each support component.
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
The degrees are , so , , and .
The active support graph is connected, so [F3] gives a one-dimensional zero eigenspace spanned by . Its prescribed unit vector is , and it is the single eigenvector used when .
Both embedding rows are . The first and only Lloyd center is the first row; both points receive its label, its mean remains , and the labels and center are unchanged. Thus the active cluster returned is , after which [F4] appends separately.
The active part has cut and volume , so its Ncut value is . Vertex has volume but is not in , so it appears in no Ncut denominator.
A disconnected graph on concentric circles separates the rings
Example
Let and, for , set and . Build a graph with unit-weight edges and , and no other edges. Deterministic unnormalized spectral clustering with 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.
Example references
Graph diagram
Nodes – lie on the inner radius-one circle and nodes – 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.
Finite weighted graph Laplacian: the support graph has edge exactly when .
Quadratic form and kernel of a weighted graph Laplacian: is positive semidefinite and its kernel consists of vectors constant on each support component.
Deterministic weighted spectral clustering with explicit isolate and eigenspace conventions: unnormalized mode chooses the first eigenvectors increasingly; the zero-mode basis starts at and then uses projected coordinate vectors in vertex order, and Lloyd centers use the smallest-index row followed by farthest-first selection.
Verification
The support components are and . By [F2], and has dimension , so the two smallest eigenvalues are both .
The prescribed first vector is . The projection of onto is . Its inner product with is , so subtracting that projection gives , with norm . Thus the next vector is . The embedding rows are on and on .
The first center is the row for vertex . Every outer-ring row is farther from it than any other inner-ring row, so farthest-first chooses vertex 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 . Their means equal the selected centers, so the first Lloyd update is fixed and the algorithm returns the two rings.