Computational realization of filters (experimental) #
This file provides infrastructure to compute with filters.
Main declarations #
@[implicit_reducible]
instance
instInhabitedCFilter
{α : Type u_1}
[Inhabited α]
[SemilatticeInf α]
:
Inhabited (CFilter α α)
@[implicit_reducible]
theorem
CFilter.coe_mk
{α : Type u_1}
{σ : Type u_3}
[PartialOrder α]
(f : σ → α)
(pt : σ)
(inf : σ → σ → σ)
(h₁ : ∀ (a b : σ), f (inf a b) ≤ f a)
(h₂ : ∀ (a b : σ), f (inf a b) ≤ f b)
(a : σ)
:
Map a CFilter to an equivalent representation type.
Instances For
@[simp]
The filter represented by a CFilter is the collection of supersets of
elements of the filter base.
Instances For
@[simp]
A CFilter realizes the filter it generates.
Instances For
Transfer a realizer along an equality of filter. This has better definitional equalities than
the Eq.rec proof.
Instances For
A filter realizes itself.
Instances For
Unit is a realizer for the principal filter
Instances For
@[simp]
@[simp]
theorem
Filter.Realizer.principal_F
{α : Type u_1}
(s : Set α)
(u : Unit)
:
(Realizer.principal s).F.f u = s
@[implicit_reducible]
Unit is a realizer for the top filter
Instances For
@[simp]
Unit is a realizer for the bottom filter
Instances For
@[simp]
@[simp]
theorem
Filter.Realizer.map_σ
{α : Type u_1}
{β : Type u_2}
(m : α → β)
{f : Filter α}
(F : f.Realizer)
:
(Realizer.map m F).σ = F.σ
@[simp]
theorem
Filter.Realizer.map_F
{α : Type u_1}
{β : Type u_2}
(m : α → β)
{f : Filter α}
(F : f.Realizer)
(s : (Realizer.map m F).σ)
:
Construct a realizer for the cofinite filter
Instances For
Construct a realizer for the product of filters