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.

✓ 2 results · all verified · 2 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs; all 2 also cleared it.

VC dimension, growth functions, and classification sample complexity

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

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

Indexed shattering and VC dimension of a binary class

Definition

Let (X,Σ) be a nonempty measurable space and let H be a nonempty class of measurable functions h:X→{0,1}. For an integer m≥0 and an indexed tuple x=(x1,…,xm)∈Xm, define its trace by

tr⁡H(x):={(h(x1),…,h(xm)):h∈H}⊆{0,1}m.

The tuple x is shattered by H if tr⁡H(x)={0,1}m. Its coordinates are indexed: repeated instance points remain distinct coordinates, although their labels must agree for every h∈H. For m=0, x=() and {0,1}0={()}, so the empty tuple is shattered. The VC dimension of H is

VCdim⁡(H):=sup⁡{m∈N0:some x∈Xm is shattered by H}∈N0∪{+∞}.

Definition references

Shattering and the Vapnik–Chervonenkis dimension of a set family: its current definition treats a family F⊆P([n]); on an indexed sample, identify each h with the subset {i∈[m]:h(xi)=1}, keeping repeated sample points at separate indices.

Mohri et al., Definition 3.10: VC dimension of a hypothesis class.

Bartlett and Mendelson, Theorem 6: sample-restricted VC dimension.

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

Growth function of a binary hypothesis class

Definition

Let (X,Σ) be a nonempty measurable space and let H be a nonempty class of measurable binary functions on X. For each integer m≥0, the growth function of H is

ΠH(m):=sup⁡x∈Xm∣tr⁡H(x)∣.

The supremum is a maximum because each trace size is an integer between 1 and 2m and Xm is nonempty. In particular, ΠH(0)=1. A finite indexed tuple is shattered exactly when its trace has size 2m, so VCdim⁡(H)=sup⁡{m∈N0:ΠH(m)=2m}.

Definition references

Indexed shattering and VC dimension of a binary class: tr⁡H(x) is the set of binary label vectors on the indexed tuple x, and shattering means that this trace is all of {0,1}m.

Mohri et al., Definition 3.6 and equation (3.19): the growth function counts distinct dichotomies on a sample.

Bartlett and Mendelson, Theorem 6: restriction of a class to a fixed sample and its empirical VC dimension.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck pendingjudge pass (gpt-6-luna)Open item page →

VC entropy bound for empirical Rademacher complexity

Statement

Let (X,Σ) be a nonempty measurable space and let H be a nonempty class of measurable binary functions on X with finite VC dimension d. Put Z=X×{0,1} with its product sigma-algebra and GH={gh:h∈H}, where gh(x,y)=1{h(x)≠y}. For any integer m≥1 and any fixed sample S=(z1,…,zm)∈Zm, let σ1,…,σm be independent uniform signs and define

R^S(GH):=Eσsup⁡h∈H1m∑i=1mσigh(zi).

Set K0:=3e2/(e−1), K:=4K0, A:=12eK+2, and

CVC:=38A(log⁡A+2log⁡2).

Then, for every such finite sample,

R^S(GH)≤CVCd+1m.

No countability or Axiom of Choice premise is used; the supremum over classifiers reduces to the finite set of loss traces on S.

Statement references

Mohri et al., Theorems 3.3 and 3.7, Corollary 3.8, and the proof of Corollary 3.19: finite-sample Rademacher complexity and Massart's finite maximum bound.

Bartlett and Mendelson, Theorem 6: qualitative empirical VC-entropy control.

Facts & Assumptions

Given: The objects and hypotheses of the Statement.

[F1]

For an indexed tuple, shattering means that the trace contains every binary label vector, repeated sample points remain at separate indices, and d=VCdim⁡(H). The loss functions are measurable since {gh=1}=(h−1{0}×{1})∪(h−1{1}×{0}). Indexed shattering and VC dimension of a binary class, The product sigma-algebra and its finite iterates

[F2]

For a nonempty VC-subgraph class, its first-unshattered index is V=d+1. A function class G is VC-subgraph when its strict subgraphs form a set family of finite VC index. VC-subgraph classes, envelopes, and the first-unshattered index

[F3]

If a nonempty VC-subgraph class has index V, envelope F, and 0<ϵ<1, then for 1≤r<∞ the normalized Lr(Q) covering number is at most (A/ϵ)ArV, where K0=3e2/(e−1), K=4K0, and A=12eK+2; the theorem uses no Axiom of Choice. VC-subgraph covering entropy with its finite-r logarithmic bound

[F4]

If 0≤Y≤1 almost surely, then Eeλ(Y−EY)≤eλ2/8 for every real λ, without an Axiom of Choice premise. The Hoeffding MGF bound for a variable in a unit interval

[F6]

The natural logarithm is increasing and obeys the product law; it is the inverse of the real exponential on positive inputs. The natural logarithm as the inverse of the exponential function, Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm

[F7]

For all x,y∈R and 0≤t≤1, exp⁡((1−t)x+ty)≤(1−t)exp⁡(x)+texp⁡(y). The two-point convexity inequality for the exponential function

Proof

Given: A nonempty measurable binary class H with finite VC dimension d, a sample S=(z1,…,zm), and independent uniform signs.

1.1givenF1F2

