The dual class and Assouad's dual VC bound #
The dual class of a binary concept class C on α is the class on the concepts of C
(dualClass C : ConceptClass ↥C Bool) whose members are the evaluations c ↦ c x, one for each
point x : α. If C is drawn as a binary matrix with a row for each concept and a column for each
point, the dual class consists of the columns.
Assouad's dual VC bound [Assouad1983; MoranYehudayoff2016, Claim 1.5] says that if every finite set
shattered by C has at most d points, then every finite family of concepts shattered by the dual
class has fewer than 2 ^ (d + 1) members. Mathlib proves this for finite set families
(Finset.vcDim_dualFamily_le). The proof here reduces to Mathlib's bitstring-coding lemma
(Finset.exists_shatters_of_dualFamily_shatters). It traces the concepts of a shattered family on
a finite set of witness points, one for each subfamily.
The dual class enters the Moran–Yehudayoff compression scheme through classes of the form
{g ∘ φ | g ∈ G}, which test a learned hypothesis φ r at a point. A set shattered by such a class
is mapped injectively by φ onto a set shattered by G (SetShatters.injOn_of_comp,
SetShatters.image_of_comp), so the size bounds of G transfer (SetShatters.card_le_of_comp).
Main definitions #
dualClass C: the evaluationsc ↦ c xon the concepts ofC.
Main results #
SetShatters.card_le_of_comp: a bound on the shattered finite sets ofGbounds those of{g ∘ φ | g ∈ G}.card_le_of_setShatters_dualClass: Assouad's dual VC bound. If the shattered finite sets ofChave at mostdpoints, those ofdualClass Chave at most2 ^ (d + 1) - 1.hasFiniteVCDim_dualClass,vcDim_dualClass_le: the same bound forvcDim.
References #
Shattering through a map #
If the precomposed class {g ∘ φ | g ∈ G} shatters W, then φ is injective on W: two
points of W with the same image receive the same label from every concept of the class, so no
concept separates them.
If the precomposed class {g ∘ φ | g ∈ G} shatters W, then G shatters φ '' W.
A bound on the finite sets shattered by G bounds the finite sets shattered by the precomposed
class {g ∘ φ | g ∈ G}.
The dual class #
The dual class of C: the binary concepts on the concepts of C that evaluate at a point
x, c ↦ c x.
Assouad's dual VC bound [Assouad1983; MoranYehudayoff2016, Claim 1.5]: if every finite set
shattered by C has at most d points, then every finite family of concepts shattered by the dual
class has at most 2 ^ (d + 1) - 1 members.
If C has finite VC dimension, so does its dual class.
Assouad's dual VC bound for vcDim: the dual class of a class of finite VC dimension d
has VC dimension at most 2 ^ (d + 1) - 1.