Documentation

MiscYD.Mathlib.Combinatorics.SetFamily.Shatter

def Shatters {α : Type u_1} [SemilatticeInf α] (𝒜 : Set α) (A : α) :

A set family 𝒜 shatters a set A if all subsets of A can be obtained as the intersection of A with some element of the set family. We also say that A is traced by 𝒜.

Equations
  • Shatters 𝒜 A = ∀ ⦃B : α⦄, B AC𝒜, AC = B
Instances For
    theorem Shatters.mono {α : Type u_1} [SemilatticeInf α] {𝒜 : Set α} {A : α} (h : 𝒜 ) (h𝒜 : Shatters 𝒜 A) :
    Shatters A
    theorem Shatters.anti {α : Type u_1} [SemilatticeInf α] {𝒜 : Set α} {A B : α} (h : A B) (hB : Shatters 𝒜 B) :
    Shatters 𝒜 A
    def IsNIPWith {α : Type u_1} (d : ) (𝒜 : Set (Set α)) :

    A set family 𝒜 is d-NIP if it has VC dimension at most d, namely if all the sets it shatters have size at most d.

    Equations
    Instances For
      theorem IsNIPWith.anti {α : Type u_1} {d : } {𝒜 : Set (Set α)} (hℬ𝒜 : 𝒜) (h𝒜 : IsNIPWith d 𝒜) :
      IsNIPWith d
      theorem IsNIPWith.mono {α : Type u_1} {d₁ d₂ : } {𝒜 : Set (Set α)} (hd : d₁ d₂) (hd₁ : IsNIPWith d₁ 𝒜) :
      IsNIPWith d₂ 𝒜