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.

Sample compression and PAC-Bayes bounds

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

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

PAC-Bayes priors, posteriors, and relative entropy

Definition

Let (Θ,A) be a measurable space. A prior is a probability measure π on (Θ,A) fixed independently of the training sample. A posterior relative to π is a probability measure ρ on (Θ,A) that is absolutely continuous with respect to π, meaning that π(A)=0 implies ρ(A)=0 for every A∈A.

For such ρ and π, define their Kullback–Leibler relative entropy by KL(ρ∥π):=sup⁡P∑A∈Pρ(A)log⁡ρ(A)π(A), where the supremum is over all finite measurable partitions P of Θ. A term with ρ(A)=0 is 0; a term with ρ(A)>0=π(A) is +∞. The value may be +∞.

Definition references

Measurable spaces and measurable sets: a measurable space is a set equipped with a specified sigma-algebra.

Probability measures and probability spaces: a probability measure is a measure of total mass one.

The natural logarithm as the inverse of the exponential function: log⁡ is the inverse of the real exponential on the positive reals.

Alquier, User-friendly Introduction to PAC-Bayes Bounds, Chapter 2: uses a sample-independent prior and relative entropy between posterior and prior.

LemmaStatement: AI-adaptedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

A binomial-sum bound for compression sample sizes

Statement

For natural numbers m,d with 1≤d≤m, ∑i=0d(mi)≤(e md)d, where (mi) is the number of i-element subsets of an m-element set, natural numbers and binomial counts in real expressions denote their canonical real images, and e=exp⁡(1).

Statement references

Finite sums and finite products, by recursion: defines the real finite sums in the displayed inequality.

Laws of finite sums and finite products: real finite sums preserve inequalities between corresponding terms.

The set [A]k of k-element subsets and the binomial coefficient (nk):=∣[n]k∣: (mi) counts the i-element subsets of an m-element set.

The canonical natural ι(n)=n⋅1F of a field: n is the canonical real associated with the natural number n.

Canonical naturals are positive and strictly increasing: n>0 whenever n≥1.

Integer powers am: the exponent d denotes a natural power in the real field.

The real exponential function and the number e by a power series: e=exp⁡(1).

Floyd and Warmuth, Sample Compression, Learnability, and the Vapnik–Chervonenkis Dimension, §5 and Appendix: their compression sample-size derivation uses the same binomial sum; this item proves the estimate below directly.

Facts & Assumptions

Given: Natural numbers m,d satisfying 1≤d≤m.

[F1]

The binomial theorem gives ∑i=0m(mi)xi=(1+x)m for real x. The binomial theorem in R: (x+y)n=∑k<n+1ι ⁣(nk) xky n−k

[F2]

If 0<x≤1 and i≤d, then xd≤xi, by monotonicity of natural powers in the exponent on (0,1]. Monotonicity of x↦xn and of n↦an

[F4]

Natural powers use the recursive field-power convention; they preserve order on nonnegative bases, and repeated use of the exponential addition law gives (exp⁡(x))m=exp⁡(mx) and (exp⁡(1))d=exp⁡(d), where e=exp⁡(1). Integer powers am, Monotonicity of x↦xn and of n↦an, The real exponential function and the number e by a power series, The exponential addition formula exp⁡(x+y)=exp⁡(x)exp⁡(y)

[F5]

The displayed expressions are real finite sums, and if each term of one such sum is at most the corresponding term of another, then the first sum is at most the second. Finite sums and finite products, by recursion, Laws of finite sums and finite products

[F6]

The indices m,d,i are natural numbers, each (mi) is a natural count, so its canonical real is nonnegative; m and d are positive because m,d≥1. The natural numbers N (von Neumann), The set [A]k of k-element subsets and the binomial coefficient (nk):=∣[n]k∣, The canonical natural ι(n)=n⋅1F of a field, Canonical naturals are positive and strictly increasing

Proof

Given: Natural numbers m,d satisfying 1≤d≤m.

1.1givenF1F2F5F6algebra

Put x=d/m, so 0<x≤1 by [F6] and d≤m. For every 0≤i≤d, [F2] gives xd≤xi; multiplying by the nonnegative (mi), using [F5] to sum, and extending the sum by nonnegative terms from [F6], then applying [F1], yields xd∑i=0d(mi)≤∑i=0d(mi)xi≤∑i=0m(mi)xi=(1+x)m.

