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.
Finite-class PAC learning and ERM guarantees — Examples
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Conditional Distributions and Regular Conditional Probability
- 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
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Empirical-Process Complexity
- Estimators and Randomized Procedures
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability and the Probabilistic Method
- Finite-class PAC learning and ERM guarantees
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Independence Borel Cantelli and Zero One Laws
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Loss, Risk and Decision Theory
- 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
- Pointwise Extended-Real Function Products
- 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
- 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
- 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 Riemann Integral: Definition and Integrability
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- 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
Finite lookup tables have explicit PAC sample bounds
Example
Let , let have the discrete sigma-algebra, and let be the class of all binary lookup tables on . Then . For any , the exact ERM is realizable -PAC at every realizable law when and is agnostic -PAC at every law when The agnostic condition uses the same class and binary zero-one loss; these are sufficient sample sizes.
Example references
Realizable and agnostic PAC learning: defines the realizable and agnostic PAC probability guarantees used here.
Finite-class realizable and agnostic sample complexity: gives the realizable and agnostic finite-class sample-size conditions.
Facts & Assumptions
Given: A finite discrete instance set of size , all binary lookup tables on it, and .
For a finite class of size , exact ERM has the stated realizable sample bound and the agnostic sample bound . Finite-class realizable and agnostic sample complexity
IID means mutually independent sample observations with one common law. Identical distribution and IID families
Verification
Given: The finite lookup-table class and sample-size parameters in the Example.
A table assigns one of two labels independently at each of the inputs, so there are exactly tables. Every table is measurable on the finite discrete space, and the class is nonempty.
[F2] gives the IID sample convention required by [F1]. Substitute into [F1] and use . The resulting sufficient sample-size conditions are exactly those in the Example.
Duplicate predictors do not enlarge the finite class
Example
Let be a measurable space, give its discrete sigma-algebra, and use binary zero-one loss. Let be a nonempty ordered finite list of measurable classifiers, and let be the set of its distinct classifiers, where . For any labeled sample with , put and, for a law on , put . For every such sample and every finite tolerance , the finite-list ERM on returns the same classifier as the procedure on the list formed by retaining only the first occurrence of each distinct classifier. Thus the empirical minimum and selected prediction rule are unchanged by duplicate entries. Let denote this finite-list ERM on . For any such law , , , and positive integer satisfying the following condition, if is an IID sample of size from , then : is sufficient for agnostic excess risk at most with probability at least ; the bound depends on , not the original list length .
Example references
Realizable and agnostic PAC learning: defines the agnostic excess-risk guarantee used here.
Finite-list empirical risk minimization: selects the first list entry whose empirical risk is within the supplied tolerance of the finite-list minimum.
Finite-class realizable and agnostic sample complexity: gives the agnostic finite-class sample-size condition in terms of the number of distinct hypotheses.
Facts & Assumptions
Given: An ordered finite list , its set of distinct classifiers, an IID sample, and finite .
The finite-list algorithm returns the first index whose empirical risk is at most the finite minimum plus . Finite-list empirical risk minimization
A finite class with distinct classifiers has the agnostic sample bound for . Finite-class realizable and agnostic sample complexity
IID means sample observations are mutually independent and identically distributed. Identical distribution and IID families
Verification
Given: The list and tolerance in the Example.
The list and its deduplicated sublist have the same set of empirical-risk values, so their minima agree. Whether a list entry satisfies the tolerance test in [F1] depends only on its classifier; among repeated copies, the first copy is encountered first. Therefore both runs select the same classifier.
By [F3], the sample is IID, which is the sampling hypothesis of [F2]. The list with first occurrences retained enumerates exactly once. Apply [F2] to this finite class with ; its sample bound contains and no term involving .
Zero training error can coexist with positive population risk
Example
Let have the discrete sigma-algebra, and let assign probability to each of and . Let and , , so is realizable by . Run exact finite-list ERM on the ordered list . For every integer , if is an IID sample from , the event has probability ; on this event has empirical risk zero and population risk , and the tie-breaking rule returns . Thus zero training error does not imply zero population risk on every sample, even for a realizable finite class; PAC guarantees bound a failure probability over samples.
Example references
Realizable and agnostic PAC learning: defines realizability and the probability-over-samples form of a PAC guarantee.
Finite-list empirical risk minimization: returns the first exact minimizer in the given order when tolerance is zero.
Facts & Assumptions
Given: The finite instance space, joint law, two classifiers, and ordered list in the Example, with IID samples of size .
At tolerance zero, the finite-list algorithm returns the first empirical-risk minimizer. Finite-list empirical risk minimization
IID means sample observations are mutually independent and identically distributed. Identical distribution and IID families
Realizable PAC requires the risk threshold with probability at least over the IID sample; it is a probability guarantee, not a pointwise assertion for every sample. Realizable and agnostic PAC learning
Verification
Given: The model and ordered finite-list ERM in the Example.
The classifier errs exactly when , so , while has zero risk. On the specified all- sample, each observed pair is and both classifiers have empirical risk zero.
By [F2], the probability that all independent inputs equal is . On that event, [F1] selects first, so the learner returns zero empirical risk with population risk . This is a positive-probability sample event and does not contradict the probabilistic form of [F3].