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.
RKHS regularization, kernels, and support-vector machines
1 · Prerequisites
- Algebraic Closure, Embeddings, and Separability
- Algebraic Extensions, Extension Degree, and Finite Fields
- Binary Operations, Monoids, Groups and Subgroups
- Bounded Linear Operators and Quotient Spaces
- Compactness
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Complex Norms and Realification
- Complex Subspace Realification
- Complexification, Realification and Real Structures
- 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
- Convex and Semicontinuous Functions on Rⁿ
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Countability Axioms and Cardinal Functions
- 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
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Dimensional Normed Spaces and Riesz Lemma
- Foundations of the Real Numbers for Analysis
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Group Homomorphisms and the Isomorphism Theorems
- Hereditary and Productive Behaviour of the Separation Axioms
- Hilbert Space Geometry and Riesz Representation
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Inequality KKT duality and optimality certificates
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Jacobi Fields, Conjugate Points, and the Cut Locus
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Metric Spaces
- Mixed Partials, Taylor Formulae, and Extrema
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Normed and Banach Spaces
- 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
- Properties of the Integral and the Working FTC
- Rank Theorems and Embedded Submanifolds
- Relations, Functions, and Quotients
- Riemannian Metrics Length Distance and Volume
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Separation Axioms: the Hierarchy
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Simple Field Extensions and the Construction of the Complex Numbers
- Smooth Manifolds and Smooth Maps
- Smooth Vector Bundles and Sections
- Splitting Fields
- Subspaces, Products, and Quotients
- Suprema and Infima
- Sylow's Theorems, p-Groups and Nilpotent Groups
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- Tangent Cotangent and the Differential
- Tensor Fields Exterior Algebra and Differential Forms
- The Derivative and the Mean Value Theorems
- The Determinant of a Linear Operator, Cofactors and Cramer's Rule
- The Fundamental Theorem of Algebra
- The Fundamental Theorem of Finite Abelian Groups
- The Fundamental Theorems of Calculus
- The Galois Correspondence
- The Inverse and Implicit Function Theorems
- The Inverse Function Theorem Completed
- The Riemann Integral in Rᵐ and Jordan Content
- The Riemann Integral: Definition and Integrability
- The Spectral Theorem, Positive Operators and Singular Value Decomposition
- The Topology of Euclidean Space
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- 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
Positive semidefinite kernels and reproducing kernel Hilbert spaces
Definition
A real kernel on a set is a function . It is positive semidefinite if it is symmetric and, for every integer , every , and every ,
A real reproducing kernel Hilbert space with kernel is a real Hilbert space of functions such that, for each , the section lies in and for every . Consequently .
For the canonical construction, let be the real vector space of finitely supported functions , write for the function supported at with value , and put
Let . Under the Axiom of Countable Choice, the canonical space is formed by giving its induced inner product and taking a norm completion; the image of is denoted . For an element of that completion, its associated function is . The quotient, completed inner product, and function identification are justified by the local construction theorem.
Projection onto a finite-dimensional subspace of an arbitrary real inner-product space
Statement
Let be a real inner-product space, let be a finite-dimensional subspace, and let . There is a unique such that is orthogonal to every vector of . This vector is the unique nearest point in to , and it satisfies . The conclusion does not require to be complete.
Statement references
Facts & Assumptions
Given: A real inner-product space , a finite-dimensional subspace , and .
In a finite-dimensional inner-product space , the orthogonal projection of a vector onto a subspace is its unique nearest point (The orthogonal projection is the unique nearest point in the subspace).
In a finite-dimensional inner-product space , the orthogonal projection belongs to and (The orthogonal projection is the -component in ).
Proof
Set . Since is finite-dimensional and adjoining one vector increases dimension by at most one, is a finite-dimensional real inner-product space with the inherited inner product; is a subspace of and . Apply [F1] inside and set .
By [F2], and .
Since and , Pythagoras [F3] gives , so . If also has , then for every , [F3] gives . Thus is a nearest point to , and [F1] forces .
A positive semidefinite kernel has a canonical reproducing kernel Hilbert space under countable choice
Statement
Assume the Axiom of Countable Choice. For every set and every real positive semidefinite kernel on , the canonical construction from finitely supported coefficients, quotient by zero seminorm, and norm completion defines a real reproducing kernel Hilbert space . For every , its kernel section belongs to and satisfies for all . The choice assumption here is countable choice; this statement does not assert the same construction in ZF without that assumption.
Statement references
Hastie, Tibshirani, and Friedman, The Elements of Statistical Learning, §5.8
Rasmussen and Williams, Gaussian Processes for Machine Learning, §6.1
Positive semidefinite kernels and reproducing kernel Hilbert spaces
Every metric space has a completion, constructed as the equivalence classes of its Cauchy sequences
The metric completion of a normed space carries a unique compatible Banach-space structure
The norm completion of an inner-product space is a Hilbert space
Facts & Assumptions
Given: The Axiom of Countable Choice, a set , and a real positive semidefinite kernel on .
The Axiom of Countable Choice says every countable sequence of nonempty sets has a choice function (The Axiom of Countable Choice ()).
A real positive semidefinite kernel is symmetric and every finite Gram quadratic form is nonnegative (Positive semidefinite kernels and reproducing kernel Hilbert spaces).
The completion used here is obtained by taking the metric completion (A completion of a metric space: a complete metric space together with an isometric embedding onto a dense subspace, Every metric space has a completion, constructed as the equivalence classes of its Cauchy sequences), equipping it with its unique compatible Banach structure under countable choice (The metric completion of a normed space carries a unique compatible Banach-space structure), viewing it as a norm completion (Completion of a normed space), and extending the real inner product uniquely under countable choice (The norm completion of an inner-product space is a Hilbert space).
In a real inner-product space, (Cauchy–Schwarz: , with equality exactly for linearly dependent vectors).
Proof
Let be the finitely supported functions on and define , where each sum is over the finite supports. Symmetry and bilinearity follow from symmetry of and finite-sum algebra. For any , listing its finite support gives by [F1].
For and , . If , nonnegativity of this quadratic for all gives ; if , its linear coefficient must vanish, so .
It follows that every satisfies for every . Hence is a subspace and the form descends to a well-defined positive definite inner product on : changing a representative by an element of does not change any pairing, and a quotient class has zero squared norm exactly when it is the zero class.
The induced inner product makes a real inner-product space. By [F2] and [A1], its norm metric has a metric completion with compatible Banach structure, hence a norm completion; the inner product extends uniquely and makes the completion a real Hilbert space.
For each , the image of satisfies . Thus the finite kernel sections are elements of , and their span is dense because the image of is dense in its completion.
For , the quotient pairing gives , independently of the representative by [step 3.1]. Given , density in [step 4.1] provides an approximating sequence . By [F3], the real sequence is Cauchy, and if is another such sequence then , so its limit is independent of the approximants. The extended inner product also satisfies [F3], hence this limit equals .
Define the associated function of by . Applying the extended pairing to gives , so is exactly the section and for every .
If for every , then is orthogonal to every section and therefore to their dense span from [step 5.1]. Continuity of the inner product gives , so positive definiteness gives . Thus the associated-function map is injective and identifies with a Hilbert space of functions having reproducing kernel .
A finite positive semidefinite kernel Gram matrix has a Euclidean feature factorization
Statement
Let be a real positive semidefinite kernel on a set , let , and let . There are vectors such that for every . The vectors may be zero and need not be linearly independent.
Statement references
Facts & Assumptions
Given: A real positive semidefinite kernel , an integer , and points .
The Gram matrix is real symmetric and satisfies for every (Positive semidefinite kernels and reproducing kernel Hilbert spaces).
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).
Proof
Regard as an endomorphism of with its usual dot product. By [A1], is symmetric, hence self-adjoint. By [F1], there are an orthonormal eigenbasis and real eigenvalues with .
Since , [A1] gives for each . Thus each is a real number, including when .
For , define . The spectral decomposition then gives for all .
Finite-sample representer theorem when a minimizer exists
Statement
Let be a real reproducing kernel Hilbert space with kernel , let , let be sample points, let be finite-valued, and let be nondecreasing. Define . If has a minimizer, then it has a minimizer in ; equivalently, at least one minimizer has the finite expansion . This is an existence-conditional statement and asserts no minimizer exists when none is separately guaranteed.
Statement references
Facts & Assumptions
Given: A real RKHS with kernel , finitely many sample points, a finite-valued loss , a nondecreasing penalty , and a minimizer of .
For each , the section lies in the RKHS and (Positive semidefinite kernels and reproducing kernel Hilbert spaces).
Every finite-dimensional subspace of a real inner-product space admits a unique orthogonal projection, the residual is orthogonal to the subspace, and the projection does not increase norm (Projection onto a finite-dimensional subspace of an arbitrary real inner-product space).
Proof
Let . It is finite-dimensional. Apply [F2] to and , and write with and .
For every , [F1] gives , so . Hence the loss terms in and agree.
The norm-contraction clause of [F2] gives . Monotonicity of therefore gives .
Since is a minimizer, . Thus and is also a minimizer; by its definition is a finite linear combination of the sample kernel sections.
Hard- and soft-margin support-vector machines with an unpenalized bias
Definition
Let be a set, let be a real Hilbert space, and let be a feature map. Define its kernel by . For a finite labeled sample with , , and , the soft-margin support-vector machine with cost is
subject to
The bias is unpenalized. The associated real score is . If a binary label is required, use the deterministic rule when and otherwise. The score is not defined as a probability, and this optimization includes no probability-calibration map.
The hard-margin problem removes the slack variables and minimizes subject to for every . In this library, “margin-separable sample” means exactly that this hard-margin feasible set is nonempty; no hard-margin conclusion is asserted for a sample that fails this condition.
The soft-margin SVM primal attains its minimum, including the unpenalized-bias boundary
Statement
Let , let , and let be a finite labeled sample with in a real Hilbert feature space , with feature map . The soft-margin SVM primal has a finite attained minimum. At least one minimizing tuple has its weight vector in . This conclusion includes samples with only one label and does not assert uniqueness of the bias or slack variables.
Statement references
Facts & Assumptions
Given: The sample, a real Hilbert feature space, its feature map, and .
The soft-margin primal minimizes over subject to and (Hard- and soft-margin support-vector machines with an unpenalized bias).
Projection onto a finite-dimensional subspace preserves inner products with that subspace and does not increase norm (Projection onto a finite-dimensional subspace of an arbitrary real inner-product space).
in a real inner-product space (Cauchy–Schwarz: , with equality exactly for linearly dependent vectors).
Every finite-dimensional real inner-product space has an orthonormal basis (Every finite-dimensional real or complex inner product space has an orthonormal basis).
A nonempty closed bounded subset of , , is compact, and every continuous real-valued function on it attains a minimum (For a nonempty subset of with , compactness, closedness and boundedness, pseudocompactness, and attainment of extrema by every continuous real-valued function are equivalent).
Proof
The tuple , , and is feasible and has objective . Every feasible objective is nonnegative, so the primal infimum lies in .
Let . For any feasible tuple, project onto using [F1]. The residual is orthogonal to every , so all sample scores and constraints are unchanged, while the norm does not increase. Thus minimizing over has the same infimum as minimizing over the full feature space.
If all labels are , then , , and is feasible with objective , which is globally minimal by step 1.1. If all labels are , then , , and gives the same conclusion.
Suppose both labels occur. Set and let be the subset of consisting of feasible tuples with objective at most . By step 1.1, is nonempty. It is closed because the constraints are continuous affine inequalities and the objective is continuous; continuity of each score follows from [F2]. Every tuple in satisfies and . Choose indices and with labels and . Their constraints and [F2] give and , so is bounded. Equip the product space with the inner product . It has finite dimension , so [F3] gives an orthonormal basis identifying it with . Hence is a nonempty closed bounded subset of that Euclidean space. By [F4], the continuous objective attains a minimum on . Any feasible tuple outside has objective greater than , whereas contains a feasible tuple of objective ; therefore this minimum is also the global primal minimum. By step 1.2 it is a full-space minimizer with .
Soft-margin SVM duality and KKT conditions
Statement
Let , , let be a real Hilbert space, and let be a feature map with kernel . For any finite sample with , the soft-margin SVM primal attains its minimum. Its Lagrangian dual is
subject to for every and . The dual maximum is attained and equals the primal minimum. For every primal minimizer there are dual multipliers and such that
with and . Conversely, any primal-feasible tuple and nonnegative multipliers satisfying these stationarity and complementarity equations are globally optimal. An index with is a support vector; if , then and its signed margin equals . The single dual equality row is independent because .
Statement references
Hastie, Tibshirani, and Friedman, The Elements of Statistical Learning, §§12.2.1 and 12.3.1–12.3.3
Rasmussen and Williams, Gaussian Processes for Machine Learning, §6.4.1
Hard- and soft-margin support-vector machines with an unpenalized bias
The soft-margin SVM primal attains its minimum, including the unpenalized-bias boundary
A finite positive semidefinite kernel Gram matrix has a Euclidean feature factorization
Slater gives zero duality gap and an attained dual certificate
Convex KKT conditions certify a global minimum and an outward normal
Facts & Assumptions
Given: A finite labeled sample in a real Hilbert feature space, the induced kernel, and .
The soft-margin primal has an attained minimum (The soft-margin SVM primal attains its minimum, including the unpenalized-bias boundary).
Projection onto a finite-dimensional subspace preserves the residual orthogonality and does not increase norm (Projection onto a finite-dimensional subspace of an arbitrary real inner-product space).
Orthogonal vectors satisfy the Pythagorean identity (Pythagoras, the parallelogram identity, and the real and complex polarisation identities).
For a finite sample, the kernel Gram matrix has vectors with (A finite positive semidefinite kernel Gram matrix has a Euclidean feature factorization).
A finite-dimensional convex program uses proper closed convex objective and constraint functions, a full-row-rank equality matrix, and the inequality convention with nonnegative Lagrange multipliers (Finite-dimensional convex program, Lagrangian dual, and Slater condition).
For a finite-dimensional convex program with independent equality rows, relative-interior Slater, and a finite attained primal value, the dual optimum is attained, the values agree, and inequality complementarity holds (Slater gives zero duality gap and an attained dual certificate).
The inequality-program convention uses and Lagrangian with (Inequality constrained programs, tangent cones, constraint qualifications, and KKT).
In a differentiable convex program on an open convex domain, every feasible tuple satisfying KKT conditions is a global minimizer (Convex KKT conditions certify a global minimum and an outward normal).
Proof
Let be any primal minimizer, which exists by [F1], and let . Project onto using [F2]; its residual is orthogonal to every , so the projection preserves all margins and slacks. If the residual were nonzero, [F3] would give a strictly smaller squared norm and hence a strictly smaller objective, contradicting minimality because the regularization coefficient is . Thus every primal minimizer has .
Identify with a Euclidean space using an orthonormal basis. In the finite-dimensional variable space , the objective is a proper continuous convex function and the inequality constraints are continuous affine functions with the sign convention [F7]. No inequality is removed by the domain-preserving convention in [F5]: all functions have full domain, and sending the corresponding makes either constraint function positive. There are no primal equality rows, so the full-row-rank condition in [F5] holds vacuously.
The point , , has strict slack in every constraint: and . The objective and all constraint domains are the whole finite-dimensional variable space, so this point lies in their relative interiors. Together with the finite attained primal value from [F1], this verifies every hypothesis of [F6].
Write the margin constraints as and the nonnegative-slack constraints as . Give them multipliers and , respectively. The Lagrangian is .
Put . The terms of depending on are , so their infimum is . The infimum over the unrestricted bias is finite exactly when , and the infimum over each unrestricted is finite exactly when . Thus the dual-feasible conditions are and .
Apply [F6] using the verified hypotheses in [step 3.1]. It gives an attained dual optimum with the same value as the primal optimum and complementarity for both families and . At any fixed primal minimizer, these equal values and complementarity make attain its unconstrained infimum; its derivatives in , , and each therefore vanish.
For any finite list and , symmetry and bilinearity of the real inner product give . Thus the feature-induced kernel is real positive semidefinite, so its sample Gram matrix satisfies the hypothesis of [F4]. Since , . By [F4], the matrix is the Gram matrix of , so its quadratic form is nonnegative. Hence the displayed dual objective is concave. Its equality row has coefficient vector , because and each , so that row is independent.
Differentiating the Lagrangian of [step 3.2] gives , , and . The last equation and give ; together with these are the dual box constraints. The complementarity equations supplied by [F6] are and , which are exactly the two equations in the Statement.
The finite-dimensional primal has differentiable convex objective and affine convex constraints on the open convex variable space identified in [step 2.1]. Thus [F8] certifies that any feasible tuple satisfying the stationarity and complementarity equations is a global primal minimizer. If , then , so forces ; then forces the signed margin to equal . Finally, for any input , stationarity gives the score .
The Gaussian radial kernel is positive semidefinite
Example
For and , the Gaussian radial kernel on is . It is a real positive semidefinite kernel, including on finite samples with repeated points or a singular Gram matrix.
Example references
Facts & Assumptions
Given: , , a finite sample with , and real coefficients .
Positive semidefiniteness means symmetry and nonnegative finite Gram quadratic forms (Positive semidefinite kernels and reproducing kernel Hilbert spaces).
Verification
For each sample point put . The identity gives .
For each fixed pair , the exponential series has the absolutely convergent multi-index expansion , since the corresponding series of absolute values is . The sample sums are finite, so they can be interchanged with this absolutely convergent series.
Substitution into [step 1.1] yields . Symmetry of is immediate from , so [F1] proves positive semidefiniteness; zero eigenvalues or repeated points do not affect the sum-of-squares argument.
4 · Examples, counterexamples and false statements
None yet.
Sources
- Hastie, Tibshirani, and Friedman, The Elements of Statistical Learning, 2nd ed., corrected 12th printing
- Rasmussen and Williams, Gaussian Processes for Machine Learning
- Sheldon Axler, Linear Algebra Done Right, 4th ed., Definition 6.55 and Result 6.61
- Sheldon Axler, Linear Algebra Done Right, 4th ed., §7B, Real Spectral Theorem