2.1givenF3F4F6step 1.1algebra∎

By [F3], 1+x≤exp⁡(x); both sides are nonnegative, so [F4] gives (1+x)m≤(exp⁡(x))m=exp⁡(mx)=exp⁡(d)=ed. Since xd=(d/m)d>0 by [F6], divide step 1.1 by this quantity to obtain the stated bound.

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

The PAC-Bayes change-of-measure inequality

Statement

Let (Θ,A) be a measurable space, let π be a probability measure, and let ρ be a probability measure absolutely continuous with respect to π, meaning that π(A)=0 implies ρ(A)=0 for all A∈A. Define KL(ρ∥π):=sup⁡P∑A∈Pρ(A)log⁡ρ(A)π(A), where P ranges over finite measurable partitions of Θ, a zero-numerator term is 0, and a positive numerator over a zero denominator is +∞. For every bounded measurable f:Θ→R, Eθ∼ρf(θ)≤KL(ρ∥π)+log⁡Eθ∼πexp⁡(f(θ)), with the inequality interpreted as vacuous when KL(ρ∥π)=+∞.

Statement references

PAC-Bayes priors, posteriors, and relative entropy: a posterior is absolutely continuous with respect to the prior, and KL is the supremum over finite measurable partitions.

The natural logarithm as the inverse of the exponential function: log⁡ is the inverse of the real exponential on the positive reals.

Finite log-sum inequality with support and equality cases: for finite nonnegative vectors, the sum of coordinatewise relative-entropy terms is at least the corresponding aggregate term.

Alquier, User-friendly Introduction to PAC-Bayes Bounds, Chapter 2, Lemma 2.2: states the Donsker–Varadhan variational formula for bounded measurable functions.

Facts & Assumptions

Given: A measurable space (Θ,A), probability measures π,ρ with ρ≪π, and a bounded measurable f:Θ→R.

[F1]

KL(ρ∥π) is the supremum over finite measurable partitions P of ∑A∈Pρ(A)log⁡(ρ(A)/π(A)), with zero-numerator terms set to 0. PAC-Bayes priors, posteriors, and relative entropy

[F2]

If ai,bi≥0, A=∑iai, and B=∑ibi, then ∑ai>0ailog⁡(ai/bi)≥Alog⁡(A/B), with the stated support conventions. Finite log-sum inequality with support and equality cases

[F3]

The real exponential and natural logarithm are defined on the stated domains; the exponential is positive and increasing and satisfies exp⁡(u+v)=exp⁡(u)exp⁡(v), while the natural logarithm is increasing and satisfies log⁡(xy)=log⁡x+log⁡y for positive x,y. The real exponential function and the number e by a power series, The natural logarithm as the inverse of the exponential function, The exponential is positive and satisfies exp⁡(−x)=1/exp⁡(x), The exponential function is strictly increasing, The exponential addition formula exp⁡(x+y)=exp⁡(x)exp⁡(y), Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm

[F4]

On a probability space, expectation is the Lebesgue integral; a real measurable function is integrable when its absolute value has finite integral. The nonnegative integral is monotone and positively homogeneous, and for a nonnegative simple function s=∑jcj1Aj its integral is ∑jcjP(Aj). A constant c≥0 therefore has integral c when P(Θ)=1. Probability measures and probability spaces, Expectation of a nonnegative or integrable random variable, Integrable real and complex functions, and their integrals, The nonnegative Lebesgue integral, Nonnegative simple measurable functions, The integral of a nonnegative simple function, Monotonicity and nonnegative homogeneity of the nonnegative integral

[F5]

For integrable real functions, expectation is linear and ∣Eg∣≤E∣g∣. Linearity, monotonicity, and the modulus bound for expectation

[F6]

Measurable functions are defined by measurable preimages; composition with a Borel measurable map preserves measurability, and a continuous real map has Borel preimages of Borel sets. A measurable function between measurable spaces, A continuous map has Borel preimages of Borel sets, Composition with a Borel measurable outer map preserves measurability

Proof

Given: The hypotheses in the Statement.

1.1F3F4F6given