The loss class GH is a measurable class of [0,1]-valued functions. Its strict subgraphs have the same VC dimension d as H: for a point (z,t) with t<0 membership is always true and with t≥1 it is always false, while for 0≤t<1 membership in the subgraph of gh is exactly gh(z)=1. For fixed z=(x,y), changing from h(x) to 1{h(x)≠y} only flips that coordinate when y=1, so a shattered set of active coordinates for the loss subgraphs gives a shattered indexed tuple for H. Conversely, a shattered d-tuple for H, placed at zi=(xi,0) and height ti=1/2, is shattered by the loss subgraphs. Thus the loss subgraph index is V=d+1.

2.1F3step 1.1givenchoose

The trace class GH∣S={(gh(z1),…,gh(zm)):h∈H} is finite, nonempty, and contained in {0,1}m. Let QS=m−1∑iδzi and use envelope F≡1, for which ∥F∥QS,2=1. By [F3], for every k≥1 there is a finite 2−k-net Tk of the restricted traces with ∣Tk∣≤(A⋅2k)2A(d+1). Choose one trace g0 and put T0={g0}. Since the trace class is finite, there is a finite depth N for which 2−N is smaller than every positive distance between two distinct traces, so the last approximant can be taken equal to each trace. All choices in this step are finite.

3.1F4F6F7step 2.1algebra

Write Xu=m−1∑iσiui for a trace vector u. For any pair of trace vectors u,v, put ai=ui−vi. Rescaling [F4] to the range [−∣ai∣/m,∣ai∣/m] gives Eeλσiai/m≤eλ2ai2/(2m2). Expanding the uniform finite sign expectation as a product therefore gives Eσeλ(Xu−Xv)≤exp⁡(λ2d2(u,v)2/(2m)), where d2(u,v)2=m−1∑iai2. If d2(u,v)≤Δ, the centered increment is therefore sub-Gaussian with variance proxy Δ2/m. For M such increments, eλmax⁡jYj≤∑jeλYj. On the finite uniform sign space, the two-point convexity inequality [F7] gives eλEσmax⁡jYj≤Eσeλmax⁡jYj: its equal-weight finite form follows by induction over its q=2m outcomes, applying [F7] to the mean of the first q−1 values and the last value with weights (q−1)/q and 1/q. Hence [F6] and the increment moment bound give λEmax⁡jYj≤log⁡M+λ2Δ2/(2m). Dividing by λ>0 and minimizing yields Δ2log⁡M/m, with the value 0 when M=1.

4.1F5F6step 2.1step 3.1algebra∎

For each k≥1, the pairs (πk(g),πk−1(g)) arising from the nets in step 2.1 have distance at most Δk=2−k+2−(k−1)=3⋅2−k. Their number is at most ∣Tk∣∣Tk−1∣, so [F6] and step 2.1 give log⁡(∣Tk∣∣Tk−1∣)≤4A(d+1)(log⁡A+klog⁡2). Since EσXg0=0, telescoping the finite chain from g0 to each trace and applying step 3.1 yields R^S(GH)≤38A(d+1)m∑k=1N2−klog⁡A+klog⁡2. Using a+b≤a+b, [F5], and k≤k for k≥1, the sum is at most log⁡A+2log⁡2 because ∑k=1Nk2−k=2−(N+2)2−N≤2 (verified by induction on N). The stated constant follows.

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

Sauer–Shelah growth bound for indexed samples

Statement

Let (X,Σ) be a nonempty measurable space and let H be a nonempty class of measurable functions h:X→{0,1} with finite VC dimension d. For every integer m≥0,

ΠH(m)≤∑j=0d(mj),

where (mj)=0 for j>m. Consequently, ΠH(m)=1 when d=0; and when 1≤d≤m,

ΠH(m)≤(emd)d,

where e:=exp⁡(1).

Statement references

Indexed shattering and VC dimension of a binary class: shattering uses indexed tuples and VCdim⁡(H) is the largest shattered length.

Growth function of a binary hypothesis class: ΠH(m) is the largest number of distinct binary traces on an indexed m-tuple.

Sauer–Shelah: a family on [n] of VC dimension at most d has at most ∑i=0d(ni) members: a family in P([m]) with VC dimension at most d has at most ∑j=0d(mj) members.

Mohri et al., Theorem 3.17 and Corollary 3.18: Sauer’s trace bound and its (em/d)d estimate.

Bartlett and Mendelson, Theorems 5–6: empirical VC dimension enters the classification complexity bound.

Facts & Assumptions

Given: A nonempty measurable binary class H, finite d=VCdim⁡(H), and an integer m≥0.

[F1]

A tuple is shattered when its trace is all binary vectors; repeated coordinates are retained as distinct indices. Indexed shattering and VC dimension of a binary class

[F2]

ΠH(m) is the supremum of the finite trace cardinalities on indexed m-tuples. Growth function of a binary hypothesis class

[F3]

If F⊆P([m]) has finite-set-family VC dimension at most d, then ∣F∣≤∑j=0d(mj). Sauer–Shelah: a family on [n] of VC dimension at most d has at most ∑i=0d(ni) members

[F4]

(mj) counts j-element subsets of [m] and is zero for j>m. The set [A]k of k-element subsets and the binomial coefficient (nk):=∣[n]k∣

[F5]

In R, (1+u)m=∑j=0mι(mj)uj for every real u and natural m. The binomial theorem in R: (x+y)n=∑k<n+1ι ⁣(nk) xky n−k

Proof

Given: The hypotheses in the Statement.

1.1F1F2givenconstruct

