Ultrafilters #
An ultrafilter is a minimal (maximal in the set order) proper filter. In this file we define
ultrafilter.of
: an ultrafilter that is less than or equal to a given filter;ultrafilter
: subtype of ultrafilters;ultrafilter.pure
:pure x
as anultrafiler
;ultrafilter.map
,ultrafilter.bind
,ultrafilter.comap
: operations on ultrafilters;hyperfilter
: the ultrafilter extending the cofinite filter.
Equations
Equations
- ultrafilter.has_mem = {mem := λ (s : set α) (f : ultrafilter α), s ∈ ↑f}
Alias of frequently_iff_eventually
.
If sᶜ ∉ f ↔ s ∈ f
, then f
is an ultrafilter. The other implication is given by
ultrafilter.compl_not_mem_iff
.
Pushforward for ultrafilters.
Equations
- ultrafilter.map m f = ultrafilter.of_compl_not_mem_iff (filter.map m ↑f) _
The pullback of an ultrafilter along an injection whose range is large with respect to the given ultrafilter.
The principal ultrafilter associated to a point x
.
Equations
- ultrafilter.has_pure = {pure := λ (α : Type u_1) (a : α), ultrafilter.of_compl_not_mem_iff (pure a) _}
Monadic bind for ultrafilters, coming from the one on filters defined in terms of map and join.
Equations
Equations
- ultrafilter.functor = {map := ultrafilter.map, map_const := λ (α β : Type u_1), ultrafilter.map ∘ function.const β}
Equations
The ultrafilter lemma: Any proper filter is contained in an ultrafilter.
Alias of exists_le
.
Construct an ultrafilter extending a given filter. The ultrafilter lemma is the assertion that such a filter exists; we use the axiom of choice to pick one.
Equations
A filter equals the intersection of all the ultrafilters which contain it.
The tendsto
relation can be checked on ultrafilters.
The ultrafilter extending the cofinite filter.
Equations
Alias of nmem_hyperfilter_of_finite
.
Alias of compl_mem_hyperfilter_of_finite
.
Ultrafilter extending the inf of a comapped ultrafilter and a principal ultrafilter.