If g is bounded and measurable with ∣g∣≤C on either probability space, then E∣g∣≤∫C dP=C, so g is integrable. If g is finite-valued, writing its positive and negative parts on its finite level-set partition and applying the simple-integral formula in [F4] gives EPg=∑jgjP(Aj). Since f is measurable and exp⁡ is continuous by [F3], [F6] makes exp⁡∘f measurable; boundedness of f gives 0<exp⁡(−C)≤Eπexp⁡(f)≤exp⁡(C)<∞ for some C≥0. We may assume KL(ρ∥π)<∞, since otherwise the claim is immediate.

2.1F2F3step 1.1given

First let f be finite-valued, with values f1,…,fN on the finite measurable partition A1,…,AN. Put pj=π(Aj) and rj=ρ(Aj). Absolute continuity gives pj=0⇒rj=0. For aj=rj and bj=pjexp⁡(fj), the sums are 1 and Eπexp⁡(f) by step 1.1. Applying [F2] yields ∑rj>0rjlog⁡rjpjexp⁡(fj)≥−log⁡Eπexp⁡(f).

2.2F3F4F5F6step 1.1construct

For each integer n≥1, partition the bounded range of f into finitely many half-open intervals of width at most 1/n, including the final endpoint, and let fn equal each interval's left endpoint on its preimage. These preimages are measurable by [F6], and ∥fn−f∥∞≤1/n. By [F5] and step 1.1, ∣Eρfn−Eρf∣≤1/n. Monotonicity and homogeneity in [F4], together with [F3], give e−1/nEπef≤Eπefn≤e1/nEπef. The logarithms are defined by step 1.1 and [F3], and differ by at most 1/n.

3.1F1F2step 1.1step 2.1algebra

Expanding the logarithm and using step 1.1, the left side of step 2.1 equals ∑jrjlog⁡(rj/pj)−Eρf. The first term is the divergence of this partition, hence at most KL(ρ∥π) by [F1]. Rearrangement gives the claim for finite-valued f.

4.1step 3.1step 2.2algebra∎

Apply step 3.1 to each fn and let n→∞; the two expectation terms converge by the bounds in step 2.2, proving the stated inequality for bounded measurable f.

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

Deterministic sample-compression schemes

Definition

Let (X,Σ) be a measurable instance space, let {0,1} have its full discrete sigma-algebra, and give Z:=X×{0,1} the product sigma-algebra. For each k∈N, give Zk its finite product sigma-algebra, with Z0={()}. Let H be a nonempty class of measurable functions c:X→{0,1}. For m,d∈N, write [m]:={j∈N:1≤j≤m}, so [0]=∅, and give Im,d:={I⊆[m]:∣I∣≤d} its discrete sigma-algebra. For d∈N, a deterministic sample-compression scheme of size at most d consists of a measurable compression map κm:Zm→Im,d for every m∈N, and fixed reconstruction maps Gk:Zk×X→{0,1} for 1≤k≤d and G0:X→{0,1}, all measurable for the stated product and discrete sigma-algebras. If S=(z1,…,zm) and I=κm(S)={i1<⋯<ik}, write SI=(zi1,…,zik) and define g(SI)(x):=Gk(SI,x); for I=∅, use G0. The scheme is consistent if, for every c∈H, every m∈N, and every S=((x1,c(x1)),…,(xm,c(xm))), this reconstruction satisfies g(SI)(xj)=c(xj) for every j∈[m]. The reconstruction map uses only the ordered selected labeled entries and no other side information; the reconstructed classifier need not belong to H.

Definition references

Supervised prediction problems: fixes measurable instance, label, and prediction spaces and uses measurable predictors.

Measurable spaces and measurable sets: a measurable space is a set equipped with a specified sigma-algebra.

The product sigma-algebra and its finite iterates: the product sigma-algebra is generated by measurable rectangles.

A measurable function between measurable spaces: a map is measurable when preimages of measurable sets are measurable.

The cardinality ∣A∣ of a finite set: ∣I∣ denotes the finite cardinality of the selected index set.

The natural numbers N (von Neumann): sample lengths and compression sizes are natural numbers, including 0.

Floyd and Warmuth, Sample Compression, Learnability, and the Vapnik–Chervonenkis Dimension, §3: defines compression and reconstruction maps, permits reconstructed hypotheses outside the concept class, and requires consistency on the original sample.

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

The PAC-Bayes KL generalization bound

Statement