Fix an indexed tuple x=(x1,…,xm). Associate to it the family Fx:={{i∈[m]:h(xi)=1}:h∈H}⊆P([m]). The map from a trace vector to its set of 1-indices is a bijection, so ∣Fx∣=∣tr⁡H(x)∣. If Fx shatters T⊆[m], then every binary labeling of the subtuple (xi)i∈T occurs in H; hence T is a shattered indexed tuple for H and ∣T∣≤d. Thus the finite-family VC dimension of Fx is at most d.

2.1F2F3step 1.1

Apply [F3] to Fx to get ∣tr⁡H(x)∣≤∑j=0d(mj). This bound holds for every tuple, so taking the supremum over tuples gives the first inequality.

3.1F2F3step 2.1given

If d=0, the first inequality gives ΠH(m)≤1, while nonemptiness of H makes every trace nonempty; hence ΠH(m)=1.

4.1F4F5F6step 2.1algebra∎

Suppose 1≤d≤m and identify natural binomial counts with their real images under ι. For 0≤j≤d, (m/d)d−j≥1, so ∑j=0d(mj)≤∑j=0d(mj)(m/d)d−j≤∑j=0m(mj)(m/d)d−j=(m/d)d(1+d/m)m. The second inequality adds nonnegative terms. By [F5], the last factor satisfies (1+d/m)m≤(ed/m)m=ed, where the first inequality follows by multiplying 1+d/m≤ed/m by itself m times and the equality follows from [F6]. Therefore ΠH(m)≤(em/d)d by step 2.1.

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

Measurable PAC learning criteria for a possibly infinite VC class

Definition

Let (X,Σ) be a nonempty measurable space, let H be a nonempty class of measurable functions h:X→{0,1}, put Z=X×{0,1} with its product sigma-algebra, and let P be a probability law on Z. For a fixed sample size m≥1, a risk-measurable learning rule under P is a map A:Zm→H for which the real-valued maps S↦RP(A(S)) and S↦R^S(A(S)) are measurable; if the class infimum is used, also require S↦inf⁡h∈HR^S(h) to be measurable. The realizable condition is that some h∗∈H has RP(h∗)=0. The rule is consistent on a sample when R^S(A(S))=0, an exact ERM when it attains inf⁡h∈HR^S(h), and an η-approximate ERM for finite η≥0 when R^S(A(S))≤inf⁡h∈HR^S(h)+η.

In each PAC criterion below, require A to be risk-measurable under every law P quantified over in that criterion. For 0<ϵ,δ<1, A is realizable (ϵ,δ)-PAC on H if for every law P satisfying the realizable condition, PS∼Pm{RP(A(S))≤ϵ}≥1−δ. It is agnostic (ϵ,δ)-PAC if for every law P on Z, PS∼Pm{RP(A(S))−inf⁡h∈HRP(h)≤ϵ}≥1−δ. These are probability criteria only; no existence, attainment, measurability of a selector beyond the stated risk maps, or computational-efficiency claim is implicit. When H is finite and A is measurable into the discrete space H, these probability formulas are the criteria in the finite-class definition.

Definition references

Realizable and agnostic PAC learning: gives the same realizable and agnostic probability criteria when H is finite and the learner takes values in that finite class.

Population and empirical risk: population risk is the expected nonnegative loss and empirical risk is its sample average; here the loss is binary zero-one loss.

Mohri et al., Chapter 2: finite-class PAC criteria and risk notation.

Shalev-Shwartz and Ben-David, Chapters 2–4: PAC learning and VC-dimension framework.

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

One-sided VC uniform convergence and the finite-class branch

Statement

Let (X,Σ) be a nonempty measurable space, let H be a nonempty class of measurable binary functions on X with finite VC dimension d, put Z=X×{0,1} with its product sigma-algebra, and let P be a probability law on Z. For h∈H, define RP(h):=P{(x,y):h(x)≠y} and R^S(h):=m−1∑i=1m1{h(Xi)≠Yi} for an IID sample S=((Xi,Yi))i=1m of size m≥1 with law P. Assume every displayed supremum over H and its binary loss class that appears below is measurable. For 0<δ<1, the following separate branches hold.

  1. If H is finite, then without an Axiom of Choice premise, with probability at least 1−δ, sup⁡h∈H∣RP(h)−R^S(h)∣≤log⁡∣H∣+log⁡(2/δ)2m. In particular, if d=0, then H is a singleton and this gives sup⁡h∈H∣RP(h)−R^S(h)∣≤log⁡(2/δ)/(2m).

  2. If 1≤d≤m and the Axiom of Choice (AC) is assumed, then with probability at least 1−δ, simultaneously for every h∈H, RP(h)≤R^S(h)+2dlog⁡(em/d)m+log⁡(1/δ)2m.

Here log⁡ is the natural logarithm and e=exp⁡(1).

Statement references

Mohri et al., Theorem 3.3, Theorem 3.5, Theorem 3.7, Corollary 3.8, and Corollary 3.19: one-sided Rademacher generalization, the finite-sample maximum bound, and the stated VC display.

Bartlett and Mendelson, Theorem 5 and Appendix B: an independent classification-risk bound in their 2/m absolute-supremum normalization.

Facts & Assumptions

Given: A measurable binary class H with finite d=VCdim⁡(H), an IID sample of size m≥1 with law P, measurable deviation suprema, and 0<δ<1.

[F1]

Shattering is defined on indexed tuples; repeated points remain distinct coordinates and d is the supremum of shattered lengths. Indexed shattering and VC dimension of a binary class

[F2]

ΠH(m) is the supremum of trace cardinalities on indexed m-tuples. Growth function of a binary hypothesis class

[F3]

