The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V13. General topology

Mathlib.Data.Analysis.Filter

56 declarations. Mathlib docs · Source

theorem CFilter.mk.injEq E0 #

∀ {α : Type u_1} {σ : Type u_2} [inst : PartialOrder α] (f : σ → α) (pt : σ) (inf : σ → σ → σ)
  (inf_le_left : ∀ (a b : σ), f (inf a b) ≤ f a) (inf_le_right : ∀ (a b : σ), f (inf a b) ≤ f b) (f_1 : σ → α)
  (pt_1 : σ) (inf_1 : σ → σ → σ) (inf_le_left_1 : ∀ (a b : σ), f_1 (inf_1 a b) ≤ f_1 a)
  (inf_le_right_1 : ∀ (a b : σ), f_1 (inf_1 a b) ≤ f_1 b),
  ({ f := f, pt := pt, inf := inf, inf_le_left := inf_le_left, inf_le_right := inf_le_right } =
      { f := f_1, pt := pt_1, inf := inf_1, inf_le_left := inf_le_left_1, inf_le_right := inf_le_right_1 }) =
    (f = f_1 ∧ pt = pt_1 ∧ inf = inf_1)

def Filter.Realizer.ctorIdx E1 #

{α : Type u_1} → {f : Filter α} → f.Realizer → ℕ

theorem CFilter.mk.congr_simp E1 #

∀ {α : Type u_1} {σ : Type u_2} [inst : PartialOrder α] (f f_1 : σ → α) (e_f : f = f_1) (pt pt_1 : σ),
  pt = pt_1 →
    ∀ (inf inf_1 : σ → σ → σ) (e_inf : inf = inf_1) (inf_le_left : ∀ (a b : σ), f (inf a b) ≤ f a)
      (inf_le_right : ∀ (a b : σ), f (inf a b) ≤ f b),
      { f := f, pt := pt, inf := inf, inf_le_left := inf_le_left, inf_le_right := inf_le_right } =
        { f := f_1, pt := pt_1, inf := inf_1, inf_le_left := ⋯, inf_le_right := ⋯ }

theorem Filter.Realizer.mk.injEq E0 #

∀ {α : Type u_1} {f : Filter α} (σ : Type u_5) (F : CFilter (Set α) σ) (eq : F.toFilter = f) (σ_1 : Type u_5)
  (F_1 : CFilter (Set α) σ_1) (eq_1 : F_1.toFilter = f),
  ({ σ := σ, F := F, eq := eq } = { σ := σ_1, F := F_1, eq := eq_1 }) = (σ = σ_1 ∧ F ≍ F_1)

def CFilter.ctorIdx E1 #

{α : Type u_1} → {σ : Type u_2} → {inst : PartialOrder α} → CFilter α σ → ℕ

theorem CFilter.mk.inj E1 #

∀ {α : Type u_1} {σ : Type u_2} {inst : PartialOrder α} {f : σ → α} {pt : σ} {inf : σ → σ → σ}
  {inf_le_left : ∀ (a b : σ), f (inf a b) ≤ f a} {inf_le_right : ∀ (a b : σ), f (inf a b) ≤ f b} {f_1 : σ → α}
  {pt_1 : σ} {inf_1 : σ → σ → σ} {inf_le_left_1 : ∀ (a b : σ), f_1 (inf_1 a b) ≤ f_1 a}
  {inf_le_right_1 : ∀ (a b : σ), f_1 (inf_1 a b) ≤ f_1 b},
  { f := f, pt := pt, inf := inf, inf_le_left := inf_le_left, inf_le_right := inf_le_right } =
      { f := f_1, pt := pt_1, inf := inf_1, inf_le_left := inf_le_left_1, inf_le_right := inf_le_right_1 } →
    f = f_1 ∧ pt = pt_1 ∧ inf = inf_1

theorem Filter.Realizer.mk.inj E1 #

∀ {α : Type u_1} {f : Filter α} {σ : Type u_5} {F : CFilter (Set α) σ} {eq : F.toFilter = f} {σ_1 : Type u_5}
  {F_1 : CFilter (Set α) σ_1} {eq_1 : F_1.toFilter = f},
  { σ := σ, F := F, eq := eq } = { σ := σ_1, F := F_1, eq := eq_1 } → σ = σ_1 ∧ F ≍ F_1

structure CFilter E1 #

(α : Type u_1) → Type u_2 → [PartialOrder α] → Type (max u_1 u_2)

A CFilter α σ is a realization of a filter (base) on α, represented by a type σ together with operations for the top element and the binary inf operation.

ctor CFilter.mk E0 #

{α : Type u_1} →
  {σ : Type u_2} →
    [inst : PartialOrder α] →
      (f : σ → α) →
        σ → (inf : σ → σ → σ) → (∀ (a b : σ), f (inf a b) ≤ f a) → (∀ (a b : σ), f (inf a b) ≤ f b) → CFilter α σ

abbrev CFilter.f E1 #

