Alphabeta Math
Pipeline-generated
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

2 · Logical flowchart

3 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Realizable and agnostic PAC learning

Definition

Let (X,ΣX) be a measurable instance space, let the binary label space {0,1} have its discrete sigma-algebra, and let H be a finite nonempty class of measurable classifiers h:X→{0,1}. For a probability law P on X×{0,1}, write RP(h)=P{(x,y):h(x)≠y} for the population zero-one risk. A sample of size m≥1 consists of m independent observations with common law P; write R^S(h)=m−1∑i=1m1{h(Xi)≠Yi} for its empirical zero-one risk. The law P is realizable by H if some h∗∈H satisfies RP(h∗)=0.

Put Z=X×{0,1} with its product sigma-algebra. For fixed m≥1, a deterministic learner is a measurable map A:Zm→H, where the finite set H has its discrete sigma-algebra. For a law P on Z, let S=(Z1,…,Zm) be an IID sample with common law P, and write PS for probability under its joint law. For 0<ϵ,δ<1, the learner is (ϵ,δ)-PAC realizable if, for every law P realizable by H, PS{RP(A(S))≤ϵ}≥1−δ. It is agnostic (ϵ,δ)-PAC if, for every law P on Z, PS{RP(A(S))−inf⁡h∈HRP(h)≤ϵ}≥1−δ. A randomized learner uses a measurable probability space (U,ΣU,Q) and a measurable output map A:Zm×U→H, with a seed U∼Q independent of S; in both criteria replace A(S) by A(S,U) and PS by the joint probability PS,U. 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.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Finite-class agnostic ERM bound

Statement

Let (X,ΣX) be a measurable space, let P be a probability law on X×{0,1}, and let H be a finite nonempty class of measurable classifiers h:X→{0,1}. Let Zi=(Xi,Yi), 1≤i≤m, be IID with law P, where m≥1, and define RP(h)=P{h(X)≠Y} and R^S(h)=m−1∑i=1m1{h(Xi)≠Yi}. With natural logarithms, for 0<δ<1 put

am,H,δ:=log⁡∣H∣+log⁡(2/δ)2m.

Then, with probability at least 1−δ, both ∣RP(h)−R^S(h)∣≤am,H,δ for every h∈H and

RP(h^η(S))−inf⁡h∈HRP(h)≤2am,H,δ+η,

for each fixed finite tolerance η≥0, where h^η is the measurable finite-list empirical-risk selector applied with tolerance η to an ordered list containing every member of H exactly once. In particular, exact ERM (η=0) has excess risk at most 2am,H,δ. 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 [0,1].

The natural logarithm as the inverse of the exponential function: defines log⁡ as the inverse of exp⁡ on positive inputs.

Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: establishes that log⁡ 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 H, IID observations Z1,…,Zm with law P, m≥1, 0<δ<1, and a finite tolerance η≥0.

[A1]

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.

[F1]

For a finite nonempty class G of measurable functions g:Z→[0,1] and IID observations with law P, P{sup⁡g∈G∣Pmg−Pg∣≥t}≤2∣G∣e−2mt2 for every t>0; its proof uses scalar exponential moments and finite independence and does not assume choice. Uniform deviation bound for a finite unit-range class

[F2]

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

[F3]

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 P{h(X)≠Y} and m−1∑i1{h(Xi)≠Yi}. Population and empirical risk

[F4]

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

[F5]

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 η=0 it returns a first exact minimizer. Finite-list empirical risk minimization

[F6]

For a finite ordered list of measurable predictors and finite η≥0, the finite-list selector is measurable and is an η-approximate ERM; when η=0 it is an exact ERM. The finite-list ERM selector is measurable

[F7]

IID means the observations are mutually independent and identically distributed. Identical distribution and IID families

[F8]

The natural logarithm is increasing, log⁡1=0, 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.

1.1givenF2F3F7A1construct

