Sample Complexity Lower Bound — Helper Lemmas #
Generic reusable lemmas for product measures, sample functions, and combinatorics used in the EHKV lower bound proof.
The lower-bound argument works on the marginal sample space Fin m → α
under a probability measure P : Measure α, with concepts viewed as
Set α. The translation to the joint sample space LabeledSample α Bool m
under a realizable distribution D = P.map (x ↦ (x, c x)) is handled at the
top-level theorem (SampleComplexityLower.lean) via
pi_map_sampleOf below and the bridge lemma
error_map_eq_hypothesisError from PACLearning.Defs.
Main definitions #
sampleOf c xs: build a labeled sample from points and a set-valued concept (the realizable labeling(xs i, decide (xs i ∈ c))).seenElements W' xs: the elements of aFinsetthat appear in a sample.
Main statements #
sampleOf_eq_of_agree: agreeing concepts yield the same labeled sample.hypothesisError_eq_of_inter_eq: error invariance under same intersection with the supportW.pi_measure_compl_zero: the product measure vanishes offW^m.nullMeasurableSet_pi_of_finite_support: null-measurability from finite support.measurableSet_setOf_exists_pi_eq: the set of samples containing a given point is measurable.measurable_seenElements_card:xs ↦ |seenElements W' xs|is measurable.expected_seenElements_le: Bernoulli integration bound on seen elements.
The pi-product↔pushforward bridge pi_map_sampleOf, which translates
joint-sample-space failure events to the marginal sample space at the top of
the EHKV proof, lives in SampleComplexityLower.lean itself, near where it is
used.
Construct a labeled sample from a sequence of points xs and a set-valued
concept c. Each point is labeled true if it belongs to c, else false.
Two concepts with the same intersection with W have the same hypothesis
error when the measure P is supported on W.
If a measure P on α gives zero mass to the complement of a finite set
W, then the product measure P^m gives zero mass to the complement of
W^m.
If a measure P on α gives zero mass to the complement of a finite set
W, then every set in the product space is NullMeasurableSet.
The set of sample vectors in which point w appears equals the union of
coordinate preimages {xs | xs i = w}.
The set of sample vectors containing a given point is measurable.
The cardinality of seenElements W' xs as an extended non-negative real equals
a finset sum of indicator functions over W'.
The function xs ↦ |seenElements W' xs| is measurable with respect to the
product σ-algebra.
Bernoulli integration bound: the expected number of elements of W'
seen in a random sample of size m is at most |W'| · m · p, when each
element of W' has probability p ≤ 1 under the base measure P.