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
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
- 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
Realizable and agnostic PAC learning
Definition
Let be a measurable instance space, let the binary label space have its discrete sigma-algebra, and let be a finite nonempty class of measurable classifiers . For a probability law on , write for the population zero-one risk. A sample of size consists of independent observations with common law ; write for its empirical zero-one risk. The law is realizable by if some satisfies .
Put with its product sigma-algebra. For fixed , a deterministic learner is a measurable map , where the finite set has its discrete sigma-algebra. For a law on , let be an IID sample with common law , and write for probability under its joint law. For , the learner is -PAC realizable if, for every law realizable by , . It is agnostic -PAC if, for every law on , . A randomized learner uses a measurable probability space and a measurable output map , with a seed independent of ; in both criteria replace by and by the joint probability . All risks and the infimum are finite because the zero-one loss is bounded by one. These definitions impose no computational-efficiency claim.
Definition references
Supervised prediction problems: a supervised problem specifies measurable instance and label spaces, a joint law, measurable predictors, and a measurable loss.
Population and empirical risk: population risk is the expected loss and empirical risk is the sample average of that loss.
Identical distribution and IID families: IID observations are mutually independent and have the same law.
Finite-class agnostic ERM bound
Statement
Let be a measurable space, let be a probability law on , and let be a finite nonempty class of measurable classifiers . Let , , be IID with law , where , and define and . With natural logarithms, for put
Then, with probability at least , both for every and
for each fixed finite tolerance , where is the measurable finite-list empirical-risk selector applied with tolerance to an ordered list containing every member of exactly once. In particular, exact ERM () has excess risk at most . The conclusion is agnostic: it assumes no zero-risk classifier. No form of the Axiom of Choice is assumed.
Statement references
Realizable and agnostic PAC learning: defines realizable and agnostic PAC learning for finite measurable binary classes.
Population and empirical risk: defines population and empirical risk as expected loss and sample-average loss.
Uniform deviation bound for a finite unit-range class: gives the choice-free two-sided tail bound for finite classes of measurable functions in .
The natural logarithm as the inverse of the exponential function: defines as the inverse of on positive inputs.
Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: establishes that is increasing and obeys the product, quotient, and reciprocal laws.
Finite-list empirical risk minimization: specifies the deterministic finite-list ERM selector.
The finite-list ERM selector is measurable: proves that selector measurable and exact or approximate ERM.
Facts & Assumptions
Given: A measurable binary classification problem, a finite nonempty measurable classifier class , IID observations with law , , , and a finite tolerance .
No form of the Axiom of Choice is assumed; the finite-list selector uses the given finite ordering, and the uniform-deviation supplier states that its proof is choice-free.
For a finite nonempty class of measurable functions and IID observations with law , for every ; its proof uses scalar exponential moments and finite independence and does not assume choice. Uniform deviation bound for a finite unit-range class
A supervised prediction problem has measurable instance and label spaces, a joint law on their product, a class of measurable predictors, and a measurable loss. Supervised prediction problems
Population risk is the integral of the loss under the joint law, and empirical risk is the average loss on the ordered sample. With binary zero-one loss these are and . Population and empirical risk
An -approximate ERM has empirical risk at most the empirical infimum plus when that infimum is finite; an exact ERM attains the infimum. Empirical risk minimizers
On a finite ordered list with finite empirical risks, the finite-list procedure returns the first list entry whose empirical risk is at most the minimum plus ; at it returns a first exact minimizer. Finite-list empirical risk minimization
For a finite ordered list of measurable predictors and finite , the finite-list selector is measurable and is an -approximate ERM; when it is an exact ERM. The finite-list ERM selector is measurable
IID means the observations are mutually independent and identically distributed. Identical distribution and IID families
The natural logarithm is increasing, , and obeys the product, quotient, and reciprocal laws; it is the inverse of the exponential on positive reals. The natural logarithm as the inverse of the exponential function, Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm
Proof
Given: The hypotheses in the Statement.
For each , define . Its unit-level set is , a measurable union of rectangles because is measurable and is discrete. Thus is measurable and -valued; is finite and nonempty with . By [F3], and .
By [F7], the observations meet the IID hypothesis of [F1]. Put . Since and , [F8] makes the numerator positive, so . Apply [F1] to at . By [F8], and . Hence . With probability at least every satisfies , hence also the asserted non-strict bound.
On that event, [F6] gives . The deviation bound gives and for every . Hence for every , and taking the infimum over gives . Combining these inequalities gives .
The event from step 2.1 has probability at least , and step 3.1 establishes both stated inequalities on that event. This proves the claim for arbitrary , whether or not the class is realizable.
Finite-class realizable PAC bound
Statement
Let be a finite nonempty class of measurable classifiers on a measurable instance space, and let be a law on for which some has zero population zero-one risk. Let , , be IID with law , and let be the measurable exact ERM returned by the finite-list selector on an ordered enumeration of . For and integer , if
then . This is a realizable guarantee; it makes no claim for distributions without a zero-risk member of . The proof is choice-free.
Statement references
Realizable and agnostic PAC learning: defines realizability by existence of a zero-risk classifier and the realizable PAC criterion.
Finite-list empirical risk minimization: supplies an exact finite-list ERM selector.
The finite-list ERM selector is measurable: establishes the selector’s measurability and exact-minimizer property.
The natural logarithm as the inverse of the exponential function: defines the natural logarithm as the inverse of the exponential on positive reals.
Facts & Assumptions
Given: A finite nonempty class of measurable binary classifiers, an IID sample of size with law , a classifier with , and .
No form of the Axiom of Choice is assumed or used; the learner selects from a given finite ordered list.
IID means the sample coordinates are mutually independent and have the same law. Identical distribution and IID families
Measurable coordinatewise functions of an independent family remain independent. Measurable coordinatewise functions preserve independence
For any finite list of events, the probability of their union is at most the sum of their probabilities. Basic identities for a probability measure
If and is natural, then . for every real , hence
For finite empirical risks, the finite-list procedure at tolerance zero returns a first exact minimizer. Finite-list empirical risk minimization
The finite-list selector is measurable and an exact ERM when its tolerance is zero. The finite-list ERM selector is measurable
Population zero-one risk is the probability of classification error, and empirical zero-one risk is the average of the sample error indicators. Population and empirical risk
The natural logarithm is increasing and obeys the product and reciprocal laws, with ; it inverts the exponential on positive reals. The natural logarithm as the inverse of the exponential function, Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm
The exponential is positive for every real input and . The exponential is positive and satisfies
Proof
Given: The hypotheses in the Statement.
Fix with and put . The error indicator is a measurable function of , so [F1]–[F2] make independent with . Therefore the probability that is consistent on the full sample is by [F4].
The bad-consistent event is the union over with of the event that is consistent. By [F3] and step 1.1 its probability is at most .
Since , each observation disagrees with on a null event; the finite union of these null events has probability zero. Thus is sample-consistent almost surely, the empirical minimum is zero, and [F5]–[F6] make a measurable consistent classifier almost surely. If its risk exceeded , it would be a bad consistent classifier, so the failure event is contained in the event bounded in step 2.1.
The assumed sample-size inequality gives by [F8]. The argument is positive by [F9], and [F8] yields . Since is increasing, . Steps 2.1–3.1 therefore bound the failure probability by , proving the claim.
Finite-class realizable and agnostic sample complexity
Statement
Let be a finite nonempty class of measurable binary classifiers, put , and let . For IID samples, the finite-list exact ERM is realizable -PAC whenever the law is realizable by and
For arbitrary laws, a finite-list -approximate ERM with fixed is agnostic -PAC whenever
Here is a positive integer and logarithms are natural. In particular, exact agnostic ERM () has the sufficient sample size . These are sufficient upper bounds; they do not assert optimality or computational efficiency.
Statement references
Realizable and agnostic PAC learning: defines the two PAC criteria and includes learner randomness in their probability statements when present.
Finite-class realizable PAC bound: proves the realizable finite-class sample-size condition.
Finite-class agnostic ERM bound: proves the agnostic ERM excess-risk bound used to obtain the agnostic sample size.
The natural logarithm as the inverse of the exponential function: defines the natural logarithm used in the sample-size formulas.
Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: supplies the monotonicity and product law used in the sample-size comparison.
Facts & Assumptions
Given: A finite nonempty class of measurable binary classifiers, , , and fixed for the approximate-ERM clause.
No choice axiom is added; the two supplier bounds use finite classes and finite-list selectors.
In the realizable case, a finite-class exact ERM has risk at most with probability at least if . Finite-class realizable PAC bound
For arbitrary , with probability at least , a finite-list -ERM has excess at most . Finite-class agnostic ERM bound
For deterministic measurable , realizable -PAC means for every law admitting a zero-risk member; agnostic PAC means for every law. Realizable and agnostic PAC learning
The natural logarithm is increasing, , and has the product law. The natural logarithm as the inverse of the exponential function, Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm
Proof
Given: The hypotheses in the Statement.
Under the stated realizability assumption, the first sample-size condition is exactly the hypothesis of [F1], so the exact finite-list ERM meets the realizable PAC criterion in [F3].
Put . Since and , [F4] makes the numerator positive; also . The sample-size condition gives , so by nonnegativity.
By [F2], with probability at least the agnostic excess is at most . This is the agnostic PAC criterion in [F3], and setting gives the exact-ERM formula.
4 · Examples, counterexamples and false statements
None yet.
Sources
- Mehryar Mohri, Afshin Rostamizadeh, and Ameet Talwalkar, Foundations of Machine Learning, 2nd ed., Chapter 2 §§2.1–2.4
- Shai Shalev-Shwartz and Shai Ben-David, Understanding Machine Learning: From Theory to Algorithms, Chapters 2–4
- Mehryar Mohri, Afshin Rostamizadeh, and Ameet Talwalkar, Foundations of Machine Learning, 2nd ed., Chapter 2 Theorem 2.13 and proof
- Shai Shalev-Shwartz and Shai Ben-David, Understanding Machine Learning: From Theory to Algorithms, Chapter 4 §4.2 and Corollary 4.6
- Mehryar Mohri, Afshin Rostamizadeh, and Ameet Talwalkar, Foundations of Machine Learning, 2nd ed., Chapter 2 Theorem 2.5 and proof
- Shai Shalev-Shwartz and Shai Ben-David, Understanding Machine Learning: From Theory to Algorithms, Chapter 2 §2.3.1 and Corollary 2.3
- Mehryar Mohri, Afshin Rostamizadeh, and Ameet Talwalkar, Foundations of Machine Learning, 2nd ed., Chapter 2 Theorems 2.5 and 2.13
- Shai Shalev-Shwartz and Shai Ben-David, Understanding Machine Learning: From Theory to Algorithms, Chapter 2 Corollary 2.3 and Chapter 4 Corollary 4.6