{α : Type u_1} → {σ : Type u_2} → [inst : PartialOrder α] → CFilter α σ → σ → α

abbrev CFilter.pt E1 #

{α : Type u_1} → {σ : Type u_2} → [inst : PartialOrder α] → CFilter α σ → σ

abbrev CFilter.inf E1 #

{α : Type u_1} → {σ : Type u_2} → [inst : PartialOrder α] → CFilter α σ → σ → σ → σ

theorem CFilter.inf_le_left E1 #

∀ {α : Type u_1} {σ : Type u_2} [inst : PartialOrder α] (self : CFilter α σ) (a b : σ), self.f (self.inf a b) ≤ self.f a

theorem CFilter.inf_le_right E1 #

∀ {α : Type u_1} {σ : Type u_2} [inst : PartialOrder α] (self : CFilter α σ) (a b : σ), self.f (self.inf a b) ≤ self.f b

instance instInhabitedCFilter E0 #

{α : Type u_1} → [Inhabited α] → [inst : SemilatticeInf α] → Inhabited (CFilter α α)

instance CFilter.instCoeFunForall E0 #

{α : Type u_1} → {σ : Type u_3} → [inst : PartialOrder α] → CoeFun (CFilter α σ) fun x ↦ σ → α

theorem CFilter.coe_mk E0 #

∀ {α : Type u_1} {σ : Type u_3} [inst : PartialOrder α] (f : σ → α) (pt : σ) (inf : σ → σ → σ)
  (h₁ : ∀ (a b : σ), f (inf a b) ≤ f a) (h₂ : ∀ (a b : σ), f (inf a b) ≤ f b) (a : σ),
  { f := f, pt := pt, inf := inf, inf_le_left := h₁, inf_le_right := h₂ }.f a = f a

def CFilter.ofEquiv E1 #

{α : Type u_1} → {σ : Type u_3} → {τ : Type u_4} → [inst : PartialOrder α] → σ ≃ τ → CFilter α σ → CFilter α τ

Map a CFilter to an equivalent representation type.

theorem CFilter.ofEquiv_val E0 #

∀ {α : Type u_1} {σ : Type u_3} {τ : Type u_4} [inst : PartialOrder α] (E : σ ≃ τ) (F : CFilter α σ) (a : τ),
  (CFilter.ofEquiv E F).f a = F.f (E.symm a)

def CFilter.toFilter E1 #

{α : Type u_1} → {σ : Type u_3} → CFilter (Set α) σ → Filter α

The filter represented by a CFilter is the collection of supersets of elements of the filter base.

theorem CFilter.mem_toFilter_sets E0 #

∀ {α : Type u_1} {σ : Type u_3} (F : CFilter (Set α) σ) {a : Set α}, a ∈ F.toFilter ↔ ∃ b, F.f b ⊆ a

structure Filter.Realizer E1 #

{α : Type u_1} → Filter α → Type (max u_1 (u_5 + 1))

A realizer for filter f is a CFilter which generates f.

ctor Filter.Realizer.mk E0 #

{α : Type u_1} → {f : Filter α} → (σ : Type u_5) → (F : CFilter (Set α) σ) → F.toFilter = f → f.Realizer

abbrev Filter.Realizer.σ E1 #

{α : Type u_1} → {f : Filter α} → f.Realizer → Type u_5

abbrev Filter.Realizer.F E1 #

{α : Type u_1} → {f : Filter α} → (self : f.Realizer) → CFilter (Set α) self.σ

theorem Filter.Realizer.eq E1 #

∀ {α : Type u_1} {f : Filter α} (self : f.Realizer), self.F.toFilter = f

def CFilter.toRealizer E1 #

{α : Type u_1} → {σ : Type u_3} → (F : CFilter (Set α) σ) → F.toFilter.Realizer

A CFilter realizes the filter it generates.

theorem Filter.Realizer.mem_sets E0 #

∀ {α : Type u_1} {f : Filter α} (F : f.Realizer) {a : Set α}, a ∈ f ↔ ∃ b, F.F.f b ⊆ a

def Filter.Realizer.ofEq E1 #

{α : Type u_1} → {f g : Filter α} → f = g → f.Realizer → g.Realizer

Transfer a realizer along an equality of filter. This has better definitional equalities than the Eq.rec proof.

def Filter.Realizer.ofFilter E1 #

{α : Type u_1} → (f : Filter α) → f.Realizer

A filter realizes itself.

def Filter.Realizer.ofEquiv E1 #

{α : Type u_1} → {τ : Type u_4} → {f : Filter α} → (F : f.Realizer) → F.σ ≃ τ → f.Realizer

Transfer a filter realizer to another realizer on a different base type.

theorem Filter.Realizer.ofEquiv_σ E0 #

∀ {α : Type u_1} {τ : Type u_4} {f : Filter α} (F : f.Realizer) (E : F.σ ≃ τ), (F.ofEquiv E).σ = τ

theorem Filter.Realizer.ofEquiv_F E0 #

