High-Dimensional Probability VIII: Dudley's Integral InequalityTextbook
Motivation
Many questions in high-dimensional probability reduce to bounding the expected supremum of a random process — the maximum, over an entire indexed family of random variables, of how large any one of them can get. When is finite this is routine (a union bound over terms suffices), but the interesting cases have infinite, even uncountable: a supremum over a continuum of test functions, a norm expressed as a supremum over a sphere, or an empirical process indexed by a whole class of functions. A naive union bound is unusable here, since is infinite.
R. M. Dudley's 1967 entropy bound (R. M. Dudley, The sizes of compact subsets of Hilbert space and continuity of Gaussian processes, Journal of Functional Analysis 1 (1967), 290–330) resolved this for Gaussian processes, controlling the expected supremum purely in terms of the metric entropy of — how many balls of radius are needed to cover , at every scale . The technique behind the proof, chaining, builds a sequence of increasingly fine finite approximations to and telescopes the resulting bounds; it is one of the central tools of the field, reused throughout empirical process theory, statistical learning theory (via Vapnik-Chervonenkis theory), and non-asymptotic random matrix theory. This mission formalizes the chapter's generalization of Dudley's bound beyond Gaussian processes, to any process with sub-gaussian increments, together with the purely combinatorial Sauer-Shelah lemma that the chapter's applications to statistical learning theory build on.
Setting
Fix a probability space . A random process is a family of real random variables on indexed by an arbitrary set , with no independence or measurability-of-the-supremum assumed between different 's. Since need not be measurable in for a general index set , its expectation is understood — following the book's own convention, set once in Chapter 7 and reused throughout — through the process's finite-dimensional marginals:
Now fix a metric on , making a metric space. The covering number , for , is the smallest cardinality of a finite -net of : a finite set such that every point of lies within distance of some point of (or if no finite -net exists). The quantity is the metric entropy of at scale : it measures how large looks when resolved only down to scale .
A process has sub-gaussian increments with parameter if
where is the sub-gaussian (Orlicz) norm of Chapter 2: the smallest with . This says the increments of the process are controlled by the metric the way a Gaussian process's increments are controlled by its own canonical metric — but without assuming is Gaussian.
A class of Boolean functions on a set shatters a subset if every function arises as the restriction to of some . The VC (Vapnik-Chervonenkis) dimension is the largest cardinality of a subset of shattered by (or if arbitrarily large finite subsets, or an infinite one, are shattered) — a purely combinatorial measure of how rich the class is.
Formalization targets
Goal (Theorem 8.1.3, Dudley's integral inequality)
for every mean-zero random process on a metric space with sub-gaussian increments parameter , whenever the integral is finite. is the book's own unnamed absolute constant, never depending on , , or the process. This is the weakest stable form of the claim: no numeral is hard-coded for , and the statement asks only for the shape of the bound, matching what the book actually proves.
Milestone (Theorem 8.3.16, Sauer-Shelah lemma)
for every class of Boolean functions on a finite -point set . This is a purely combinatorial fact, with no probability involved, but it is the bridge (via the covering-number bound Theorem 8.3.18, outside this mission's scope) between the chapter's Dudley-inequality engine and its statistical-learning applications — a bound on how large a finite class of Boolean functions can be, in terms of a single combinatorial complexity parameter.
Significance
Dudley's inequality is, in the book's own words, "the main result" of the chaining chapter: it converts a purely geometric quantity — the metric entropy of an index set, computable in many cases from covering-number estimates already available for balls, ellipsoids, and other convex bodies — into a probabilistic control on the size of a random process indexed by that set. This is what lets later chapters (uniform laws of large numbers over function classes, the matrix deviation inequality, the Dvoretzky-Milman theorem on almost-spherical sections of convex bodies) bound suprema over infinite, even uncountable, index sets without ever performing a union bound. The bound is also known to be tight only up to a logarithmic factor in general — Sudakov's minoration inequality (Chapter 7) gives a matching lower bound for Gaussian processes, and the book's own Exercise 8.1.12 exhibits a set where the two bounds genuinely diverge — so the constant here cannot in general be sharpened away.
The Sauer-Shelah lemma is one of the two founding results of VC theory (together with the Glivenko-Cantelli-type uniform convergence it feeds into), independently discovered by Vapnik and Chervonenkis, Sauer, and Shelah in the early 1970s; it underlies the sample-complexity bounds of statistical learning theory (a hypothesis class with finite VC dimension is PAC-learnable) and, through Theorem 8.3.18, gives one of the two standard routes (the other being direct combinatorial counting) to bounding covering numbers of infinite function classes.
Both results are decades old and have long-established, standard proofs; no open mathematical
question is being formalized. What this mission contributes is the machine-checked statement
infrastructure — the goal and the Sauer-Shelah milestone, together with the definitions
(CoveringNumber, ProcessESup, Shatters, VcDim) a faithful Lean rendering of either result
needs — for a solver to close with a proof. No formalization of Dudley's inequality or the
Sauer-Shelah lemma is known to exist on the platform prior to this mission.
Difficulty
The natural first idea for bounding is a single-scale -net argument: replace by a finite -net, bound the maximum over the (finite) net by a union bound using the sub-gaussian tail, and separately bound the error of replacing by the net using the Lipschitz-in-probability control the sub-gaussian-increments hypothesis gives. This works, but it only ever sees at one fixed resolution , and optimizing over afterward gives a bound with an extra -type loss that does not match Dudley's inequality. The actual difficulty is genuinely multi-scale: chaining builds a whole sequence of nets at dyadic scales simultaneously, connects each point of to its nearest net point at every scale to form a "chain" of successive approximations back to a single fixed basepoint, and telescopes the resulting sum of increments — turning itself into a sum of differences between successive links of the chain, each individually well controlled by the sub-gaussian hypothesis at its own scale. Passing from the resulting discrete sum over dyadic scales (Theorem 8.1.4) to the continuous integral of the goal is a further, separate technical step.
For the Sauer-Shelah lemma, the natural first idea — bound directly by counting — has no obvious purchase on an arbitrary class of Boolean functions. The actual argument goes through Pajor's lemma, which reduces bounding to counting the shattered subsets of instead of the functions in themselves; only then does the cardinality bound on shattered sets become directly usable, via a binomial-sum estimate.
Formalization scope
CoveringNumber T ε is ℕ∞-valued (ℕ∞ = WithTop ℕ), defined as the infimum, over the subtype
of finite -nets of the whole type T (an instance of MetricSpace T), of their
cardinality; the infimum of the empty family in this complete lattice is ⊤, reproducing " if no finite net exists" with no case split. ProcessESup is EReal-valued, defined as
the supremum over finite nonempty of the Bochner integral of the finite max —
EReal, not ℝ, because a real-valued supremum would silently return the junk value if the
family of marginal expectations were unbounded above. Shatters and VcDim are direct
transcriptions of Definition 8.3.1, with VcDim valued in ℕ∞ via a supremum of Set.encard
over the (always-nonempty, since is trivially shattered) subtype of shattered
subsets. The goal's mean-zero hypothesis is stated as Integrable (X t) P ∧ ∫ X t = 0 rather than
the bare equation, since a non-integrable variable's Bochner integral is 0 in Mathlib by
convention regardless of its true mean — a bare-equation hypothesis would let a non-mean-zero,
non-integrable process satisfy the theorem vacuously. Two further hypotheses make explicit what
the book's own displayed statement treats as understood without spelling out: that
is finite for every (total boundedness of ), and that the
resulting integrand is integrable on — both hold whenever is totally bounded,
since the integrand vanishes once , so neither hypothesis excludes
any case the book's own proof does not also need. [Nonempty T] excludes the degenerate empty
index set. The absolute constant is existentially quantified ahead of every type, instance,
and hypothesis it is uniform over, and pinned to no numeral, matching " is an absolute
constant" — a formalization hard-coding a specific numeral for would be invalidated by the
next sharper constant in the literature and would not match what the book proves.
A trivializing formalization of the Sauer-Shelah lemma would fix at a hard-coded
small value, or drop the second (exponential) inequality in favor of the weaker first one; this
mission's statement keeps both inequalities, with genuinely computed from VcDim, and handles
the boundary (where the exponential bound's base involves a division by zero under Lean's
x/0=0 convention) explicitly rather than excluding it, since x^0=1 still recovers the book's
correct bound there.
This mission covers Theorem 8.1.3 and Theorem 8.3.16 only; Theorem 8.3.18 (covering numbers via VC
dimension) and Theorem 8.2.3 (the uniform law of large numbers, the chapter's direct application
of Dudley's inequality) are left out, not approximated, for lack of the additional empirical-
process measurability machinery — the class of Lipschitz functions of Eq. (8.22), measurability of
the resulting empirical process — that a faithful statement of either would need beyond what this
mission's items already provide. CoveringNumber and ProcessESup are reusable by any later
chapter needing a metric space's covering numbers or a general random process's expected
supremum (this book's own Chapters 7, 9, and 11 all use one or both); Shatters and VcDim are
reusable by any later development of VC theory or statistical learning theory. Solvers'
contributions are welcome on: the chaining argument itself (the mission's hardest open leaf, via
the discrete dyadic form of Theorem 8.1.4), Pajor's lemma underlying Sauer-Shelah, and the
binomial-sum estimate closing its second inequality.
Selected references
- R. M. Dudley, The sizes of compact subsets of Hilbert space and continuity of Gaussian processes, Journal of Functional Analysis 1 (1967), 290–330. https://doi.org/10.1016/0022-1236(67)90017-1
- N. Sauer, On the density of families of sets, Journal of Combinatorial Theory, Series A 13 (1972), 145–147. https://doi.org/10.1016/0097-3165(72)90019-2
- V. N. Vapnik, A. Ya. Chervonenkis, On the uniform convergence of relative frequencies of events to their probabilities, Theory of Probability & Its Applications 16 (1971), 264–280. https://doi.org/10.1137/1116025
- R. Vershynin, High-Dimensional Probability: An Introduction with Applications in Data Science, Cambridge University Press, 2018, Chapter 8. https://doi.org/10.1017/9781108231596