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.
Algorithmic stability and generalization — Examples
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Algorithmic stability and generalization
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Concentration
- Conditional Distributions and Regular Conditional Probability
- Conditional Expectation
- 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
- Discrete Time Martingales
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Empirical-Process Complexity
- Estimators and Randomized Procedures
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Independence Borel Cantelli and Zero One Laws
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Loss, Risk and Decision Theory
- Martingale Inequalities and Convergence
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- 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
- Power Series and Real-Analytic Functions
- Prediction problems, risks, and empirical minimization
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Rademacher complexity and uniform generalization
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Signed and Complex Measures Hahn and Jordan
- Simple Field Extensions and the Construction of the Complex Numbers
- Statistical Experiments, Models and Identifiability
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Lᵖ Spaces Holder Minkowski and Riesz Fischer
- The Radon Nikodym Theorem and Lebesgue Decomposition
- The Riemann Integral: Definition and Integrability
- 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
- Weak Laws and Series of Independent Random Variables
2 · Logical flowchart
3 · Definitions, theorems and proofs
None yet.
4 · Examples, counterexamples and false statements
Absolute-loss RKHS regularization has an explicit stability envelope
Example
Let and with their discrete sigma-algebras, and let and for . Take as the RKHS of the one-point kernel , so and . Use absolute loss and regularization parameter . For a size- sample and retained index set , use the fixed-denominator objective . If and count the labels and in , respectively, its unique minimizer is . Thus all full and deleted outputs lie in , every loss is bounded by , and the deletion-stability coefficient satisfies . For , the population and empirical risks are and .
Example references
The full-size deletion convention and RKHS stability conclusion are given by Strongly convex RKHS regularized ERM is stable.
Uniform deletion stability and its coefficient are defined by Uniform algorithmic stability under deletion.
The supervised prediction and loss setting is specified by Supervised prediction problems.
Population risk is an integral and empirical risk is the finite sample average by Population and empirical risk.
Facts & Assumptions
Given: The one-point supervised model, , , , and a sample with labels in .
Population risk is the integral under and empirical risk is the sample average. Population and empirical risk
Uniform deletion stability is the supremum loss change from a full output to its indexed deletion output. Uniform algorithmic stability under deletion
For a real RKHS with and convex -Lipschitz loss, attained fixed-denominator regularized ERM minimizers have . Strongly convex RKHS regularized ERM is stable
Here and ; each retained sample uses denominator and . Strongly convex RKHS regularized ERM is stable
Verification
For , the objective is , whose derivative vanishes at ; strict convexity gives the clipped formula as the unique minimizer on this interval. For the objective is and is decreasing toward ; for it is and is increasing away from . Hence no global minimizer lies outside , including when .
Since , , so the common loss bound is . Formula [F1] gives and for . The map is convex and satisfies , so ; the one-point RKHS has .
By [F2] and [F3], the learner has uniform deletion-stability coefficient ; step 2.1 independently verifies the bounded-loss premise required by the high-probability theorem.
A nearest-neighbor rule can have unit deletion instability and zero training loss
Example
Let with its Borel sigma-algebra and distance , and let with the discrete sigma-algebra. Let be any probability measure on , let be the class of all Borel-measurable predictors , and use the zero-one loss , so . Define a deterministic one-nearest-neighbor rule that predicts the majority label among all sample points at minimum distance from , resolving a tie by predicting ; on the empty sample it predicts everywhere. For a fixed finite sample, each nearest-index region is specified by finitely many distance comparisons and is Borel, so the resulting predictor belongs to . This rule is permutation-invariant. For any , let contain one observation and copies of . Its empirical risk is zero. At the test point the full rule predicts and incurs loss , while the rule after deleting predicts and incurs loss . Since the loss is bounded by , the uniform deletion-stability coefficient at size is exactly .
Example references
Uniform deletion stability is defined by Uniform algorithmic stability under deletion.
The supervised sample and loss setting is specified by Supervised prediction problems.
Empirical risk is the finite sample average by Population and empirical risk.
Facts & Assumptions
Given: The metric feature space, binary labels, zero-one loss, permutation-invariant nearest-neighbor rule, sample , and test point in the Example.
A supervised prediction problem includes measurable instance and label spaces, predictors, a joint sample law, and a measurable loss. Supervised prediction problems
The empirical risk of a length- sample is the average of the loss values. Population and empirical risk
The stability coefficient is the supremum of the deletion loss change over all samples, indices, and test observations. Uniform algorithmic stability under deletion
The displayed sample contains exactly one point at feature with label and copies at feature with label .
Verification
For a fixed finite sample, nearest-index regions are finite Boolean combinations of Borel distance comparisons, so the prediction map is measurable. The tie rule depends only on the multiset of labels at the minimum distance, so reordering the training sample leaves every prediction unchanged. At feature the unique nearest label is , and at feature all nearest labels are ; hence the rule predicts every training label correctly and [F2] gives empirical risk . At feature , the distances to and are and , so the unique nearest label is and the loss at is .
After deleting the unique point , every remaining training point has feature and label , so the nearest-neighbor rule predicts at feature and has test loss . The deletion loss change for this sample, deleted index, and test point is therefore , so [F3] gives a stability coefficient at least .
Every zero-one loss difference has absolute value at most , so every term in the supremum [F3] is at most . Step 2.1 attains this value for every , hence the coefficient is exactly .
Training accuracy, algorithmic stability, and class-wide Rademacher bounds
Example
Assume the Axiom of Choice. Let with and its discrete sigma-algebra, let with its discrete sigma-algebra, and let for every . Use the zero-one loss and the hypothesis class . Define a constant learner that always outputs . Define a memorizing learner by predicting the majority label among sample observations at the queried feature, resolving a tie by predicting , and predicting at any feature absent from the sample; on the empty sample it predicts everywhere. Both learners are permutation-invariant. For every one-point sample , the constant learner has zero training and population risk and deletion-stability coefficient . The memorizing learner also has zero training risk, but has population risk and deletion-stability coefficient . For the full finite loss class , define for a one-point sample and . Both values are . Under AC, the two-sided Rademacher uniform-deviation bound is for , with probability at least ; the natural logarithm makes its right-hand side at least , the trivial zero-one loss range.
Example references
Uniform deletion stability is defined by Uniform algorithmic stability under deletion.
Population and empirical risk use the integral and finite-average conventions in Population and empirical risk.
The one-sided complexity normalization is fixed by One-sided Rademacher complexity.
The two-sided uniform-deviation bound and its AC hypothesis are stated in Rademacher uniform generalization bounds.
Confidence terms use the natural logarithm The natural logarithm as the inverse of the exponential function.
Its strict monotonicity and value at follow from Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm.
The IID and choice assumptions are specified by Identical distribution and IID families
and The Axiom of Choice.
Facts & Assumptions
Given: The finite supervised domain, law , binary hypothesis class, two learning rules, and Axiom of Choice stated in the Example.
Assume AC only for applying the Rademacher concentration theorem; the explicit learner risks, stability coefficients, and finite sign average below are choice-free. The Axiom of Choice
The supervised loss on is the prediction loss evaluated at and . Supervised prediction problems
Population risk is the expectation of the loss under , and training risk is its sample average. Population and empirical risk
Uniform deletion stability is the supremum loss change between the full output and the output after deleting one indexed observation. Uniform algorithmic stability under deletion
The empirical one-sided Rademacher complexity is the sign average of , and expected complexity averages this quantity over an IID sample. One-sided Rademacher complexity
For a nonempty measurable loss class with measurable suprema and AC, the two-sided expected-complexity bound is with probability at least . Rademacher uniform generalization bounds
IID means mutually independent observations with the same law. Identical distribution and IID families
For , is the unique real with . The natural logarithm as the inverse of the exponential function
is strictly increasing and , so implies . Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm
The finite discrete domain makes every loss measurable and every supremum over the nonempty finite class measurable.
Verification
Both rules depend only on the sample multiset, so they are permutation-invariant. Under , has zero loss at every feature, so its population and empirical risks are both . For , the memorizing learner predicts at and at the other features. Thus its empirical risk is and its population risk is .
Fix any and one-point sample . Since contains every binary labeling, some has loss and some has . For sign , ; for sign , the supremum is . The two equiprobable signs therefore give for every , and averaging over gives .
The constant learner returns on both and its deletion, so its size-one stability coefficient is . The empty-sample memorizer predicts at , whereas the full-sample memorizer predicts there; at test point the loss changes by . Every zero-one loss difference is at most , hence the memorizer's coefficient is exactly .
With , [F5] has complexity term , and [F7]–[F8] make its confidence term positive for every . Every zero-one loss deviation is at most , so this class-wide upper bound is no sharper than the trivial range, while step 1.1 gives the constant learner an exact zero gap and the memorizer zero training risk with a large population risk.