EHKV Proof Assembly #
This module assembles the Markov bound, involution pairing, and adversarial measure construction into the marginal-sample-space form of the EHKV proof.
The lower-bound argument here 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 performed in
SampleComplexityLower.lean via pi_map_sampleOf.
Main statements #
markov_bad_samples: Lemma 3 [EHKV89] — bad samples occur with probability> 1/2when the sample size is too small. The source proves its lemmas within Theorem 1's confidence rangeδ ≤ 1/100; this development adapts the argument toδ < 1/14.ehkv_sum_lower_bound: the half-fraction sum lower bound via involution.ehkv_final_contradiction: the final arithmetic contradiction.exists_bad_concept_marginal: for any set-valued learner with too few samples, there exists a concept among2^dshattered concepts whose marginal-sample-space failure measure exceedsδ. Used as a black box by the top-levelSampleComplexityLowertheorems viapi_map_sampleOf.
References #
Lemma 3 [EHKV89]: Markov bound on bad samples (in the form used for this
development's confidence range δ < 1/14; the source states its lemmas for δ ≤ 1/100).
When the sample size m satisfies m < d / (32ε), the probability
(under the product measure P^m) that the sample reveals at most
half of the shattered set W' exceeds 1/2.
Per-learner half-fraction sum lower bound: for any set-valued learner A'
and any assignment of concepts to subsets of W' = W \ {w₀} satisfying the
shattering intersection property, the weighted measure of "bad" samples is
bounded by the sum of failure measures over the powerset.
The final arithmetic contradiction in the EHKV argument: if (2^d/2) • μ(B) < 2^d • (1/14)but1/2 < μ(B), then μ(B) ≤ 1/7 < 1/2`, a contradiction.
Marginal-space EHKV witness lemma: If the sample size m is strictly
less than (|W|-1)/(32ε), then for any randomized set-valued learner
(Ω, Q, A) such that each per-concept failure event has a measurable failure
function, there exist a concept c among the 2^d shattered concepts and an
adversarial measure P such that the marginal-sample-space integrated failure
exceeds δ.
This is the marginal-space form of EHKV; the headline IsRPACLearnerFor
lower bound in SampleComplexityLower.lean follows by translating the
joint-sample-space failure event to this marginal form via pi_map_sampleOf.