For every integer m≥0, ΠH(m)≤∑j=0d(mj), and for 1≤d≤m it is at most (em/d)d. Sauer–Shelah growth bound for indexed samples

[F4]

Population risk is the integral of the nonnegative loss and empirical risk is its sample average; for zero-one loss they are the error probability and the sample error fraction. Population and empirical risk

[F5]

For each fixed measurable classifier, its population and empirical risks are measurable functions of the sample. Population and empirical risks are measurable

[F6]

IID observations are independent and have the same law; their finite product law exists and has the rectangle formula; bounded measurable functions on a product probability space may be integrated in either order. Identical distribution and IID families, For sigma-finite factors, the product measure exists, has the rectangle formula, is sigma-finite, and is unique, Independent random elements have product joint law, Fubini's theorem for L^1 functions on a sigma-finite product

[A1]

Assume the Axiom of Choice for the VC branch. The supplied McDiarmid inequality assumes AC through its conditional-expectation proof. The Axiom of Choice

[F7]

Under AC, if a measurable integrable function on a finite product probability space changes by at most ci when coordinate i alone changes, then its upper tail is at most exp⁡(−2t2/∑ici2). McDiarmid bounded-differences inequality

[F8]

For a finite nonempty class G of measurable [0,1] functions, Pr⁡{sup⁡g∈G∣Pmg−Pg∣≥t}≤2∣G∣e−2mt2, and this finite-class proof is choice-free. Uniform deviation bound for a finite unit-range class

[F9]

If 0≤Y≤1 almost surely, then Eeλ(Y−EY)≤eλ2/8 for every real λ. The Hoeffding MGF bound for a variable in a unit interval

[F11]

Expectation is linear and monotone for integrable real random variables. Linearity, monotonicity, and the modulus bound for expectation

[F12]

For all x,y∈R and 0≤t≤1, exp⁡((1−t)x+ty)≤(1−t)exp⁡(x)+texp⁡(y). The two-point convexity inequality for the exponential function

Proof

Given: The objects and assumptions of the Statement.

1.1F4F5givenconstruct

Put gh(x,y):=1{h(x)≠y}. Its unit-level set is (h−1{0}×{1})∪(h−1{1}×{0}), so each gh is measurable and takes values in [0,1]. By [F4]–[F5], Pgh=RP(h) and Pmgh=R^S(h) are well-defined, measurable risk functions; the assumed supremum measurability applies to their deviations.

2.1F6F11givenstep 1.1

For an independent IID copy S′ of S, every coordinate of S′ has law P; the product-law and Fubini facts in [F6], together with finite expectation linearity [F11], give RP(h)=ES′Pm′gh for every h. Thus Φ(S):=sup⁡h∈H(RP(h)−Pmgh)≤ES′sup⁡h∈H(Pm′gh−Pmgh). The integrand is bounded and measurable, so product-law invariance and Fubini [F6] allow integration over S,S′. For each fixed sign vector σ, swapping Zi with Zi′ whenever σi=−1 preserves their joint product law; averaging over the finite sign space therefore leaves this expectation unchanged after inserting σi into each difference.

3.1F6F11step 2.1algebra

Subadditivity of the supremum and expectation linearity [F11] give EΦ(S)≤2ES,σR^S(GH), where R^S(GH)=Eσsup⁡hm−1∑iσigh(Zi). Writing h~=2h−1 and Y~i=2Yi−1 gives gh(Zi)=(1−h~(Xi)Y~i)/2; the sign-only term has mean zero and −σiY~i are again independent uniform signs, so R^S(GH)=12Eσsup⁡hm−1∑iσih~(Xi).

4.1F2F9F10F12step 2.1step 3.1algebra

For a fixed sample, the set VS={(h~(X1),…,h~(Xm)):h∈H} has ∣VS∣≤ΠH(m) and each vector has Euclidean norm m. For a fixed v∈{−1,+1}m, Yi=(1+σivi)/2 is in [0,1] with mean 1/2; applying [F9] at parameter 2λ gives Eeλσivi≤eλ2/2. Expanding the finite uniform sign sum factors over coordinates, so Eσeλ∑iσivi≤emλ2/2. For a finite V of size N, eλmax⁡v∑iσivi≤∑veλ∑iσivi. On the finite sign space, the two-point convexity inequality [F12] gives eλEσmax⁡v∑iσivi≤Eσeλmax⁡v∑iσivi; its equal-weight finite form follows by induction over its q=2m outcomes, applying [F12] to the mean of the first q−1 outcomes and the last outcome with weights (q−1)/q and 1/q. Taking logarithms using [F10] yields Eσmax⁡v∈Vm−1∑iσivi≤log⁡N/(mλ)+λ/2. Optimizing λ>0 gives 2log⁡N/m (and the bound is 0 if N=1). By steps 2.1–3.1, EΦ(S)≤2log⁡ΠH(m)/m.

5.1A1F3F7step 4.1algebra

By [F3], when 1≤d≤m the preceding expectation is at most 2dlog⁡(em/d)/m. Changing one sample coordinate changes Φ(S) by at most 1/m, because every gh is [0,1]-valued. Apply [F7] with ci=1/m and t=log⁡(1/δ)/(2m); since ∑ici2=1/m, with probability at least 1−δ we have Φ(S)≤EΦ(S)+t, which is the stated VC branch.

6.1F1F4F8F10givenalgebra∎