∀ {α : Type u_1} {τ : Type u_4} {f : Filter α} (F : f.Realizer) (E : F.σ ≃ τ) (s : τ),
  (F.ofEquiv E).F.f s = F.F.f (E.symm s)

def Filter.Realizer.principal E1 #

{α : Type u_1} → (s : Set α) → (Filter.principal s).Realizer

Unit is a realizer for the principal filter

theorem Filter.Realizer.principal_σ E0 #

∀ {α : Type u_1} (s : Set α), (Filter.Realizer.principal s).σ = Unit

theorem Filter.Realizer.principal_F E0 #

∀ {α : Type u_1} (s : Set α) (u : Unit), (Filter.Realizer.principal s).F.f u = s

instance Filter.Realizer.instInhabitedPrincipal E0 #

{α : Type u_1} → (s : Set α) → Inhabited (Filter.principal s).Realizer

def Filter.Realizer.top E1 #

{α : Type u_1} → ⊤.Realizer

Unit is a realizer for the top filter

theorem Filter.Realizer.top_σ E0 #

∀ {α : Type u_1}, Filter.Realizer.top.σ = Unit

theorem Filter.Realizer.top_F E0 #

∀ {α : Type u_1} (u : Unit), Filter.Realizer.top.F.f u = Set.univ

def Filter.Realizer.bot E1 #

{α : Type u_1} → ⊥.Realizer

Unit is a realizer for the bottom filter

theorem Filter.Realizer.bot_σ E0 #

∀ {α : Type u_1}, Filter.Realizer.bot.σ = Unit

theorem Filter.Realizer.bot_F E0 #

∀ {α : Type u_1} (u : Unit), Filter.Realizer.bot.F.f u = ∅

def Filter.Realizer.map E1 #

{α : Type u_1} → {β : Type u_2} → (m : α → β) → {f : Filter α} → f.Realizer → (Filter.map m f).Realizer

Construct a realizer for map m f given a realizer for f

theorem Filter.Realizer.map_σ E0 #

∀ {α : Type u_1} {β : Type u_2} (m : α → β) {f : Filter α} (F : f.Realizer), (Filter.Realizer.map m F).σ = F.σ

theorem Filter.Realizer.map_F E0 #

∀ {α : Type u_1} {β : Type u_2} (m : α → β) {f : Filter α} (F : f.Realizer) (s : (Filter.Realizer.map m F).σ),
  (Filter.Realizer.map m F).F.f s = m '' F.F.f s

def Filter.Realizer.comap E1 #

{α : Type u_1} → {β : Type u_2} → (m : α → β) → {f : Filter β} → f.Realizer → (Filter.comap m f).Realizer

Construct a realizer for comap m f given a realizer for f

def Filter.Realizer.sup E1 #

{α : Type u_1} → {f g : Filter α} → f.Realizer → g.Realizer → (f ⊔ g).Realizer

Construct a realizer for the sup of two filters

def Filter.Realizer.inf E1 #

{α : Type u_1} → {f g : Filter α} → f.Realizer → g.Realizer → (f ⊓ g).Realizer

Construct a realizer for the inf of two filters

def Filter.Realizer.cofinite E1 #

{α : Type u_1} → [DecidableEq α] → Filter.cofinite.Realizer

Construct a realizer for the cofinite filter

def Filter.Realizer.bind E1 #

{α : Type u_1} →
  {β : Type u_2} → {f : Filter α} → {m : α → Filter β} → f.Realizer → ((i : α) → (m i).Realizer) → (f.bind m).Realizer

Construct a realizer for filter bind

def Filter.Realizer.iSup E1 #

{α : Type u_1} → {β : Type u_2} → {f : α → Filter β} → ((i : α) → (f i).Realizer) → (⨆ i, f i).Realizer

Construct a realizer for indexed supremum

def Filter.Realizer.prod E1 #

{α : Type u_1} → {f g : Filter α} → f.Realizer → g.Realizer → (f ×ˢ g).Realizer

Construct a realizer for the product of filters

theorem Filter.Realizer.le_iff E0 #

∀ {α : Type u_1} {f g : Filter α} (F : f.Realizer) (G : g.Realizer), f ≤ g ↔ ∀ (b : G.σ), ∃ a, F.F.f a ⊆ G.F.f b

theorem Filter.Realizer.tendsto_iff E0 #

∀ {α : Type u_1} {β : Type u_2} (f : α → β) {l₁ : Filter α} {l₂ : Filter β} (L₁ : l₁.Realizer) (L₂ : l₂.Realizer),
  Filter.Tendsto f l₁ l₂ ↔ ∀ (b : L₂.σ), ∃ a, ∀ x ∈ L₁.F.f a, f x ∈ L₂.F.f b

theorem Filter.Realizer.ne_bot_iff E0 #

∀ {α : Type u_1} {f : Filter α} (F : f.Realizer), f ≠ ⊥ ↔ ∀ (a : F.σ), (F.F.f a).Nonempty