Let (Θ,A) and (Z,B) be measurable spaces. Let π and D be probability measures on them, respectively. Let C≥0 and let ℓ:Θ×Z→[0,C] be measurable with respect to A⊗B. Let m≥1 and let S=(Z1,…,Zm) consist of independent observations with common law D, equivalently having product law Dm. Define R(θ):=∫Zℓ(θ,z)D(dz),R^S(θ):=1m∑i=1mℓ(θ,Zi). Fix the prior π independently of S, and fix λ>0 and δ∈(0,1). For a probability measure ρ with ρ≪π (that is, π(A)=0 implies ρ(A)=0 for all measurable A), define KL(ρ∥π):=sup⁡P∑A∈Pρ(A)log⁡ρ(A)π(A), where P ranges over finite measurable partitions of Θ, terms with zero numerator are 0, and a positive numerator over zero denominator is +∞. With probability at least 1−δ over S, simultaneously for every such posterior ρ, Eθ∼ρR(θ)≤Eθ∼ρR^S(θ)+λC28m+KL(ρ∥π)+log⁡(1/δ)λ. An infinite relative entropy makes the bound vacuous. The conclusion bounds posterior-average risk, not the risk of every posterior draw.

Statement references

PAC-Bayes priors, posteriors, and relative entropy: defines a sample-independent prior, an absolutely continuous posterior, and relative entropy.

Population and empirical risk: population risk is the expected loss and empirical risk is the sample-average loss.

Identical distribution and IID families: IID observations are independent and have a common law.

The natural logarithm as the inverse of the exponential function: log⁡ is the inverse of the real exponential on positive reals.

The real exponential function and the number e by a power series: the real exponential is defined on all real inputs and e=exp⁡(1).

The Hoeffding MGF bound for a variable in a unit interval: a unit-range random variable has centered exponential moment at most exp⁡(t2/8) for every real t.

Alquier, User-friendly Introduction to PAC-Bayes Bounds, Chapter 2, Theorem 2.1 and proof: proves the bounded-loss PAC-Bayes KL bound by integrating the fixed-parameter Hoeffding MGF, applying the Donsker–Varadhan formula, and using Markov's inequality.

Facts & Assumptions

Given: The probability spaces, loss, product-law sample, m,C,λ,δ, and fixed prior in the Statement.

[A1]

The prior π is fixed independently of the sample; the loss satisfies 0≤ℓ(θ,z)≤C and is product-measurable; m≥1, λ>0, and 0<δ<1.

[F1]

In a supervised prediction problem, population risk is the expectation of the supervised loss and empirical risk is its sample average; for a fixed measurable predictor these are defined, and the empirical-risk function of the sample is measurable. Population and empirical risk, Population and empirical risks are measurable

[F2]

IID means independent random elements with a common law. Identical distribution and IID families

[F3]

Measurable functions of independent random elements remain independent. Measurable coordinatewise functions preserve independence

[F4]

If Zi has law D, then Eℓ(θ,Zi)=∫ℓ(θ,z)D(dz)=R(θ). Change of variables for expectation

[F5]

For an integrable real random variable, expectation is homogeneous: E(aX)=aEX. Linearity, monotonicity, and the modulus bound for expectation

[F6]

If 0≤Y≤1, then Eexp⁡(t(Y−EY))≤exp⁡(t2/8) for every real t. The proof of this supplier is choice-free. The Hoeffding MGF bound for a variable in a unit interval

[F7]

Expectations of finite products of nonnegative functions of independent real random variables factor as products of expectations, and the exponential of a finite sum is the product of the exponentials. Expectations factor over finite products of independent random variables, The exponential addition formula exp⁡(x+y)=exp⁡(x)exp⁡(y)

[F8]

π and D are probability measures; finite product sigma-algebras and finite products of probability measures are defined, the product measure has the rectangle formula, and Tonelli makes section integrals measurable and permits exchange of nonnegative product integrals. Probability measures and probability spaces, The product sigma-algebra and its finite iterates, For sigma-finite factors, the product measure exists, has the rectangle formula, is sigma-finite, and is unique, Tonelli's theorem for nonnegative measurable functions on a sigma-finite product

[F9]

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

[F10]

For bounded measurable f and posterior ρ≪π, Eρf≤KL(ρ∥π)+log⁡Eπef. The PAC-Bayes change-of-measure inequality

[F11]

