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.
Compression generalization for trained networks
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
- 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
Margin-preserving compression of score classifiers
Definition
Let be a nonempty measurable instance space, let have its discrete sigma-algebra with , and equip and its finite powers with their product sigma-algebras. Let be a probability law on . For an integer , write a sample as . A score map is coordinatewise measurable when each is measurable. Define its classifier by the least-index tie rule
and its margin on label by
For each , and each comparison set is measurable; an intersection over no indices means . Since is finite, is measurable on as well. The population zero-one risk is For a sample of length and , the empirical margin loss is The event defining is measurable by measurability of .
Fix integers and . A fixed-helper finite parameter codebook consists of a helper string fixed independently of the sample, finite nonempty sets with , a nonempty code set , and one coordinatewise measurable decoder score map for each . For , the empty product is the singleton containing the empty tuple. The codebook and all its decoders are fixed independently of the sample, so .
Let be measurable for the product sigma-algebra on its domain and the Borel sigma-algebra on . Let be measurable, where has its discrete sigma-algebra, and write . For , the sample-dependent trained score map is -compressible by this codebook on a sample if The code may depend on ; the helper string, codebook, and decoders remain fixed independently of the sample.
Definition references
Measurable spaces and measurable sets: a measurable space consists of a set equipped with a sigma-algebra.
Supervised prediction problems: supplies measurable instance and label spaces, a joint probability law, measurable predictors, and a measurable loss.
Population and empirical risk: population risk is the nonnegative integral of the loss, and empirical risk is its finite sample average.
A measurable function between measurable spaces: measurability is the preimage condition.
The product sigma-algebra and its finite iterates: finite product sigma-algebras are generated recursively by measurable rectangles.
Arithmetic and lattice operations preserve measurability whenever they are defined: finite maxima and arithmetic combinations of measurable real-valued functions are measurable.
Arora et al., §2, Definitions 1–2: score closeness on training inputs with a finite code family and a helper fixed before sampling.
Shalev-Shwartz and Ben-David, Chapter 4 §4.2: finite measurable hypothesis classes and empirical/population zero-one risk conventions.
Facts & Assumptions
Given: The measurable space , the finite discrete label space , the product sigma-algebras, the law , and a coordinatewise measurable score map .
Finite maxima and arithmetic combinations of measurable real-valued functions are measurable. Arithmetic and lattice operations preserve measurability whenever they are defined
A map is measurable when preimages of measurable sets are measurable. A measurable function between measurable spaces
The product sigma-algebra is generated by measurable rectangles, and finite products use the recursively formed product sigma-algebra. The product sigma-algebra and its finite iterates
Verification
Given: The hypotheses in the Definition.
For each , the displayed fiber formula expresses as a finite intersection. Each comparison set is the preimage of or under the measurable difference , which is measurable by [F1] and [F2]. Hence every singleton fiber is measurable, and because is finite and discrete, is measurable.
For each , the function is measurable by finite maximization and subtraction in [F1]. For every Borel set , its inverse image under is the finite union over of , which belongs to the product sigma-algebra by [F3]. The error event is the finite union , so it is measurable too. Thus the risk is defined as the probability of a measurable event.
Finite-description compression bound for trained classifiers
Statement
The following corrected finite-description form of Arora, Ge, Neyshabur, and Zhang's compression bound applies to a measurable sample-dependent score classifier. Let be a nonempty measurable space, let have the discrete sigma-algebra with , put on , and let be a probability law on . Let and draw independently and identically distributed (IID) with law , with sample space carrying . Fix integers , , a helper string independent of , finite nonempty parameter sets with , a nonempty code set (with the empty product a singleton when ), a distortion tolerance , and a confidence level . For any score map with measurable coordinates, write for the classifier that chooses the least index attaining the largest coordinate of . For each , let have measurable coordinates and put . Equip with its Borel sigma-algebra. Let be measurable for , write , and let be measurable for the discrete sigma-algebra on . Suppose that, for -almost every , With natural logarithms, define Then, with probability at least over , In particular, the coordinatewise distortion only guarantees preservation of an observed label when its original score margin is strictly greater than . The conclusion bounds the selected compressed classifier ; it does not bound the original classifier unless a separate all-domain loss-preservation argument is supplied. The theorem assumes a suitable fixed-helper compressor and makes no claim that a network compression construction exists or that layer-stability or cushion hypotheses hold.
Statement references
Margin-preserving compression of score classifiers: defines the finite codebook, fixed helper string, score distortion, least-index tie rule, margin, and empirical margin loss.
Measurable spaces and measurable sets: a measurable space is a set equipped with a sigma-algebra.
A measurable function between measurable spaces: measurability is the preimage condition.
The product sigma-algebra and its finite iterates: product sigma-algebras are generated by measurable rectangles and finite products are formed recursively.
Arithmetic and lattice operations preserve measurability whenever they are defined: finite arithmetic operations, absolute values, and maxima preserve measurability of real-valued functions.
Identical distribution and IID families: IID observations are mutually independent and share a common law.
Basic identities for a probability measure: finite unions of events have probability at most the sum of their probabilities.
The Hoeffding MGF bound for a variable in a unit interval: for , for every real ; its proof is choice-free.
Measurable coordinatewise functions preserve independence: applying measurable coordinate maps to independent random elements preserves independence.
Expectations factor over finite products of independent random variables: expectations of finite products of nonnegative Borel functions of independent real variables factor.
Markov's inequality for random variables: for a nonnegative random variable and , .
The exponential addition formula : .
The exponential function is strictly increasing: the exponential is continuous and strictly increasing.
Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function: sums, scalar multiples, constants, and the identity function are continuous.
A composite of continuous functions is continuous, with no side hypothesis of the kind the composition of limits needs: a composite of continuous real functions is continuous.
The Borel sigma-algebra of a topological space: the Borel sigma-algebra is generated by open sets.
Law or distribution of a random element: the law of a random element is its pushforward probability measure.
Change of variables for expectation: for a nonnegative measurable and a random element with law .
The real exponential function and the number by a power series: defines the real exponential function used in the MGF and Markov argument.
The expectation of an indicator is the probability of the event: the expectation of the indicator of an event equals its probability.
The natural logarithm as the inverse of the exponential function: defines as the inverse of the exponential on positive reals.
Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: supplies the product, quotient, reciprocal, and monotonicity laws for .
The exponential is positive and satisfies : for every real .
Arora et al., §2, Theorem 2.1 and Remarks 1–4: fixes the finite code family and helper-string model, and explicitly states that its conclusion concerns the compressed classifier.
Arora et al., supplementary material, Appendix A.1: gives the finite-code Hoeffding/union-bound route; the local proof corrects its margin step.
Shalev-Shwartz and Ben-David, Chapter 4 §4.2: independently proves finite-class bounded-loss uniform convergence by Hoeffding's inequality and a union bound.
Facts & Assumptions
Given: The measurable spaces and law , an IID sample of size , a fixed helper string and finite nonempty codebook with at most values in each of parameter positions, measurable training and compression maps, distortion on -almost every sample, and .
For a finite family of events , . Basic identities for a probability measure
The helper string, codebook, and decoders are fixed independently of , with at most codes. Margin-preserving compression of score classifiers
The measurable code selector may depend on and the coordinatewise distortion condition applies at every observed input on each successful sample. Margin-preserving compression of score classifiers
The natural logarithm is strictly increasing and satisfies , , and for positive . Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm
for every real . The exponential is positive and satisfies
IID observations are mutually independent and share the same law. Identical distribution and IID families
The sample space and finite products carry sigma-algebras generated by measurable rectangles. The product sigma-algebra and its finite iterates
Measurability is defined by measurable preimages; compositions are measurable by successive preimages. A measurable function between measurable spaces
Finite sums, scalar multiples, absolute values, and finite maxima of measurable real-valued functions are measurable. Arithmetic and lattice operations preserve measurability whenever they are defined
If is measurable and almost surely, then for every real . The Hoeffding MGF bound for a variable in a unit interval
Measurable coordinatewise functions of independent random elements remain independent. Measurable coordinatewise functions preserve independence
For independent real random variables and nonnegative Borel functions , the expectation of their finite product factors into the product of expectations. Expectations factor over finite products of independent random variables
If is a nonnegative random variable and , then . Markov's inequality for random variables
for real . The exponential addition formula
The exponential is continuous and strictly increasing on . The exponential function is strictly increasing
The law of a random element is its pushforward probability measure. Law or distribution of a random element
For a random element with law and a nonnegative measurable , . Change of variables for expectation
The real exponential function is the power-series function denoted by . The real exponential function and the number by a power series
Sums, scalar multiples, constants, and the identity function are continuous. Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function
The composite of continuous real functions is continuous. A composite of continuous functions is continuous, with no side hypothesis of the kind the composition of limits needs
The Borel sigma-algebra is generated by open subsets of . The Borel sigma-algebra of a topological space
The expectation of an indicator of a measurable error event is its probability, so . The expectation of an indicator is the probability of the event
The bounded-variable MGF bound uses finite product and scalar integral arguments and does not assume the Axiom of Choice. The Hoeffding MGF bound for a variable in a unit interval
Proof
For each sample coordinate , the projections and are measurable by [F8]. The map is measurable because the preimage of a measurable rectangle is and such rectangles generate the product sigma-algebra [F8]; composition with is measurable by [F9], so is measurable. For each fixed , is measurable by [F9]. The selector takes values in the finite set by [F2], so the preimage of a Borel set under is a finite union of intersections of measurable selector fibers and fixed-code preimages. By [F10], each coordinatewise distortion comparison is measurable, and the finite intersection over coordinates and sample positions makes the compression-success event measurable. The zero-one loss is measurable by the verified measurability properties in [F3]; composing it with the sample projections and taking a finite average shows that each is measurable. Since is finite and measurable, both selected risk maps and are measurable. The margins are measurable by [F10], hence so is their finite threshold average . Thus every event in the Statement and proof is measurable.
On a sample satisfying the compression condition, if , then for each the coordinatewise distortion bound [F3] gives . Thus the decoded classifier predicts at that observation. Each decoded training-error indicator is therefore at most , and averaging gives .
Fix , write and , and put by [F23]. Each has law by [F7] and [F17], so [F18] gives . The are independent by [F12], since is measurable by step 1.1. The function is continuous by [F20], and [F16] and [F21] make continuous. Its preimage of every open set is open; preimages preserve complements and countable unions, so [F22] makes preimages of all Borel sets Borel by [F9]. Thus is a nonnegative Borel function.
By finite-product factorization [F13], exponential addition [F15], and the bounded-variable MGF estimate [F11], for every real . This finite MGF argument uses no choice principle by [A1].
For , put . On , strict increase of the exponential [F16] gives by [F6]. Markov's inequality [F14] and step 3.1 therefore give .
Set . Since and , we have , so strict increase of and in [F4] give . Applying step 4.1 to each fixed code at and using [F5]–[F6] gives failure probability at most . The union bound [F1] over at most codes by [F2] yields, with probability at least , one event on which every satisfies . For , ; for , repeated use of the product law [F4] gives . The quotient law gives , so is the displayed complexity term.
The event from step 5.1 holds simultaneously for every fixed code, so it also holds for the sample-dependent choice . The compression condition fails only on a -null set. Intersecting the step 5.1 event with its full-measure success set and applying step 1.2 gives the stated risk inequality with probability at least .
4 · Examples, counterexamples and false statements
None yet.
Sources
- Sanjeev Arora, Rong Ge, Behnam Neyshabur, and Yi Zhang, Stronger Generalization Bounds for Deep Nets via a Compression Approach, §2, Definitions 1–2
- Shai Shalev-Shwartz and Shai Ben-David, Understanding Machine Learning: From Theory to Algorithms, Chapter 4 §4.2
- Sanjeev Arora, Rong Ge, Behnam Neyshabur, and Yi Zhang, Stronger Generalization Bounds for Deep Nets via a Compression Approach, §2, Theorem 2.1
- Sanjeev Arora, Rong Ge, Behnam Neyshabur, and Yi Zhang, supplementary material, Appendix A.1