If d=0, no two distinct functions in H can differ at any point, since that point would be shattered; hence H contains one function. If H is finite, the loss class {gh:h∈H} is finite with size at most ∣H∣. Put t=(log⁡∣H∣+log⁡(2/δ))/(2m); then 2∣H∣e−2mt2=δ by [F10]. Applying [F8] at this t proves the choice-free branch, including the d=0 case.

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

VC entropy uniform deviation without a logarithmic sample-size factor

Statement

Let (X,Σ) be a nonempty measurable space, let H be a nonempty class of measurable binary classifiers with finite VC dimension d, and put Z:=X×{0,1} with sigma-algebra ΣZ:=Σ⊗P({0,1}). Let P be a probability law on Z, and let S=(Z1,…,Zm) consist of m≥1 IID observations with law P. For h∈H, put gh(x,y):=1{h(x)≠y}, GH:={gh:h∈H}, and G‾H:={1−g:g∈GH}. Define RP(h):=P{h(X)≠Y} and R^S(h):=m−1∑i=1mgh(Zi). For measurable g:Z→[0,1], write Pg:=∫g dP and Pmg(S):=m−1∑i=1mg(Zi). Let S′=(Z1′,…,Zm′) be an independent sample with law Pm, and write Pm′g:=Pmg(S′).

Assume the following maps are measurable:

  1. S↦sup⁡g∈GH(Pg−Pmg(S)) and S↦sup⁡gˉ∈G‾H(Pgˉ−Pmgˉ(S)) on (Zm,ΣZ⊗m);
  2. (S,S′)↦sup⁡g∈GH(Pm′g−Pmg(S)) and (S,S′)↦sup⁡gˉ∈G‾H(Pm′gˉ−Pmgˉ(S)) on (Zm×Zm,ΣZ⊗m⊗ΣZ⊗m);
  3. for every fixed σ∈{−1,+1}m, the maps (S,S′)↦sup⁡g∈GHm−1∑i=1mσi(g(Zi′)−g(Zi)) and (S,S′)↦sup⁡gˉ∈G‾Hm−1∑i=1mσi(gˉ(Zi′)−gˉ(Zi)) on (Zm×Zm,ΣZ⊗m⊗ΣZ⊗m);
  4. for every fixed σ∈{−1,+1}m, the maps S↦sup⁡g∈GHm−1∑i=1mσig(Zi) and S↦sup⁡gˉ∈G‾Hm−1∑i=1mσigˉ(Zi) on (Zm,ΣZ⊗m).

The first pair of maps gives the two one-sided deviation suprema and makes the absolute-deviation supremum in the conclusion measurable. Set K0:=3e2/(e−1), K:=4K0, A:=12eK+2, and CVC:=38A(log⁡A+2log⁡2), where e:=exp⁡(1) and log⁡ is the natural logarithm. If the Axiom of Choice (AC) is assumed, then for every 0<δ<1, with probability at least 1−δ,

sup⁡h∈H∣RP(h)−R^S(h)∣≤2CVCd+1m+log⁡(2/δ)2m.

This is a uniform absolute-deviation bound; it claims neither ERM existence nor a distribution-free lower bound.

Statement references

Mohri et al., Theorem 3.3 and proof: one-sided generalization through ghost-sample symmetrization and bounded differences.

Bartlett and Mendelson, Theorem 5 and Appendix B: an independent Rademacher generalization proof in a different normalization.

Facts & Assumptions

Given: A nonempty finite-VC binary class, an IID sample, measurable deviation suprema, and 0<δ<1.

[F1]

For every fixed sample, the zero-one loss class GH has one-sided empirical Rademacher complexity at most CVC(d+1)/m, with explicit CVC. VC entropy bound for empirical Rademacher complexity

[F2]

Population risk is the integral of the loss and empirical risk is its sample average; for zero-one loss these equal the error probability and empirical error fraction. Population and empirical risk

[F3]

The fixed-class risks are measurable functions of the sample. Population and empirical risks are measurable

[A1]

Assume the Axiom of Choice; the concentration supplier below requires it. The Axiom of Choice

[F5]

Under AC, a measurable integrable function with coordinate oscillations at most ci has upper tail Pr⁡{f−Ef≥t}≤exp⁡(−2t2/∑ici2). McDiarmid bounded-differences inequality

[F6]

Probability is subadditive on a finite union. Basic identities for a probability measure

[F8]

Expectation is linear and monotone for integrable real random variables. Linearity, monotonicity, and the modulus bound for expectation

Proof

Given: The hypotheses in the Statement.

1.1F2F3F4F8givenconstructalgebra

For h∈H, put gh(x,y)=1{h(x)≠y} and define Φ(S)=sup⁡h∈H(RP(h)−R^S(h)). On a product probability space take an independent IID copy S′. Each coordinate of S′ has law P, so product-law marginals and Fubini [F4], together with expectation linearity [F8], give RP(h)=ES′R^S′(h) for every h. Monotonicity of expectation then gives Φ(S)≤ES′sup⁡h(R^S′(h)−R^S(h)). The integrand is bounded and measurable by assumption, hence [F4] allows integration in either sample order. For each fixed sign vector, swapping Zi with Zi′ at exactly its negative coordinates preserves the joint product law, so the expected supremum is unchanged when each difference is multiplied by σi. Subadditivity of the supremum and expectation linearity [F8] bound it by the sum of the two expected one-sided empirical Rademacher suprema, which are equal because σ and −σ have the same law. Thus EΦ(S)≤2ES,σR^S(GH).

2.1A1F1F5F7step 1.1algebra