Finite sums, differences, and Borel compositions of measurable real-valued functions are measurable. Arithmetic and lattice operations preserve measurability whenever they are defined, Composition with a Borel measurable outer map preserves measurability

[F12]

The natural logarithm is defined as the inverse of the exponential, is increasing, has log⁡1=0, and satisfies log⁡(xy)=log⁡x+log⁡y for positive x,y. The natural logarithm as the inverse of the exponential function, Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm

[F13]

The one-cell measurable partition contributes 0 to the finite-partition definition of KL, so KL(ρ∥π)≥0. PAC-Bayes priors, posteriors, and relative entropy

Proof

Given: The hypotheses in the Statement.

1.1A1F1F2F3F4F5F6F7F8F12F13givenalgebra

For fixed θ, the map z↦(θ,z) is measurable: the preimage of a generating rectangle A×B is B if θ∈A, and empty otherwise. Thus fθ(z):=ℓ(θ,z) is measurable. Apply [F1] to the supervised problem with instance space Z, singleton label space {∗}, action space [0,C] with its Borel sigma-algebra, predictor class {fθ}, loss L(a,∗)=a, and joint law D⊗δ∗, where δ∗({∗})=1. Tonelli [F8] identifies its population risk with R(θ), and its empirical risk on ((Zi,∗))i=1m is R^S(θ). If C=0, both risks are zero and the bound follows because [F13] gives KL(ρ∥π)≥0 and [F12] gives log⁡(1/δ)>0. Suppose C>0 and put Yi=ℓ(θ,Zi). By [F2]–[F4], the Yi are independent and EYi=R(θ). Apply [F6] to Yi/C∈[0,1] with t=−λC/m, and use [F5] to rescale the centered variable, obtaining Eexp⁡(−λ(Yi−R(θ))/m)≤exp⁡(λ2C2/(8m2)). By [F7] and the exponential addition formula, the finite product factors, so ESexp⁡(λ(R(θ)−R^S(θ)))≤exp⁡(λ2C28m).

2.1A1F1F8F11F14step 1.1construct

The fixed-predictor risks are defined by [F1], and the bounded product-measurable loss makes R(θ) measurable in θ by [F8]; finite projection, arithmetic, and Borel composition make (θ,S)↦exp⁡(λ(R(θ)−R^S(θ))) product-measurable by [F11]. By [F14], this integrand lies between e−λC>0 and eλC. Thus Mλ(S):=Eθ∼πexp⁡(λ(R(θ)−R^S(θ))) is measurable, positive, and Tonelli [F8] exchanges the prior and sample integrals. Integrating step 1.1 over π gives ESMλ(S)≤exp⁡(λ2C2/(8m)).

3.1A1F9F14step 2.1algebra

By [F9] with threshold exp⁡(λ2C2/(8m))/δ, the event Mλ(S)≤exp⁡(λ2C2/(8m))/δ has probability at least 1−δ.

4.1A1F10F12F14step 3.1algebra

On this event, for every posterior ρ≪π, apply [F10] to the bounded measurable function fS(θ)=λ(R(θ)−R^S(θ)). This gives λ(EρR−EρR^S)≤KL(ρ∥π)+log⁡Mλ(S)≤KL(ρ∥π)+λ2C2/(8m)+log⁡(1/δ) by [F12]. Divide by λ>0; when the KL value is infinite the inequality is vacuous.

5.1step 1.1step 3.1step 4.1given∎

The event in step 3.1 is independent of ρ, and step 4.1 proves the bound for every posterior on that one event, which has probability at least 1−δ. The C=0 case was handled in step 1.1, so the theorem holds for all C≥0.

Remarks

This is a posterior-average risk bound. It does not assert that R(θ) obeys the same inequality for every individual θ sampled from ρ.

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

The sample-compression generalization bound

Statement