For each h∈H, define gh(x,y)=1{h(x)≠y}. Its unit-level set is (h−1{0}×{1})∪(h−1{1}×{0}), a measurable union of rectangles because h is measurable and {0,1} is discrete. Thus gh is measurable and [0,1]-valued; G:={gh:h∈H} is finite and nonempty with ∣G∣≤∣H∣. By [F3], Pgh=RP(h) and Pmgh=R^S(h).

2.1F1F7F8step 1.1A1algebra

By [F7], the observations meet the IID hypothesis of [F1]. Put a=am,H,δ. Since ∣H∣≥1 and 2/δ>1, [F8] makes the numerator positive, so a>0. Apply [F1] to G at t=a. By [F8], log⁡∣H∣+log⁡(2/δ)=log⁡(2∣H∣/δ) and e−log⁡(2∣H∣/δ)=δ/(2∣H∣). Hence 2∣G∣e−2ma2≤2∣H∣e−2ma2=δ. With probability at least 1−δ every h∈H satisfies ∣RP(h)−R^S(h)∣<a, hence also the asserted non-strict bound.

3.1F3F4F5F6step 2.1algebra

On that event, [F6] gives R^S(h^η)≤inf⁡h∈HR^S(h)+η. The deviation bound gives RP(h^η)≤R^S(h^η)+a and R^S(h)≤RP(h)+a for every h. Hence inf⁡g∈HR^S(g)≤RP(h)+a for every h∈H, and taking the infimum over h gives inf⁡g∈HR^S(g)≤inf⁡h∈HRP(h)+a. Combining these inequalities gives RP(h^η)−inf⁡h∈HRP(h)≤2a+η.

4.1step 2.1step 3.1∎

The event from step 2.1 has probability at least 1−δ, and step 3.1 establishes both stated inequalities on that event. This proves the claim for arbitrary P, whether or not the class is realizable.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Finite-class realizable PAC bound

Statement

Let H be a finite nonempty class of measurable classifiers h:X→{0,1} on a measurable instance space, and let P be a law on X×{0,1} for which some h∗∈H has zero population zero-one risk. Let Zi=(Xi,Yi), 1≤i≤m, be IID with law P, and let h^0(S) be the measurable exact ERM returned by the finite-list selector on an ordered enumeration of H. For 0<ϵ,δ<1 and integer m≥1, if

m≥log⁡∣H∣+log⁡(1/δ)ϵ,

then PS{RP(h^0(S))≤ϵ}≥1−δ. This is a realizable guarantee; it makes no claim for distributions without a zero-risk member of H. 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 m≥1 with law P, a classifier h∗ with RP(h∗)=0, and 0<ϵ,δ<1.

[A1]

No form of the Axiom of Choice is assumed or used; the learner selects from a given finite ordered list.

[F1]

IID means the sample coordinates are mutually independent and have the same law. Identical distribution and IID families

[F2]

Measurable coordinatewise functions of an independent family remain independent. Measurable coordinatewise functions preserve independence

[F3]

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

[F4]

If 0≤p≤1 and m is natural, then (1−p)m≤e−mp. 1+x≤exp⁡(x) for every real x, hence (1−p)m≤exp⁡(−mp)

[F5]

For finite empirical risks, the finite-list procedure at tolerance zero returns a first exact minimizer. Finite-list empirical risk minimization

[F6]

The finite-list selector is measurable and an exact ERM when its tolerance is zero. The finite-list ERM selector is measurable

[F7]

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

[F8]

The natural logarithm is increasing and obeys the product and reciprocal laws, with log⁡1=0; 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

[F9]

The exponential is positive for every real input and exp⁡(−x)=1/exp⁡(x). The exponential is positive and satisfies exp⁡(−x)=1/exp⁡(x)

Proof

Given: The hypotheses in the Statement.

1.1givenF1F2F4F7A1