By [F1], EΦ(S)≤2CVC(d+1)/m. Replacing one observation in S changes each R^S(h) by at most 1/m, so the supremum Φ(S) changes by at most 1/m as well. Applying [F5] with ci=1/m and t=log⁡(2/δ)/(2m) gives Pr⁡{Φ(S)>EΦ(S)+t}≤δ/2.

3.1A1F1F4F6F7step 1.1step 2.1algebra∎

The complemented class Hˉ={1−h:h∈H} has the same trace counts and VC dimension as H, and its loss satisfies g1−h(x,y)=1−gh(x,y). Applying steps 1.1–2.1 to Hˉ with the same δ and t therefore gives, except on an event of probability at most δ/2, R^S(h)−RP(h)≤2CVC(d+1)/m+t for every h∈H. The finite union bound [F6] combines this lower-deviation event with step 2.1, giving the asserted absolute-deviation bound with probability at least 1−δ.

TheoremStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Realizable sample complexity for finite-VC classes

Statement

Let (X,Σ) be a nonempty measurable space, let H be a nonempty class of measurable binary functions with finite VC dimension d, put Z=X×{0,1}, and let P be a probability law on Z. Fix an integer m≥1 and a map A:Zm→H for which S↦RP(A(S)) and S↦R^S(A(S)) are measurable, where RP(h):=P{(x,y):h(x)≠y},R^S(h):=1m∑i=1m1{h(Xi)≠Yi}. Suppose P is realizable by H and A is consistent Pm-almost surely. For 0<ϵ<1, assume the events Em,ϵ:={S∈Zm:∃h∈H, RP(h)>ϵ, R^S(h)=0} and Bm,ϵ:={(S,S′)∈Zm×Zm:∃h∈H, RP(h)>ϵ, R^S(h)=0, R^S′(h)≥ϵ/2} are measurable in their respective product sigma-algebras; this holds when H is countable. For 0<ϵ,δ<1 and S∼Pm, if d=0 then RP(A(S))=0 almost surely for every such rule. If d≥1 and m≥64ϵ[dlog⁡ ⁣(64eϵ)+log⁡ ⁣(4δ)], where log⁡ is natural and e=exp⁡(1), then P{RP(A(S))≤ϵ}≥1−δ. This is a conditional upper bound for consistent risk-measurable learners; it asserts no existence or computational-efficiency result.

Statement references

Measurable PAC learning criteria for a possibly infinite VC class: defines a realizable distribution and the realizable PAC event for possibly infinite classes, with the required risk measurability.

Mohri et al., Chapter 3, Exercise 3.30: identifies the realizable VC upper-rate problem; the argument here supplies the complete finite-trace proof and explicit sample-size constants.

Bartlett and Mendelson, Theorem 5 and Appendix B: independent classification-risk generalization context; that theorem is not used as a realizable sample-size proof.

Facts & Assumptions

Given: A measurable binary class H with finite VC dimension d, a law P realized by some h∗∈H, a consistent risk-measurable rule A, m≥1, and 0<ϵ,δ<1.

[F1]

Realizable PAC learning means that every law with a zero-risk member satisfies the stated high-probability risk event; consistency means R^S(A(S))=0. The definition makes no learner-existence claim. Measurable PAC learning criteria for a possibly infinite VC class

[F2]

A finite indexed tuple is shattered when all binary label vectors occur, and d=VCdim⁡(H). Indexed shattering and VC dimension of a binary class

[F3]

ΠH(n) counts the largest number of traces on indexed n-tuples. Growth function of a binary hypothesis class

[F4]

If 1≤d≤n, then ΠH(n)≤(en/d)d. Sauer–Shelah growth bound for indexed samples

[F5]

Population risk is the zero-one error probability and empirical risk is the average error indicator; for each fixed h these are well-defined measurable quantities. Population and empirical risk, Population and empirical risks are measurable

[F6]

IID coordinates have the finite product joint law; finite product probability measures exist, and Tonelli permits integration of the nonnegative event indicators over the two samples. Identical distribution and IID families, For sigma-finite factors, the product measure exists, has the rectangle formula, is sigma-finite, and is unique, Independent random elements have product joint law, Tonelli's theorem for nonnegative measurable functions on a sigma-finite product

[F7]

Measurable functions of independent observations remain independent, and expectations of products of independent nonnegative variables factor. Measurable coordinatewise functions preserve independence, Expectations factor over finite products of independent random variables

[F8]

The expectation of a finite sum of integrable indicators is the sum of their expectations. Linearity, monotonicity, and the modulus bound for expectation

[F9]

For a nonnegative random variable W and a>0, P(W≥a)≤E[W]/a. Markov's inequality for random variables

[F10]

A finite union of events has probability at most the sum of their probabilities. Basic identities for a probability measure

[F12]

The nonnegative integral is monotone; on [1,2], 1/t≥1/2, and on [1,5/4], [5/4,3/2], and [3/2,2] it is respectively at most 1, 4/5, and 2/3. Consequently 1/2≤log⁡2≤47/60<4/5. Monotonicity and nonnegative homogeneity of the nonnegative integral

[A1]

No Axiom of Choice is used: the sample partitions, trace patterns, and event unions in the proof are finite, and existential witnesses are used pointwise rather than selected as a sample-dependent function.

Proof

Given: The hypotheses in the Statement.

1.1F1F2givenA1

If d=0, any two members of H agree at every x∈X, since otherwise the one-point tuple (x) would be shattered. Thus H has one function. Realizability makes that function have zero risk, and every H-valued rule outputs it, proving the d=0 clause.