Let (X,Σ) be a measurable space, let H be a nonempty class of measurable maps c:X→{0,1}, fix a target c∈H, and let D be a probability measure on X. Put Z=X×{0,1} with the product sigma-algebra. Let m,d∈N satisfy m>d, set [m]={1,…,m}, and draw (X1,…,Xm) under Dm, labeling Xj by c(Xj). Write S=((X1,c(X1)),…,(Xm,c(Xm))). For each 0≤i≤d, let Gi:Zi×X→{0,1} be a fixed jointly measurable reconstruction map (for i=0, G0 is measurable on X). For I={i1<⋯<ik}⊆[m], define SI=((Xi1,c(Xi1)),…,(Xik,c(Xik))) and g(SI)(x):=Gk(SI,x); for I=∅, let SI be the empty sequence and use G0. Define RD(g(SI)):=D{x:g(SI)(x)≠c(x)}. For every ϵ∈(0,1), Pr⁡Dm{there is an index subset I⊆[m], ∣I∣≤d, such that RD(g(SI))>ϵand g(SI)(Xj)=c(Xj) for every j∈[m]}≤∑i=0d(mi)(1−ϵ)m−i. The event displayed above is measurable. Thus any measurable consistent compression learner of size at most d using these reconstructors has failure probability no larger than this bound.

Statement references

Deterministic sample-compression schemes: the reconstruction map uses only the ordered selected labeled entries and is jointly measurable; consistency means reproducing every label in the full sample.

Population and empirical risk: population risk is expected loss and empirical risk is the average loss on the sample; here the loss is binary zero-one loss against the fixed target.

For sigma-finite factors, the product measure exists, has the rectangle formula, is sigma-finite, and is unique: Dm assigns a product rectangle the product of its coordinate probabilities.

Basic identities for a probability measure: the probability of a finite union is at most the sum of its probabilities.

The set [A]k of k-element subsets and the binomial coefficient (nk):=∣[n]k∣: (mi) counts the i-element index subsets of [m].

Floyd and Warmuth, Sample Compression, Learnability, and the Vapnik–Chervonenkis Dimension, Theorem 5 and Appendix proof: fixes an indexed compression set, bounds consistency on the remaining independent sample, and sums over all subset sizes.

Facts & Assumptions

Given: A fixed measurable target c∈H, a probability measure D, a size-at-most-d compression scheme, integers m>d≥0, and ϵ∈(0,1).

[F1]

For each 0≤i≤d, the reconstruction map Gi is jointly measurable, and a consistent scheme reproduces each of the m target labels from its selected entries. Deterministic sample-compression schemes

[F2]

Under zero-one loss, population risk is the probability of disagreement with the target and empirical risk is the average of the corresponding indicators; fixed-predictor risks are defined and the empirical-risk function of the sample is measurable. Population and empirical risk, Population and empirical risks are measurable

[F3]

D is a probability measure, Dm is the finite product measure on the finite product sigma-algebra, and it has the rectangle formula and uniqueness property. A coordinate permutation preserves it because both pushforward measures agree on all rectangles. Probability measures and probability spaces, The product sigma-algebra and its finite iterates, For sigma-finite factors, the product measure exists, has the rectangle formula, is sigma-finite, and is unique

[F4]

Tonelli makes the section risk measurable and permits integration first over selected coordinates and then over the remaining product coordinates. Tonelli's theorem for nonnegative measurable functions on a sigma-finite product

[F5]

For events E1,…,EN, Pr⁡(⋃j=1NEj)≤∑j=1NPr⁡(Ej). Basic identities for a probability measure

[F7]

The reconstruction maps are measurable maps on finite product measurable spaces; real finite sums and comparisons of measurable functions remain measurable, and natural powers preserve inequalities between nonnegative bases for a fixed positive exponent. The product sigma-algebra and its finite iterates, A measurable function between measurable spaces, Arithmetic and lattice operations preserve measurability whenever they are defined, Finite sums and finite products, by recursion, Integer powers am, Monotonicity of x↦xn and of n↦an

Proof

Given: The hypotheses in the Statement.

1.1F1F2F4F7given

Fix 0≤i≤d and I⊆[m] with ∣I∣=i. For an ordered selected tuple s, define Ls(x):=1{Gi(s,x)≠c(x)} and ri(s):=∫Ls dD. By [F1], [F2], [F7], and [F4], the mismatch indicator and its section integral are measurable; the event that the selected hypothesis agrees with each selected example is also measurable. Thus the event EI that this subset reconstructs a hypothesis of risk greater than ϵ consistent on the full sample is measurable.

2.1F1F2F3F4F7step 1.1algebra