Fix h∈H with RP(h)>ϵ and put Ii=1{h(Xi)≠Yi}. The error indicator is a measurable function of Zi, so [F1]–[F2] make I1,…,Im independent with P(Ii=1)=RP(h). Therefore the probability that h is consistent on the full sample is P(I1=⋯=Im=0)=(1−RP(h))m≤(1−ϵ)m≤e−mϵ by [F4].

2.1F3step 1.1

The bad-consistent event is the union over h∈H with RP(h)>ϵ of the event that h is consistent. By [F3] and step 1.1 its probability is at most ∣H∣e−mϵ.

3.1givenF3F5F6F7step 2.1A1

Since RP(h∗)=0, each observation disagrees with h∗ on a null event; the finite union of these null events has probability zero. Thus h∗ is sample-consistent almost surely, the empirical minimum is zero, and [F5]–[F6] make h^0 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.

4.1givenF8F9step 2.1step 3.1algebra∎

The assumed sample-size inequality gives mϵ≥log⁡∣H∣+log⁡(1/δ)=log⁡(∣H∣/δ) by [F8]. The argument ∣H∣e−mϵ is positive by [F9], and [F8] yields log⁡(∣H∣e−mϵ)=log⁡∣H∣−mϵ≤−log⁡(1/δ)=log⁡δ. Since log⁡ is increasing, ∣H∣e−mϵ≤δ. Steps 2.1–3.1 therefore bound the failure probability by δ, proving the claim.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Finite-class realizable and agnostic sample complexity

Statement

Let H be a finite nonempty class of measurable binary classifiers, put N=∣H∣, and let 0<ϵ,δ<1. For IID samples, the finite-list exact ERM is realizable (ϵ,δ)-PAC whenever the law is realizable by H and

m≥log⁡N+log⁡(1/δ)ϵ.

For arbitrary laws, a finite-list η-approximate ERM with fixed 0≤η<ϵ is agnostic (ϵ,δ)-PAC whenever

m≥2(log⁡N+log⁡(2/δ))(ϵ−η)2.

Here m is a positive integer and logarithms are natural. In particular, exact agnostic ERM (η=0) has the sufficient sample size m≥2(log⁡N+log⁡(2/δ))/ϵ2. 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, N=∣H∣, 0<ϵ,δ<1, and fixed 0≤η<ϵ for the approximate-ERM clause.

[A1]

No choice axiom is added; the two supplier bounds use finite classes and finite-list selectors.

[F1]

In the realizable case, a finite-class exact ERM has risk at most ϵ with probability at least 1−δ if m≥(log⁡∣H∣+log⁡(1/δ))/ϵ. Finite-class realizable PAC bound

[F2]

For arbitrary P, with probability at least 1−δ, a finite-list η-ERM has excess at most 2(log⁡∣H∣+log⁡(2/δ))/(2m)+η. Finite-class agnostic ERM bound

[F3]

For deterministic measurable A:Zm→H, realizable (ϵ,δ)-PAC means PS{RP(A(S))≤ϵ}≥1−δ for every law admitting a zero-risk member; agnostic PAC means PS{RP(A(S))−inf⁡h∈HRP(h)≤ϵ}≥1−δ for every law. Realizable and agnostic PAC learning

Proof

Given: The hypotheses in the Statement.

1.1givenF1F3

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].

1.2givenF4algebra

Put a=(log⁡N+log⁡(2/δ))/(2m). Since N≥1 and 0<δ<1, [F4] makes the numerator positive; also ϵ−η>0. The sample-size condition gives a2≤(ϵ−η)2/4, so a≤(ϵ−η)/2 by nonnegativity.

2.1F2F3step 1.2algebra∎

By [F2], with probability at least 1−δ the agnostic excess is at most 2a+η≤ϵ. This is the agnostic PAC criterion in [F3], and setting η=0 gives the exact-ERM formula.

4 · Examples, counterexamples and false statements

None yet.

Sources