Finset.mem_shatterer
theorem Finset.mem_shatterer :
β {Ξ± : Type u_1} [inst : DecidableEq Ξ±] {π : Finset (Finset Ξ±)} {s : Finset Ξ±}, s β π.shatterer β π.Shatters s := by
sorry
In the context where `Ξ±` is a type with decidable equality, this theorem states that for any set `s` and any set family `π` (both of type `Finset Ξ±`), `s` is in the set of sets shattered by `π` if and only if `π` shatters `s`. Here, a set family `π` is said to shatter a set `s` if for every subset `t` of `s`, there exists a set `u` in `π` such that the intersection of `s` and `u` equals `t`.
More concisely: A set `s` is in the sets shattered by a decidably equal set family `π` if and only if for every subset `t` of `s`, there exists `u` in `π` such that `s β© u = t`.
|
Finset.Shatters.shatterer
theorem Finset.Shatters.shatterer :
β {Ξ± : Type u_1} [inst : DecidableEq Ξ±] {π : Finset (Finset Ξ±)} {s : Finset Ξ±},
π.Shatters s β π.shatterer.Shatters s
This theorem, known as an alias of the reverse direction of `Finset.shatters_shatterer`, asserts that for any type `Ξ±` with decidable equality, any finite set `π` of finite sets of `Ξ±`, and any finite set `s` of `Ξ±`, if `π` shatters `s`, then the shatterer of `π` also shatters `s`. Here, "shattering" is a concept from combinatorics related to the breaking down of a set into its constituent subsets. This theorem establishes a kind of symmetry in the shattering operation.
More concisely: If `Ξ±` has decidable equality, `π` is a finite set of finite sets of `Ξ±`, and `s` is a finite set of `Ξ±` such that `π` shatters `s`, then the shatterer of `π` shatters `s`.
|
Finset.card_shatterer_le_sum_vcDim
theorem Finset.card_shatterer_le_sum_vcDim :
β {Ξ± : Type u_1} [inst : DecidableEq Ξ±] {π : Finset (Finset Ξ±)} [inst_1 : Fintype Ξ±],
π.shatterer.card β€ (Finset.Iic π.vcDim).sum fun k => (Fintype.card Ξ±).choose k
The Sauer-Shelah lemma states that for any type `Ξ±` with decidable equality and for any finite set `π` of finite sets of `Ξ±`, the cardinality of the set of elements that shatter `π` is less than or equal to the sum over all `k` from `0` to the Vapnik-Chervonenkis (VC) dimension of `π` of the binomial coefficient "choose `k`" of the cardinality of `Ξ±`. In other words, the number of different ways we can partition `π` using a binary classifier is bounded by the sum of the binomial coefficients up to the VC dimension of `π`.
More concisely: The cardinality of the set of shatterings of a finite set of elements with decidable equality in a Vapnik-Chervonenkis class of dimension d is at most the sum of the binomial coefficients from 0 to d.
|
Finset.card_le_card_shatterer
theorem Finset.card_le_card_shatterer :
β {Ξ± : Type u_1} [inst : DecidableEq Ξ±] (π : Finset (Finset Ξ±)), π.card β€ π.shatterer.card
This is a statement of Pajor's variant of the SauerβShelah lemma. For any type `Ξ±` with decidable equality, given a finite set `π` of subsets of `Ξ±`, the size of `π` is less than or equal to the size of its 'shatterer'. Here, the 'shatterer' of `π` is a set that 'shatters' `π`, meaning it intersects with every subset in `π` in a uniquely identifiable way.
More concisely: For any finite collection `π` of subsets of a type `Ξ±` with decidable equality, the size of `π` is bounded by the size of its shatter function, which is the cardinality of the largest set intersecting each subset in `π` in a unique point.
|
Finset.vcDim_compress_le
theorem Finset.vcDim_compress_le :
β {Ξ± : Type u_1} [inst : DecidableEq Ξ±] (a : Ξ±) (π : Finset (Finset Ξ±)), (Down.compression a π).vcDim β€ π.vcDim
The theorem `Finset.vcDim_compress_le` states that for any type `Ξ±` with decidable equality, and any element `a` of type `Ξ±` and a finite set `π` of finite sets of `Ξ±`, the Vapnik-Chervonenkis (VC) dimension of the set obtained by down-compressing `π` with respect to `a` is always less than or equal to the VC dimension of `π` itself. In other words, the operation of down-compressing a set does not increase its VC dimension. The down-compression of a set `π` with respect to an element `a` refers to the operation of removing `a` from all members of `π` where it exists, and adding the resulting set to `π` if it is not already present. The VC dimension, a concept from computational learning theory, measures the complexity of a set of sets in terms of its ability to shatter other sets.
More concisely: For any type `Ξ±` with decidable equality and any finite set `π` of finite sets of `Ξ±`, the VC dimension of the down-compressed set of `π` with respect to an element `a` is less than or equal to the VC dimension of `π`.
|
Mathlib.Combinatorics.SetFamily.Shatter._auxLemma.5
theorem Mathlib.Combinatorics.SetFamily.Shatter._auxLemma.5 :
β {Ξ± : Type u_1} [inst : DecidableEq Ξ±] {π : Finset (Finset Ξ±)} {s : Finset Ξ±}, (s β π.shatterer) = π.Shatters s
The theorem `Mathlib.Combinatorics.SetFamily.Shatter._auxLemma.5` states that for any type `Ξ±` with decidable equality, any set family `π` (a `Finset` of `Finset Ξ±`), and any set `s` (a `Finset Ξ±`), `s` is part of the set family that is shattered by `π` (i.e., `s` is in `Finset.shatterer π`) if and only if `π` shatters `s` (denoted as `Finset.Shatters π s`). Here, `π` shatters `s` means that for every subset `t` of `s`, there exists an element `u` in `π` such that the intersection of `s` and `u` equals `t`. This theorem essentially links the concept of a set being in the shattered set family of `π` with the property of `π` shattering `s`.
More concisely: A set `s` is in the shattered set family of a set family `π` if and only if `π` shatters `s`, i.e., for every subset `t` of `s`, there exists an element `u` in `π` such that `s β© u = t`.
|