Reorder the coordinates so the indices in I come first. [F3] identifies the resulting law as Di×Dm−i. For fixed selected tuple s, let As:={x:Gi(s,x)=c(x)}; then D(As)=1−ri(s) by [F2]. The remaining coordinates are all consistent exactly on the rectangle Asm−i, whose product probability is (1−ri(s))m−i by [F3]. On ri(s)>ϵ, we have 0≤1−ri(s)<1−ϵ and m−i≥1, so [F7] gives (1−ri(s))m−i≤(1−ϵ)m−i. Integrating over s by [F4] and discarding the additional requirement that selected entries themselves be consistent gives Pr⁡Dm(EI)≤(1−ϵ)m−i.

3.1F5F6step 2.1givenalgebra∎

There are exactly (mi) subsets of [m] of size i by [F6]. Applying [F5] over all such subsets and then over i=0,…,d yields Pr⁡Dm(⋃I⊆[m], ∣I∣≤dEI)≤∑i=0d(mi)(1−ϵ)m−i, which is the stated bound. The output of any consistent compression learner is one of these reconstructed candidates, so its measurable failure event is contained in this union.

Remarks

The theorem assumes a size-d compression scheme; it does not prove that every class of VC dimension d has a compression scheme of size O(d). Floyd and Warmuth identified that question in 1995, so the cited source is not used as a current-status claim.

Remarks references

Floyd and Warmuth, Sample Compression, Learnability, and the Vapnik–Chervonenkis Dimension, §9.1: records the 1995 open question about size-O(d) compression for arbitrary VC-dimension-d classes.

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

A PAC-Bayes bound for a finite tuning grid

Statement

Let (Θ,A,π) and (Z,B,D) be probability spaces. Let C≥0, and let ℓ:Θ×Z→[0,C] be A⊗B-measurable. Draw S=(Z1,…,Zm) from the product law Dm, where m≥1, and define R(θ)=∫ℓ(θ,z)D(dz) and R^S(θ)=m−1∑i=1mℓ(θ,Zi). Fix π independently of S and define KL(ρ∥π) as the supremum of ∑A∈Pρ(A)log⁡(ρ(A)/π(A)) over finite measurable partitions P of Θ, with zero-numerator terms equal to 0 and positive-numerator/zero-denominator terms equal to +∞. Let Λ={λ1,…,λN}⊂(0,∞) be a nonempty finite set fixed independently of the sample. For every δ∈(0,1), with probability at least 1−δ over the sample, simultaneously for every probability measure ρ satisfying π(A)=0⇒ρ(A)=0 for each A∈A and every λ∈Λ, Eθ∼ρR(θ)≤Eθ∼ρR^S(θ)+λC28m+KL(ρ∥π)+log⁡(N/δ)λ.

Statement references

The PAC-Bayes KL generalization bound: for each fixed λ and confidence value, one event controls every posterior average.

The natural logarithm as the inverse of the exponential function: log⁡ denotes the natural logarithm, inverse to the real exponential on positive reals.

PAC-Bayes priors, posteriors, and relative entropy: a posterior is a probability measure absolutely continuous with respect to the sample-independent prior; relative entropy is the supremum over finite measurable partitions.

Alquier, User-friendly Introduction to PAC-Bayes Bounds, Chapter 2, Theorem 2.4 and proof: applies a union bound over a finite, sample-independent tuning grid.

Facts & Assumptions

Given: The hypotheses of the PAC-Bayes KL theorem, a nonempty finite grid Λ fixed independently of the sample, and δ∈(0,1).

[F1]

For each fixed λ>0 and confidence η∈(0,1), with probability at least 1−η, the PAC-Bayes KL inequality holds simultaneously for all posterior probabilities. The PAC-Bayes KL generalization bound

[F2]

The probability of a finite union is at most the sum of the probabilities. Basic identities for a probability measure

[F3]

The natural logarithm is defined on positive reals, is increasing, and satisfies log⁡(xy)=log⁡x+log⁡y for positive x,y. 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.1givenF1F3algebra

For each λ∈Λ, apply [F1] with confidence η=δ/N. Its event has probability at least 1−δ/N, and on it every posterior satisfies the bound with log⁡(1/η)=log⁡(N/δ) by [F3].

2.1F1F2step 1.1algebra∎

The intersection of these N events has probability at least 1−N(δ/N)=1−δ by [F2]. On that single event the inequality holds for every λ∈Λ and every posterior, which is the claim.

CorollaryStatement: AI-adaptedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

A sample-size consequence for compression schemes

Statement

