Documentation

AddCombi.VCDim.SetFamily.HausslerPacking

Haussler's packing lemma #

This file proves Haussler's packing lemma in a probability space, which is the statement that a family of measurable sets of VC dimension at most d whose pairwise symmetric differences all have measure at least ε has size at most (16 * exp 1 / ε ^ 2) ^ d.

Main statements #

Implementation notes #

Vershynin proves dimension reduction with Hoeffding's inequality, which needs n ≳ ε⁻⁴ log #𝓕 samples (with ε the L² distance). We only need two sets to have distinct traces on the sample, not to stay ε / 2-separated. So we bound the probability that the traces agree directly by (1 - μ (A ∆ B)) ^ n, which dispenses us needing a concentration inequality.

References #

theorem SetFamily.exists_card_le_injOn_inter {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {𝓕 : Finset (Set Ω)} {n : ℕ} {ε : ℝ} (h𝓕 : ∀ A ∈ 𝓕, MeasurableSet A) (hsep : (↑𝓕).Pairwise fun (A B : Set Ω) => ε ≤ μ.real (symmDiff A B)) (hn : ↑𝓕.card ^ 2 ≤ Real.exp (ε * ↑n)) :
∃ (S : Finset Ω), S.card ≤ n ∧ Set.InjOn (fun (x : Set Ω) => ↑S ∩ x) ↑𝓕

Dimension reduction, after Lemma 8.3.14 in Vershynin's High-Dimensional Probability.

If 𝓕 is a finite family of measurable sets which are pairwise ε-far apart in measure (namely ε ≤ μ (A ∆ B) for distinct A, B ∈ 𝓕) and n is such that #𝓕 ^ 2 ≤ exp (ε * n), then there are at most n points of Ω on which all the sets in 𝓕 have pairwise distinct traces.

This is proved by sampling n points independently according to μ: two distinct sets A, B ∈ 𝓕 have the same trace on the sample with probability (1 - μ (A ∆ B)) ^ n ≤ exp (-ε * n), so a union bound shows that with positive probability no two sets of 𝓕 have the same trace.

theorem SetFamily.haussler_packing {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {𝓕 : Finset (Set Ω)} {d : ℕ} {ε : ℝ} (hd : HasVCDimLE d ↑𝓕) (h𝓕 : ∀ A ∈ 𝓕, MeasurableSet A) (hε₀ : 0 < ε) (hε₁ : ε ≤ 1) (hsep : (↑𝓕).Pairwise fun (A B : Set Ω) => ε ≤ μ.real (symmDiff A B)) :
↑𝓕.card ≤ (16 * Real.exp 1 / ε ^ 2) ^ d

Haussler's packing lemma for probability spaces, after Theorem 8.3.13 in Vershynin's High-Dimensional Probability.

If 𝓕 is a finite family of measurable sets of VC dimension at most d which are pairwise ε-far apart in measure (namely ε ≤ μ (A ∆ B) for distinct A, B ∈ 𝓕), then #𝓕 ≤ (16 * exp 1 / ε ^ 2) ^ d.

Note that μ (A ∆ B) = ‖𝟭_A - 𝟭_B‖_{L¹(μ)} = ‖𝟭_A - 𝟭_B‖_{L²(μ)} ^ 2.