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.
PCA, kernel PCA, MDS, and manifold embeddings
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
- 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
- Matrix Norms, Condition Numbers and Numerical Stability
- 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
- 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
Finite centering matrices and centered data
Definition
For an integer , let be the vector whose entries are all , and let be the identity matrix. The centering matrix is
For , write ; then . For a finite data matrix with , its centered data matrix is ; each column of has sum zero.
The maximum trace over q-dimensional orthonormal frames is the sum of the top q eigenvalues
Statement
Let be symmetric with eigenvalues , counted with multiplicity. For and every satisfying ,
Equality is attained by taking the columns of to be orthonormal eigenvectors for the largest eigenvalues. Equality holds exactly when the column space of contains every eigenspace with eigenvalue greater than , is orthogonal to every eigenspace with eigenvalue less than , and uses a subspace of dimension from the eigenspace with eigenvalue .
Statement references
Facts & Assumptions
Given: A symmetric real matrix and an integer with .
In the standard real coordinate inner product, (The standard formulas on and on are inner products).
In an orthonormal basis, a real endomorphism is self-adjoint exactly when its matrix is symmetric (In an orthonormal basis, self-adjoint means conjugate-transpose symmetry and normal means commuting with the conjugate transpose).
Every self-adjoint endomorphism of a finite-dimensional real inner-product space has an orthonormal eigenbasis (Real spectral theorem: a self-adjoint endomorphism of a finite-dimensional real inner product space has an orthonormal eigenbasis).
The trace of a square matrix is the sum of its diagonal entries (The trace as the sum of the diagonal entries).
For conformable rectangular matrices , (For and , ).
Proof
By [F1] and [F2], the matrix represents a self-adjoint map on with its standard inner product; [F3] gives an orthonormal eigenbasis ordered with eigenvalues .
For any feasible , put . Since , and , so is an orthogonal decomposition and lies in . This decomposition gives exactly when , and exactly when . Also by [F4]. The frame trace equals by [F5]. If has columns and , [F5] and give .
Because for and for , . The first inequality uses ; the second uses and for .
The first inequality in step 3.1 has nonnegative difference , so equality requires whenever . The second has nonnegative difference , so equality requires whenever . By step 2.1, these conditions say the chosen subspace contains all higher-eigenvalue eigenspaces, is orthogonal to all lower-eigenvalue eigenspaces, and takes its remaining dimension in the eigenspace. Conversely, each such subspace makes both differences zero. If , all eigenvalues are zero and both differences vanish for every feasible , as does the stated equality condition.
Taking the first vectors of the eigenbasis from step 1.1 as the columns of gives a feasible frame and makes the trace equal . Thus the upper bound is the attained maximum, with the stated equality cases.
Finite configurations with equal Gram matrices have isometric linear spans
Statement
Let , , and be finite lists with for every , using the standard Euclidean inner products. The assignment is a well-defined linear isometry from onto ; when both spans are zero spaces and the assignment is the unique zero map.
Statement references
Facts & Assumptions
Given: An integer and lists and with equal pairwise inner products.
The standard coordinate pairings on and are positive-definite inner products, with (The standard formulas on and on are inner products).
Proof
For any coefficients , bilinearity and the equal Gram entries give . If , the left side is zero, so [F1] implies . Applying this to the difference of two coefficient representations shows that the assignment in the statement is well defined.
For coefficient lists , the same bilinear expansion gives . The coefficient formula is linear, and its range contains every because it maps to ; hence its range is exactly their span and it preserves inner products. If , both spans are zero spaces and this is their unique zero map. Thus in every case the assignment is an onto linear isometry.
Deterministic finite nearest-neighbor lists and graph symmetrizations
Definition
Let with , using the Euclidean norm . For , the deterministic -nearest-neighbor list consists of the first indices when the other indices are ordered by increasing pair lexicographically; thus equal distances are broken by increasing sample index. All graphs below have vertex set . The union symmetrization has edge when or ; the mutual symmetrization has edge exactly when both inclusions hold. Each included edge may be assigned weight . For a radius , the radius graph has edge exactly when for . An undirected graph is connected when every two vertices are joined by a finite edge path.
The finite centering matrix is the orthogonal projection onto the zero-sum subspace
Statement
For , let . Then , , , and for each , . Thus is the orthogonal projection onto .
Statement references
Facts & Assumptions
Given: An integer and .
The finite centering matrix is , and it acts by subtracting the mean coordinate times (Finite centering matrices and centered data).
The standard inner product on is (The standard formulas on and on are inner products).
Proof
The matrix is symmetric, so the formula in [F1] gives . Also , and hence .
Writing , one has , so . The formula for in [F1] shows that its image is zero-sum; if , then . For any , the residual is orthogonal to every zero-sum vector by [F2]. Hence is the orthogonal projection of onto the zero-sum subspace.
Rank-q principal component analysis by Frobenius reconstruction error
Definition
For a finite data matrix with , set and . For an integer with , a rank- PCA frame is a matrix with . Its reconstruction is , and its squared Frobenius reconstruction error is
A rank- PCA solution is any frame minimizing this error over all such ; its score matrix is . A minimizing frame need not be unique when the relevant eigenvalues are tied.
Kernel principal component analysis for a finite positive-semidefinite Gram matrix
Definition
Given data points and a finite symmetric Gram matrix satisfying for every , define and the centered Gram matrix . The positive-semidefinite condition is an input hypothesis; no theorem that an arbitrary kernel formula produces such a matrix is assumed. For , kernel PCA retains the largest eigenvalues of and associated orthonormal eigenvectors , returning the score matrix . Eigenvectors inside a tied eigenspace may be chosen arbitrarily.
Classical multidimensional scaling from a finite dissimilarity matrix
Definition
Let and let be symmetric with nonnegative entries and zero diagonal, and write for the matrix with entries . Define and the centered matrix
For a requested dimension , classical multidimensional scaling diagonalizes the real symmetric matrix , retains up to the largest strictly positive eigenvalues with orthonormal eigenvectors , and returns coordinates whose columns are . If fewer than positive eigenvalues exist, it returns only those positive-eigenvalue coordinates. For non-Euclidean dissimilarities this is a spectral procedure; it does not assert exact recovery of all entries of .
Minimum-norm affine reconstruction weights for a finite LLE neighborhood
Definition
Let , , and . For each , let be the first indices under the increasing lexicographic order of , so equal distances are broken by sample index; the norm on is . The local affine reconstruction weights are the vector minimizing
Among all minimizers, choose the one of smallest Euclidean norm . This minimum-norm rule fixes the weights even when the local covariance matrix is singular.
The top right singular subspace minimizes rank-q PCA Frobenius reconstruction error
Statement
Let , , let , and let . Write for the singular values of , padding by zeros after its rank. Among all with , the minimum of is
A frame is minimizing exactly when its column space contains every eigenspace of with eigenvalue greater than , is orthogonal to every eigenspace with eigenvalue less than , and uses the remaining dimension inside the eigenspace with eigenvalue . In particular a choice of right singular vectors for the largest singular values is minimizing; ties can give different minimizing subspaces.
Statement references
Facts & Assumptions
Given: , , and .
A rank- PCA frame satisfies , reconstructs by , and minimizes the displayed squared Frobenius error (Rank-q principal component analysis by Frobenius reconstruction error).
For a real matrix , (The Frobenius norm on real or complex matrices).
A finite-dimensional real linear map has orthonormal domain and codomain bases in which it maps each right singular basis vector to the corresponding singular value times a left singular basis vector, with zero action on the remaining domain basis vectors (Every linear map between finite-dimensional real or complex inner product spaces admits a singular value decomposition).
The standard real coordinate pairing is (The standard formulas on and on are inner products).
The trace of a square matrix is the sum of its diagonal entries (The trace as the sum of the diagonal entries).
For conformable rectangular matrices , (For and , ).
The Frobenius norm satisfies , with zero singular values appended after the rank (Spectral and Frobenius norms are unitarily invariant, are given by singular values, and satisfy the sharp rank comparison).
For a symmetric matrix, maximizing over gives the sum of the top eigenvalues, with the stated tie-space equality cases (The maximum trace over q-dimensional orthonormal frames is the sum of the top q eigenvalues).
Proof
Put and . Since , and , so and . By [F2] and [F5], . Applying [F6] to cycle the first factor gives ; then linearity gives . Applying [F6] again gives . Thus minimizing the reconstruction error is equivalent to maximizing .
By [F3], choose right singular vectors and corresponding left vectors such that for and for , where . For , [F4] gives , which is when and zero otherwise; for it is zero. Thus has eigenvalues in the basis . Applying [F8] to shows that the maximum trace is , attained exactly by the top-eigenspace subspaces described in the statement. Therefore the minimum error is .
Substituting [F7] into the last expression gives . The SVD basis in [F3] supplies a feasible frame from the top right singular vectors, so the bound is attained. If , the sum is empty and equals zero; if , every term in the tail is zero.
Double-centering a finite positive-semidefinite Gram matrix preserves positive semidefiniteness
Statement
Let and let be symmetric and satisfy for every . With , the centered matrix is symmetric and positive semidefinite. Consequently it has an orthonormal eigenbasis and all its eigenvalues are nonnegative.
Statement references
Facts & Assumptions
Given: A symmetric positive-semidefinite matrix and its centering matrix .
Kernel PCA takes a symmetric matrix with for every and centers it as (Kernel principal component analysis for a finite positive-semidefinite Gram matrix).
The finite centering matrix is symmetric (The finite centering matrix is the orthogonal projection onto the zero-sum subspace).
The standard inner product on is (The standard formulas on and on are inner products).
In an orthonormal basis, a real matrix is self-adjoint exactly when it is symmetric (In an orthonormal basis, self-adjoint means conjugate-transpose symmetry and normal means commuting with the conjugate transpose).
Every finite-dimensional real self-adjoint endomorphism has an orthonormal eigenbasis (Real spectral theorem: a self-adjoint endomorphism of a finite-dimensional real inner product space has an orthonormal eigenbasis).
Proof
Since and by [F1] and [F2], .
For every , by the input hypothesis on . Thus is positive semidefinite.
The standard coordinate basis is orthonormal for [F3], so [F4] makes the symmetric matrix self-adjoint and [F5] gives an orthonormal eigenbasis. If is a unit eigenvector with eigenvalue , then by step 1.2. Hence every eigenvalue is nonnegative, which makes the stated kernel-PCA eigenprocedure well-defined.
Double-centering Euclidean squared distances recovers their centered Gram matrix
Statement
Let . For every symmetric nonnegative zero-diagonal dissimilarity matrix , the matrix used by classical multidimensional scaling is symmetric and has a real orthonormal eigendecomposition, though it may have negative eigenvalues. If for points , where , then for the centered row-data matrix , so is positive semidefinite. The coordinates formed from all positive eigenvalues reproduce every pairwise distance exactly; if the requested embedding dimension is at least the number of positive eigenvalues, the truncated procedure is exact. The centered configurations obtained from and these coordinates are related by a linear isometry between their spans, so the original configurations agree up to translation and Euclidean isometry of their affine spans.
Statement references
Facts & Assumptions
Given: A finite symmetric nonnegative zero-diagonal matrix , its classical-MDS matrix , and, in the Euclidean case, points with .
Classical MDS defines entrywise and for symmetric nonnegative zero-diagonal (Classical multidimensional scaling from a finite dissimilarity matrix).
The centering matrix is symmetric, annihilates , and maps onto the zero-sum subspace (The finite centering matrix is the orthogonal projection onto the zero-sum subspace).
The standard inner product on is (The standard formulas on and on are inner products).
In an orthonormal basis, a real matrix is self-adjoint exactly when it is symmetric (In an orthonormal basis, self-adjoint means conjugate-transpose symmetry and normal means commuting with the conjugate transpose).
Every finite-dimensional real self-adjoint endomorphism has an orthonormal eigenbasis (Real spectral theorem: a self-adjoint endomorphism of a finite-dimensional real inner product space has an orthonormal eigenbasis).
Two finite point lists with equal Gram matrices have linearly isometric spans (Finite configurations with equal Gram matrices have isometric linear spans).
Proof
For any permitted , is symmetric and is symmetric by [F2], so . The standard coordinate basis is orthonormal for [F3], so [F4] makes self-adjoint and [F5] gives a real orthonormal eigendecomposition; this justifies the spectral step even when some eigenvalues are negative.
Suppose and let be the matrix with rows . Put . Expanding each squared distance with the coordinate inner product [F3] gives , hence because and by [F2]. For every , by the coordinate formula [F3], so is positive semidefinite; also . When , , so and .
In the Euclidean-distance case of step 1.2, is positive semidefinite. By [F5], choose an orthonormal eigenbasis. For each unit eigenvector with eigenvalue , step 1.2 gives . Thus the zero-eigenvalue terms vanish and , where contains exactly the positive-eigenvalue eigenvectors and is diagonal with strictly positive entries. If there are no positive eigenvalues, this is the empty decomposition and . The classical-MDS coordinates from all positive eigenvalues are , so . By step 1.2, , and each column of with eigenvalue satisfies ; hence the rows of are centered.
By [F2], row of is , where . For each , the coordinate Gram identity gives . Both distances are nonnegative, so . The procedure retaining up to the requested dimension has the same Gram matrix when is at least the number of positive eigenvalues, so these equalities then hold for its returned coordinates.
The row configurations of and have the same Gram matrix by step 1.2 and step 2.1. Applying [F6] gives an isometry between their spans. The original rows of differ from those of by the common translation , so the original and embedded configurations are congruent after this translation. For a non-Euclidean , step 1.1 still gives a symmetric spectral problem, but step 1.2 is unavailable and no exact-distance conclusion follows.
Finite LLE affine least-squares weights have a unique minimum-norm minimizer
Statement
Fix and a nonempty finite neighbor list of distinct indices. The constrained problem
has a nonempty affine set of minimizers, and exactly one member of that set has smallest Euclidean norm. Thus the minimum-norm rule in finite LLE defines one weight vector even when the local covariance matrix is singular. This conclusion uses no choice axiom.
Statement references
Facts & Assumptions
Given: A fixed point and a nonempty finite ordered list .
The LLE weight problem minimizes the local reconstruction error under the affine constraint , then selects a minimizer of least Euclidean norm (Minimum-norm affine reconstruction weights for a finite LLE neighborhood).
For a linear map between finite-dimensional inner-product spaces, least-squares minimizers exist and form an affine translate of the kernel (For a linear map between finite-dimensional inner-product spaces, minimises if and only if , equivalently ; minimisers exist and any two differ by an element of ).
The standard real coordinate pairing on is a positive-definite inner product (The standard formulas on and on are inner products).
A subspace of a finite-dimensional inner-product space and its orthogonal complement give a direct-sum decomposition (For a subspace of a finite-dimensional inner product space, ).
Proof
Let , let , and define by . Every feasible has a unique form with , and its residual is . Thus the constrained problem is an ordinary finite-dimensional least-squares problem for on the inner-product subspace .
By [F2], choose a least-squares minimizer and all minimizers are , where . Therefore all feasible minimizing weights form the nonempty affine set . In the degenerate case , is a minimizer and , so this set contains every feasible weight.
Put . By [F4], decompose with and in . Since , remains in the affine minimizer set. For any other minimizer with , orthogonality gives , which is at least with equality only if . Hence is the unique minimum-norm minimizer. When , and this gives the unique feasible weight .
The proof applies the least-squares existence result once to this fixed finite-dimensional problem and uses a finite orthogonal decomposition; it selects no sequence of approximate minimizers and uses no Countable Choice.
Finite ISOMAP with deterministic neighborhoods and connected-graph shortest paths
Definition
Input: a finite data matrix with , an embedding dimension , and either a -nearest-neighbor parameter with an explicit union or mutual symmetrization choice, or a radius . Use ; for the -nearest-neighbor option, each neighbor list orders candidates by increasing , so equal distances are broken by sample index. Construct the selected undirected graph and give each edge weight . If the graph is disconnected, return the status “disconnected” and do not claim finite all-pairs graph distances. If it is connected, define as the minimum total edge weight over all paths from to ; because the graph is finite with nonnegative edge weights, a minimum occurs among its finitely many simple paths. Form the symmetric dissimilarity matrix and apply classical multidimensional scaling to with requested dimension . This finite procedure makes no guarantee that graph distances accurately approximate manifold geodesics or that the output recovers a manifold.
Metric distance-stress multidimensional scaling
Definition
For a symmetric nonnegative zero-diagonal dissimilarity matrix , , and a target dimension , use the Euclidean norm . The metric stress of centered coordinates , with , is
Metric stress MDS is the separate optimization problem of minimizing over such centered . It is a distance-based, generally nonconvex objective and does not define the positive-eigenvalue solution used by classical multidimensional scaling; no solver convergence or global-optimizer guarantee is part of this definition.
Finite locally linear embedding with minimum-norm weights and a simple constant kernel
Definition
Input: a data matrix with , a neighbor count , and an output dimension , using . For every row point , select the first other sample indices ordered by and use the minimum-Euclidean-norm affine least-squares weights on that neighborhood, with weights summing to . Form by placing those weights in the selected columns of row and zeros elsewhere; every row of then sums to . If , return the status “constant kernel not isolated” and do not specify an embedding. Otherwise put and return any minimizing
where is the sum of diagonal entries. Equivalently, take orthonormal eigenvectors for the smallest positive eigenvalues of . Ties allow multiple outputs. This finite-matrix procedure makes no guarantee of manifold recovery or consistency.
Definition references
Deterministic finite neighbor selection
Minimum-norm affine reconstruction weights
Existence and uniqueness of the minimum-norm weights
Trace minimizers are the bottom positive eigenvectors under the kernel condition ↗
Trace as the sum of diagonal entries
Hastie, Tibshirani, and Friedman, ESL II, §14.9, printed pp. 573–575
Cameron, Linear and Nonlinear Dimensionality Reduction, §7, PDF pp. 13–16
Under the simple constant-kernel condition, LLE trace minimizers are bottom positive eigenvectors
Statement
Let satisfy , put , and assume . Let be the eigenvalues of restricted to the zero-sum subspace . For , the minimum of over with and is . The minimum is attained by taking the columns of to be orthonormal eigenvectors for the smallest positive eigenvalues; when eigenvalues tie, the minimizing subspace may vary inside the tied eigenspace. The trace is the sum of diagonal entries.
Statement references
Facts & Assumptions
Given: A real matrix with row sums one, so , the matrix , the simple-kernel hypothesis , and .
LLE forms from a matrix whose rows sum to one and minimizes subject to and (Finite locally linear embedding with minimum-norm weights and a simple constant kernel).
The standard real coordinate inner product is (The standard formulas on and on are inner products).
The subspace has an orthonormal basis (Every finite-dimensional real or complex inner product space has an orthonormal basis).
The space decomposes as (For a subspace of a finite-dimensional inner product space, ).
For a real symmetric matrix, maximizing over orthonormal q-frames gives the sum of its q largest eigenvalues, with the stated tie-space equality cases (The maximum trace over q-dimensional orthonormal frames is the sum of the top q eigenvalues).
The trace of a square matrix is the sum of its diagonal entries (The trace as the sum of the diagonal entries).
A self-adjoint endomorphism of a finite-dimensional real inner-product space has an orthonormal eigenbasis (Real spectral theorem: a self-adjoint endomorphism of a finite-dimensional real inner product space has an orthonormal eigenbasis).
Proof
Put . Then by [F1], and is symmetric with . For every , by [F2]. Also implies , hence ; conversely implies . Therefore .
By [F4], for , and [F3] gives an orthonormal basis matrix for . Symmetry and imply , because for . The restriction is self-adjoint and has matrix , which is symmetric and positive definite: if , then , so by step 1.1 and . By [F7], the restriction has an orthonormal eigenbasis; for each unit eigenvector with eigenvalue , positive definiteness gives . List its eigenvalues as .
For every feasible , its columns lie in , so with and . Substitution gives , hence by [F6]. Apply [F5] to , whose eigenvalues in descending order are . It follows that , with equality exactly for the q-dimensional bottom eigenspaces, including arbitrary choices inside a tie.
Taking to have orthonormal columns spanning q bottom eigendirections of and setting satisfies both constraints and attains the bound in step 3.1. This proves the minimum and its equality cases.
4 · Examples, counterexamples and false statements
None yet.