The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V30. Combinatorics

Mathlib.Combinatorics.SetFamily.DualVC

4 declarations. Mathlib docs Β· Source

Assouad's dual VC bound

Given a family of sets π’œ : Finset (Finset Ξ±) and a ground set X : Finset Ξ±, the dual family of π’œ relative to X assigns to each x ∈ X the subfamily {A ∈ π’œ | x ∈ A} of elements of π’œ containing x. This file establishes Assouad's 1983 dual VC bound: if π’œ.vcDim ≀ d, then (π’œ.dualFamily X).vcDim ≀ 2 ^ (d + 1) - 1.

The proof is Assouad's original bitstring-coding argument. This bound works well for small d.

Main definitions

  • Finset.dualFamily: the dual family of a set family relative to a ground set.
  • Finset.mem_dualFamily: membership characterisation.
  • Finset.exists_shatters_of_dualFamily_shatters: the bitstring-coding lemma. A subfamily of size 2 ^ n shattered by the dual family yields an n-element subset of the ground set shattered by the original family.
  • Finset.vcDim_dualFamily_le: Assouad's VC bound for the dual family.

References

  • [P. Assouad, DensitΓ© et dimension, Ann. Inst. Fourier 33 (3) (1983), Theorem 2.13][assouad1983]
  • [J. MatouΕ‘ek, Lectures on Discrete Geometry, Graduate Texts in Mathematics 212, Springer, 2002, Β§10.3 Lemma 10.3.3][matousek2002]

Tags

VC dimension, dual VC dimension, shattering, Assouad

def Finset.dualFamily E3 #

{Ξ± : Type u_1} β†’ [DecidableEq Ξ±] β†’ Finset (Finset Ξ±) β†’ Finset Ξ± β†’ Finset (Finset (Finset Ξ±))

The dual family of π’œ : Finset (Finset Ξ±) relative to a ground set X : Finset Ξ±: for each x ∈ X, the subfamily {A ∈ π’œ | x ∈ A}.

Viewing π’œ as rows of a binary incidence matrix indexed by X Γ— π’œ, the dual family is the collection of its columns.

theorem Finset.mem_dualFamily E3 #

βˆ€ {Ξ± : Type u_1} [inst : DecidableEq Ξ±] {π’œ : Finset (Finset Ξ±)} {X : Finset Ξ±} {π’ž : Finset (Finset Ξ±)},
  π’ž ∈ π’œ.dualFamily X ↔ βˆƒ x ∈ X, {A ∈ π’œ | x ∈ A} = π’ž

theorem Finset.exists_shatters_of_dualFamily_shatters E3 #

βˆ€ {Ξ± : Type u_1} [inst : DecidableEq Ξ±] (π’œ : Finset (Finset Ξ±)) (X : Finset Ξ±) {S : Finset (Finset Ξ±)},
  (π’œ.dualFamily X).Shatters S β†’ βˆ€ {n : β„•}, 2 ^ n ≀ S.card β†’ βˆƒ T βŠ† X, T.card = n ∧ π’œ.Shatters T

Bitstring coding (Assouad 1983, Theorem 2.13). If π’œ.dualFamily X shatters a subfamily S of size at least 2 ^ n, then π’œ shatters some n-element subset of X.

This is the combinatorial side of the dual VC bound: embed the 2 ^ n bit-patterns of length n into S; for each coordinate, shattering provides a ground-set element distinguishing the patterns with that bit set; these n elements are then shattered by π’œ.

theorem Finset.vcDim_dualFamily_le E3 #

βˆ€ {Ξ± : Type u_1} [inst : DecidableEq Ξ±] (π’œ : Finset (Finset Ξ±)) (X : Finset Ξ±) {d : β„•},
  π’œ.vcDim ≀ d β†’ (π’œ.dualFamily X).vcDim ≀ 2 ^ (d + 1) - 1

Assouad's dual VC bound. If π’œ : Finset (Finset Ξ±) has VC dimension at most d, then for any ground set X : Finset Ξ± the dual family has VC dimension at most 2 ^ (d + 1) - 1.

This is the Finset-level form of the standard statement vcDim(π’ž*) ≀ 2 ^ (vcDim(π’ž) + 1) - 1 (Assouad 1983, Theorem 2.13; MatouΕ‘ek, Lectures on Discrete Geometry, Β§10.3 Lemma 10.3.3).