1.2F5F6F7F8F9F11F12F13givenA1

Suppose d≥1 and put L=log⁡(64e/ϵ)>1 and D=log⁡(4/δ)>0; the sample-size premise gives mϵ≥64(dL+D)>8. Let ES:={∃h∈H:RP(h)>ϵ, R^S(h)=0} and let BS,S′ be the event that some such h also has R^S′(h)≥ϵ/2, where S′ is an independent IID sample. For each fixed S∈ES, fix one witness h for this S only, with no sample-dependent selection function, and let Kh=∑i=1m1{h(Xi′)≠Yi′}. By [F5]–[F8], Kh is a sum of independent Bernoulli indicators with mean mp, where p=RP(h)>ϵ. Factorization [F7] gives E[2−Kh]=(1−p/2)m≤e−mp/2 by [F13]. On Kh<mp/2, 2−Kh>2−mp/2, so [F9] gives P(Kh<mp/2)≤exp⁡[−mp(1−log⁡2)/2]. From [F11]–[F12], 1/2≤log⁡2<4/5, so this probability is at most e−mp/10≤e−mϵ/10≤e−4/5≤e−log⁡2=1/2. Since mp/2>mϵ/2, this proves PS′(BS,S′∣S)≥1/2 for each S∈ES. Integrating the measurable sections by [F6] yields P(ES)≤2P(BS,S′).

2.1F2F3F6F10step 1.2A1

View 2m IID observations as a combined sample T. By [F6], permuting its coordinates preserves its product law, so the joint law of the first and second halves equals the average over all uniform choices of an m-index training subset I⊆[2m] and its complement. For fixed T, each h determines an error-index set Jh={i:h(Xi)≠Yi}, and the number of distinct such sets is at most ΠH(2m) because the labels Yi only flip coordinates of the trace. If ∣Jh∣=k>m, no training subset can be disjoint from all errors. If k≤m, the fraction of training subsets disjoint from Jh is ∏j=0k−1(m−j)/(2m−j)≤2−k: after j specified errors have been assigned to the ghost half, the next specified index lies there with probability (m−j)/(2m−j)≤1/2. Therefore only error patterns with k≥mϵ/2 can witness B, and the finite union bound [F10] gives P(BS,S′)≤ΠH(2m)2−mϵ/2.

3.1F1F4step 1.2step 2.1givenalgebra

Combining steps 1.2 and 2.1, P(ES)≤2ΠH(2m)2−mϵ/2. The sample-size hypothesis implies m≥d, so [F4] at n=2m gives P(ES)≤2(2em/d)d2−mϵ/2. Put NA:={S:R^S(A(S))>0}. This event is measurable because S↦R^S(A(S)) is measurable, and it is Pm-null by the almost-sure consistency assumption. For S∉NA with RP(A(S))>ϵ, A(S) witnesses ES, so the failure event {S:RP(A(S))>ϵ} is contained in ES∪NA.

4.1F11F12F13step 3.1givenalgebra

Put L=log⁡(64e/ϵ), D=log⁡(4/δ), and M=64(dL+D)/ϵ. Then L>1, D>0, and the hypothesis gives m≥M. For real t≥M, define q(t)=log⁡2+dlog⁡(2et/d)−(log⁡2)ϵt/2. Its derivative is d/t−(log⁡2)ϵ/2≤ϵ/(64L)−ϵ/4<0, using log⁡2≥1/2 from [F11]–[F12]; hence q(m)≤q(M). The identity log⁡(2eM/d)=L+log⁡2+log⁡(L+D/d), together with log⁡(L+D/d)≤log⁡L+D/(dL) (from [F11], [F13]), log⁡L≤L, log⁡2≤L, and log⁡2≥1/2, gives q(M)≤L−13dL+D/L−16D. Consequently q(M)−log⁡δ≤L−13dL+D/L−15D−log⁡4<0, because d≥1, L>1, and D>0. Exponentiating shows 2(2em/d)d2−mϵ/2≤δ.

5.1step 3.1step 4.1givenA1∎

By step 3.1 the failure event is contained in ES∪NA, with P(NA)=0, and step 4.1 bounds P(ES) by δ. Hence PS∼Pm{RP(A(S))≤ϵ}≥1−δ. The argument used no arbitrary-index choice axiom.

TheoremStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Agnostic sample complexity for finite-VC ERM

Statement

Let (X,Σ) be a nonempty measurable space, let H be a nonempty class of measurable binary classifiers with finite VC dimension d, and put Z:=X×{0,1} with sigma-algebra ΣZ:=Σ⊗P({0,1}). Let P be any law on Z and let S=(Z1,…,Zm)∼Pm be an IID sample with m≥1. For h∈H, put gh(x,y):=1{h(x)≠y}, GH:={gh:h∈H}, and G‾H:={1−g:g∈GH}. Define RP(h):=P{h(X)≠Y} and R^S(h):=m−1∑i=1mgh(Zi). Let A be a risk-measurable η-approximate ERM for finite η≥0, in the sense that R^S(A(S))≤inf⁡h∈HR^S(h)+η.

