Countably generated filters #
In this file we define a typeclass Filter.IsCountablyGenerated
saying that a filter is generated by a countable family of sets.
We also define predicates Filter.IsCountableBasis
and Filter.HasCountableBasis
saying that a specific family of sets is a countable basis.
IsCountablyGenerated f
means f = generate s
for some countable s
.
- out : ∃ (s : Set (Set α)), s.Countable ∧ f = Filter.generate s
There exists a countable set that generates the filter.
Instances
IsCountableBasis p s
means the image of s
bounded by p
is a countable filter basis.
- nonempty : ∃ (i : ι), p i
- countable : (setOf p).Countable
The set of
i
that satisfy the predicatep
is countable.
Instances For
We say that a filter l
has a countable basis s : ι → Set α
bounded by p : ι → Prop
,
if t ∈ l
if and only if t
includes s i
for some i
such that p i
, and the set
defined by p
is countable.
- countable : (setOf p).Countable
The set of
i
that satisfy the predicatep
is countable.
Instances For
A countable filter basis B
on a type α
is a nonempty countable collection of sets of α
such that the intersection of two elements of this collection contains some element
of the collection.
- nonempty : self.sets.Nonempty
- countable : self.sets.Countable
The set of sets of the filter basis is countable.
Instances For
Equations
- Filter.Nat.inhabitedCountableFilterBasis = { default := { toFilterBasis := default, countable := Filter.Nat.inhabitedCountableFilterBasis.proof_1 } }
If f
is countably generated and f.HasBasis p s
, then f
admits a decreasing basis
enumerated by natural numbers such that all sets have the form s i
. More precisely, there is a
sequence i n
such that p (i n)
for all n
and s (i n)
is a decreasing sequence of sets which
forms a basis of f