Let m,d∈N with m>d. Let (X,Σ) be a measurable space, let c:X→{0,1} be measurable, and let D be a probability measure on X. Put Z=X×{0,1} with its product sigma-algebra. For each 0≤i≤d, let Gi:Zi×X→{0,1} be a fixed jointly measurable reconstruction map, with G0 measurable on X. Draw independent observations X1,…,Xm, each with law D, and form S=((X1,c(X1)),…,(Xm,c(Xm))). A deterministic compressor selects an index subset I(S)={i1<⋯<ik}⊆[m] with k≤d and outputs hS(x)=Gk(SI(S),x), where SI(S) is the ordered tuple of selected labeled entries; for I(S)=∅, use G0. Assume the reconstruction is consistent on every such sample, meaning hS(Xj)=c(Xj) for each j, and assume the learner's output-risk event is measurable. Define RD(h):=D{x:h(x)≠c(x)}. Fix ϵ,δ∈(0,1). If d=0 and mϵ≥log⁡(1/δ), or if 1≤d<m and ϵ(m−d)≥dlog⁡(emd)+log⁡(1/δ), where e is the base of the real exponential function, then RD(hS)≤ϵ with probability at least 1−δ over the independent observations.

Statement references

The sample-compression generalization bound: the probability of any consistent bad reconstruction among all index subsets is bounded by the exact binomial sum.

Deterministic sample-compression schemes: a deterministic scheme selects at most d labeled entries and reconstructs a binary classifier from those entries alone, consistently on the full sample.

A binomial-sum bound for compression sample sizes: for 1≤d≤m, ∑i=0d(mi)≤(em/d)d.

1+x≤exp⁡(x) for every real x, hence (1−p)m≤exp⁡(−mp): (1−p)n≤exp⁡(−np) for p∈[0,1] and natural n.

The natural logarithm as the inverse of the exponential function: log⁡ is the inverse of the real exponential on the positive reals.

Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: the natural logarithm is increasing and obeys the product and reciprocal laws.

The real exponential function and the number e by a power series: e=exp⁡(1).

The exponential addition formula exp⁡(x+y)=exp⁡(x)exp⁡(y): exp⁡(x+y)=exp⁡(x)exp⁡(y).

The exponential function is strictly increasing: the real exponential is increasing.

The exponential is positive and satisfies exp⁡(−x)=1/exp⁡(x): the real exponential is positive and exp⁡(−x)=1/exp⁡(x).

Floyd and Warmuth, Sample Compression, Learnability, and the Vapnik–Chervonenkis Dimension, Theorem 5 and §5: sample-size consequences are derived from the compression probability bound.

Facts & Assumptions

Given: The hypotheses in the Statement.

[F1]

The exact bad-subset probability is at most ∑i=0d(mi)(1−ϵ)m−i. The sample-compression generalization bound

[F2]

If 1≤d≤m, then ∑i=0d(mi)≤(em/d)d. A binomial-sum bound for compression sample sizes

[F3]

For 0≤p≤1 and natural n, (1−p)n≤exp⁡(−np). 1+x≤exp⁡(x) for every real x, hence (1−p)m≤exp⁡(−mp)

Proof

Given: The hypotheses in the Statement.

1.1F1F3F4givenalgebra

If d=0, [F1] reduces the bad-subset probability to (1−ϵ)m. By [F3] this is at most exp⁡(−mϵ), which is at most δ when mϵ≥log⁡(1/δ) by [F4].

1.2F1F2F3F4givenalgebra

If 1≤d<m, then for every i≤d, [F3] with n=m−i gives (1−ϵ)m−i≤exp⁡(−ϵ(m−i)). Since m−i≥m−d and ϵ>0, monotonicity of the exponential [F4] gives exp⁡(−ϵ(m−i))≤exp⁡(−ϵ(m−d)). Thus [F1] and [F2] bound the bad-subset probability by (emd)dexp⁡(−ϵ(m−d))=exp⁡(dlog⁡(emd)−ϵ(m−d)). The displayed sample-size condition makes the exponent at most −log⁡(1/δ)=log⁡δ, so monotonicity of the exponential gives a bound at most δ.

2.1F1step 1.1step 1.2given∎

A consistent learner's output is one of the reconstructions counted by the bad-subset event in [F1]. Therefore its measurable failure event has probability at most δ in either case, proving the conclusion.

4 · Examples, counterexamples and false statements

None yet.

Sources