For measurable g:Z→[0,1], write Pg:=∫g dP and Pmg(S):=m−1∑i=1mg(Zi). Let S′=(Z1′,…,Zm′) be an independent sample with law Pm, and write Pm′g:=Pmg(S′). Assume the following maps are measurable:

  1. S↦sup⁡g∈GH(Pg−Pmg(S)) and S↦sup⁡gˉ∈G‾H(Pgˉ−Pmgˉ(S)) on (Zm,ΣZ⊗m);
  2. (S,S′)↦sup⁡g∈GH(Pm′g−Pmg(S)) and (S,S′)↦sup⁡gˉ∈G‾H(Pm′gˉ−Pmgˉ(S)) on (Zm×Zm,ΣZ⊗m⊗ΣZ⊗m);
  3. for every fixed σ∈{−1,+1}m, the maps (S,S′)↦sup⁡g∈GHm−1∑i=1mσi(g(Zi′)−g(Zi)) and (S,S′)↦sup⁡gˉ∈G‾Hm−1∑i=1mσi(gˉ(Zi′)−gˉ(Zi)) on (Zm×Zm,ΣZ⊗m⊗ΣZ⊗m);
  4. for every fixed σ∈{−1,+1}m, the maps S↦sup⁡g∈GHm−1∑i=1mσig(Zi) and S↦sup⁡gˉ∈G‾Hm−1∑i=1mσigˉ(Zi) on (Zm,ΣZ⊗m).

The first pair of maps gives the two one-sided deviation suprema and makes the absolute-deviation supremum measurable. Put K0:=3e2/(e−1), K:=4K0, A0:=12eK+2, and CVC:=38A0(log⁡A0+2log⁡2), where e:=exp⁡(1) and log⁡ is natural. If these measurability conditions hold and the Axiom of Choice is assumed, then for every 0<δ<1, with probability at least 1−δ,

RP(A(S))−inf⁡h∈HRP(h)≤4CVCd+1m+2log⁡(2/δ)2m+η.

Consequently, assume additionally that the same rule A is risk-measurable under every law P on Z and that conditions 1–4 hold for every such law. For 0<ϵ<1 and 0≤η≤ϵ/2, if

m≥256CVC2(d+1)+32log⁡(4/δ)ϵ2,

then A is agnostic (ϵ,δ)-PAC on H. If d=0, then H contains one function and every H-valued rule has excess risk zero without a sample-size condition. These are conditional guarantees for risk-measurable selectors; no exact or approximate ERM existence is asserted.

Statement references

Measurable PAC learning criteria for a possibly infinite VC class: defines an η-approximate ERM and the agnostic PAC criterion for a possibly infinite class.

VC entropy uniform deviation without a logarithmic sample-size factor: supplies the two-sided finite-VC deviation bound used in the comparison.

Mohri et al., Theorems 3.3, 3.5, 3.7, and Corollary 3.19: Rademacher generalization and the exact logarithmic VC display.

Bartlett and Mendelson, Theorem 5 and Appendix B: independent classification-risk comparison in their Rademacher normalization.

Facts & Assumptions

Given: A finite-VC binary class, an IID sample with law P, a risk-measurable η-approximate ERM A, m≥1, and 0<δ<1.

[F1]

The agnostic PAC event is {RP(A(S))−inf⁡h∈HRP(h)≤ϵ}, and an η-approximate ERM obeys R^S(A(S))≤inf⁡h∈HR^S(h)+η. Measurable PAC learning criteria for a possibly infinite VC class

[A1]

Assume the Axiom of Choice for the concentration result imported through [F2]; the finite entropy estimate itself is choice-free. The Axiom of Choice

[F2]

Under the Axiom of Choice and all measurability conditions stated in the entropy uniform-convergence theorem, the two-sided deviation is at most 2CVC(d+1)/m+log⁡(2/δ)/(2m) with probability at least 1−δ. VC entropy uniform deviation without a logarithmic sample-size factor

[F3]

Population and empirical risk are the population error probability and empirical error fraction; all risks lie in [0,1]. Population and empirical risk

[F4]

The natural logarithm is the inverse of the exponential, is strictly increasing, and has log⁡1=0; the exponential is strictly increasing and has exp⁡(0)=1. Thus e=exp⁡(1)>1, K0>0, K>0, A0>1, and CVC>0; also 0<δ<1 gives log⁡(4/δ)>0. 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 real exponential function and the number e by a power series, The exponential function is strictly increasing

Proof

Given: The hypotheses in the Statement.

1.1F1F3givenalgebra

If d=0, then any two classifiers in H agree at every point, so H contains a single function. Its population risk is the infimum risk, hence every H-valued rule has excess risk zero.

1.2A1F1F2F3algebra

Suppose d≥1 and write am:=2CVC(d+1)/m+log⁡(2/δ)/(2m). On the event in [F2], [F1] gives RP(A(S))≤R^S(A(S))+am≤inf⁡h∈HR^S(h)+η+am. For every h∈H, the same event gives R^S(h)≤RP(h)+am, so inf⁡h∈HR^S(h)≤RP(h)+am for every h and therefore inf⁡h∈HR^S(h)≤inf⁡h∈HRP(h)+am. Combining proves excess risk at most 2am+η.

2.1F1F2F4step 1.2givenalgebra∎

The event in [F2] has probability at least 1−δ, so step 1.2 proves the first inequality. Under the sample-size premise, 2CVC(d+1)/m≤ϵ/8 and log⁡(2/δ)/(2m)≤ϵ/8: the first follows from m≥256CVC2(d+1)/ϵ2, and the second from m≥32log⁡(4/δ)/ϵ2. Hence am≤ϵ/4, and 2am+η≤ϵ when η≤ϵ/2. Under the additional hypotheses for the PAC conclusion, this argument applies to every law P with the same A,m,ϵ,δ and η, so [F1] gives the agnostic PAC criterion.

4 · Examples, counterexamples and false statements

None yet.

Sources