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.Topology

57 declarations. Mathlib docs · Source

def LocallyFinite.Realizer.ctorIdx E1 #

{α : Type u_1} →
  {β : Type u_2} →
    {inst : TopologicalSpace α} → {F : Ctop.Realizer α} → {f : β → Set α} → LocallyFinite.Realizer F f → ℕ

def Ctop.ctorIdx E1 #

{α : Type u_1} → {σ : Type u_2} → Ctop α σ → ℕ

theorem Ctop.Realizer.mk.injEq E0 #

∀ {α : Type u_6} [T : TopologicalSpace α] (σ : Type u_5) (F : Ctop α σ) (eq : F.toTopsp = T) (σ_1 : Type u_5)
  (F_1 : Ctop α σ_1) (eq_1 : F_1.toTopsp = T),
  ({ σ := σ, F := F, eq := eq } = { σ := σ_1, F := F_1, eq := eq_1 }) = (σ = σ_1 ∧ F ≍ F_1)

theorem LocallyFinite.Realizer.mk.injEq E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] {F : Ctop.Realizer α} {f : β → Set α}
  (bas : (a : α) → { s // a ∈ F.F.f s }) (sets : (x : α) → Fintype ↑{i | (f i ∩ F.F.f ↑(bas x)).Nonempty})
  (bas_1 : (a : α) → { s // a ∈ F.F.f s }) (sets_1 : (x : α) → Fintype ↑{i | (f i ∩ F.F.f ↑(bas_1 x)).Nonempty}),
  ({ bas := bas, sets := sets } = { bas := bas_1, sets := sets_1 }) = (bas = bas_1 ∧ sets ≍ sets_1)

theorem Ctop.mk.injEq E0 #

∀ {α : Type u_1} {σ : Type u_2} (f : σ → Set α) (top : α → σ) (top_mem : ∀ (x : α), x ∈ f (top x))
  (inter : (a b : σ) → (x : α) → x ∈ f a ∩ f b → σ)
  (inter_mem : ∀ (a b : σ) (x : α) (h : x ∈ f a ∩ f b), x ∈ f (inter a b x h))
  (inter_sub : ∀ (a b : σ) (x : α) (h : x ∈ f a ∩ f b), f (inter a b x h) ⊆ f a ∩ f b) (f_1 : σ → Set α) (top_1 : α → σ)
  (top_mem_1 : ∀ (x : α), x ∈ f_1 (top_1 x)) (inter_1 : (a b : σ) → (x : α) → x ∈ f_1 a ∩ f_1 b → σ)
  (inter_mem_1 : ∀ (a b : σ) (x : α) (h : x ∈ f_1 a ∩ f_1 b), x ∈ f_1 (inter_1 a b x h))
  (inter_sub_1 : ∀ (a b : σ) (x : α) (h : x ∈ f_1 a ∩ f_1 b), f_1 (inter_1 a b x h) ⊆ f_1 a ∩ f_1 b),
  ({ f := f, top := top, top_mem := top_mem, inter := inter, inter_mem := inter_mem, inter_sub := inter_sub } =
      { f := f_1, top := top_1, top_mem := top_mem_1, inter := inter_1, inter_mem := inter_mem_1,
        inter_sub := inter_sub_1 }) =
    (f = f_1 ∧ top = top_1 ∧ inter ≍ inter_1)

theorem Ctop.mk.inj E1 #

∀ {α : Type u_1} {σ : Type u_2} {f : σ → Set α} {top : α → σ} {top_mem : ∀ (x : α), x ∈ f (top x)}
  {inter : (a b : σ) → (x : α) → x ∈ f a ∩ f b → σ}
  {inter_mem : ∀ (a b : σ) (x : α) (h : x ∈ f a ∩ f b), x ∈ f (inter a b x h)}
  {inter_sub : ∀ (a b : σ) (x : α) (h : x ∈ f a ∩ f b), f (inter a b x h) ⊆ f a ∩ f b} {f_1 : σ → Set α} {top_1 : α → σ}
  {top_mem_1 : ∀ (x : α), x ∈ f_1 (top_1 x)} {inter_1 : (a b : σ) → (x : α) → x ∈ f_1 a ∩ f_1 b → σ}
  {inter_mem_1 : ∀ (a b : σ) (x : α) (h : x ∈ f_1 a ∩ f_1 b), x ∈ f_1 (inter_1 a b x h)}
  {inter_sub_1 : ∀ (a b : σ) (x : α) (h : x ∈ f_1 a ∩ f_1 b), f_1 (inter_1 a b x h) ⊆ f_1 a ∩ f_1 b},
  { f := f, top := top, top_mem := top_mem, inter := inter, inter_mem := inter_mem, inter_sub := inter_sub } =
      { f := f_1, top := top_1, top_mem := top_mem_1, inter := inter_1, inter_mem := inter_mem_1,
        inter_sub := inter_sub_1 } →
    f = f_1 ∧ top = top_1 ∧ inter ≍ inter_1

theorem Ctop.Realizer.mk.inj E1 #

∀ {α : Type u_6} {T : TopologicalSpace α} {σ : Type u_5} {F : Ctop α σ} {eq : F.toTopsp = T} {σ_1 : Type u_5}
  {F_1 : Ctop α σ_1} {eq_1 : F_1.toTopsp = T},
  { σ := σ, F := F, eq := eq } = { σ := σ_1, F := F_1, eq := eq_1 } → σ = σ_1 ∧ F ≍ F_1

theorem LocallyFinite.Realizer.mk.inj E1 #

∀ {α : Type u_1} {β : Type u_2} {inst : TopologicalSpace α} {F : Ctop.Realizer α} {f : β → Set α}
  {bas : (a : α) → { s // a ∈ F.F.f s }} {sets : (x : α) → Fintype ↑{i | (f i ∩ F.F.f ↑(bas x)).Nonempty}}
  {bas_1 : (a : α) → { s // a ∈ F.F.f s }} {sets_1 : (x : α) → Fintype ↑{i | (f i ∩ F.F.f ↑(bas_1 x)).Nonempty}},
  { bas := bas, sets := sets } = { bas := bas_1, sets := sets_1 } → bas = bas_1 ∧ sets ≍ sets_1

def Ctop.Realizer.ctorIdx E1 #

{α : Type u_6} → {T : TopologicalSpace α} → Ctop.Realizer α → ℕ

structure Ctop E1 #

Type u_1 → Type u_2 → Type (max u_1 u_2)

A Ctop α σ is a realization of a topology (basis) on α, represented by a type σ together with operations for the top element and the intersection operation.

ctor Ctop.mk E0 #

{α : Type u_1} →
  {σ : Type u_2} →
    (f : σ → Set α) →
      (top : α → σ) →
        (∀ (x : α), x ∈ f (top x)) →
          (inter : (a b : σ) → (x : α) → x ∈ f a ∩ f b → σ) →
            (∀ (a b : σ) (x : α) (h : x ∈ f a ∩ f b), x ∈ f (inter a b x h)) →
              (∀ (a b : σ) (x : α) (h : x ∈ f a ∩ f b), f (inter a b x h) ⊆ f a ∩ f b) → Ctop α σ

abbrev Ctop.f E1 #

{α : Type u_1} → {σ : Type u_2} → Ctop α σ → σ → Set α

abbrev Ctop.top E1 #

{α : Type u_1} → {σ : Type u_2} → Ctop α σ → α → σ

theorem Ctop.top_mem E1 #

∀ {α : Type u_1} {σ : Type u_2} (self : Ctop α σ) (x : α), x ∈ self.f (self.top x)

abbrev Ctop.inter E1 #

{α : Type u_1} → {σ : Type u_2} → (self : Ctop α σ) → (a b : σ) → (x : α) → x ∈ self.f a ∩ self.f b → σ

theorem Ctop.inter_mem E1 #

∀ {α : Type u_1} {σ : Type u_2} (self : Ctop α σ) (a b : σ) (x : α) (h : x ∈ self.f a ∩ self.f b),
  x ∈ self.f (self.inter a b x h)

theorem Ctop.inter_sub E1 #

∀ {α : Type u_1} {σ : Type u_2} (self : Ctop α σ) (a b : σ) (x : α) (h : x ∈ self.f a ∩ self.f b),
  self.f (self.inter a b x h) ⊆ self.f a ∩ self.f b

instance instInhabitedCtopSet E0 #

{α : Type u_1} → Inhabited (Ctop α (Set α))

instance Ctop.instCoeFunForallSet E0 #

{α : Type u_1} → {σ : Type u_3} → CoeFun (Ctop α σ) fun x ↦ σ → Set α

theorem Ctop.coe_mk E0 #

∀ {α : Type u_1} {σ : Type u_3} (f : σ → Set α) (T : α → σ) (h₁ : ∀ (x : α), x ∈ f (T x))
  (I : (a b : σ) → (x : α) → x ∈ f a ∩ f b → σ) (h₂ : ∀ (a b : σ) (x : α) (h : x ∈ f a ∩ f b), x ∈ f (I a b x h))
  (h₃ : ∀ (a b : σ) (x : α) (h : x ∈ f a ∩ f b), f (I a b x h) ⊆ f a ∩ f b) (a : σ),
  { f := f, top := T, top_mem := h₁, inter := I, inter_mem := h₂, inter_sub := h₃ }.f a = f a

def Ctop.ofEquiv E1 #

{α : Type u_1} → {σ : Type u_3} → {τ : Type u_4} → σ ≃ τ → Ctop α σ → Ctop α τ

Map a Ctop to an equivalent representation type.

theorem Ctop.ofEquiv_val E0 #

∀ {α : Type u_1} {σ : Type u_3} {τ : Type u_4} (E : σ ≃ τ) (F : Ctop α σ) (a : τ),
  (Ctop.ofEquiv E F).f a = F.f (E.symm a)

def Ctop.toTopsp E1 #

{α : Type u_1} → {σ : Type u_3} → Ctop α σ → TopologicalSpace α

Every Ctop is a topological space.

theorem Ctop.toTopsp_isTopologicalBasis E1 #

∀ {α : Type u_1} {σ : Type u_3} (F : Ctop α σ), TopologicalSpace.IsTopologicalBasis (Set.range F.f)

theorem Ctop.mem_nhds_toTopsp E0 #

∀ {α : Type u_1} {σ : Type u_3} (F : Ctop α σ) {s : Set α} {a : α}, s ∈ nhds a ↔ ∃ b, a ∈ F.f b ∧ F.f b ⊆ s

structure Ctop.Realizer E1 #

(α : Type u_6) → [T : TopologicalSpace α] → Type (max (u_5 + 1) u_6)

A Ctop realizer for the topological space T is a Ctop which generates T.

ctor Ctop.Realizer.mk E0 #

{α : Type u_6} → [T : TopologicalSpace α] → (σ : Type u_5) → (F : Ctop α σ) → F.toTopsp = T → Ctop.Realizer α

abbrev Ctop.Realizer.σ E1 #

{α : Type u_6} → [T : TopologicalSpace α] → Ctop.Realizer α → Type u_5

abbrev Ctop.Realizer.F E1 #

{α : Type u_6} → [T : TopologicalSpace α] → (self : Ctop.Realizer α) → Ctop α self.σ

theorem Ctop.Realizer.eq E1 #

∀ {α : Type u_6} [T : TopologicalSpace α] (self : Ctop.Realizer α), self.F.toTopsp = T

def Ctop.toRealizer E1 #

{α : Type u_1} → {σ : Type u_3} → (F : Ctop α σ) → Ctop.Realizer α

A Ctop realizes the topological space it generates.

instance instInhabitedRealizer E0 #

{α : Type u_1} → {σ : Type u_3} → (F : Ctop α σ) → Inhabited (Ctop.Realizer α)

theorem Ctop.Realizer.is_basis E1 #

∀ {α : Type u_1} [T : TopologicalSpace α] (F : Ctop.Realizer α), TopologicalSpace.IsTopologicalBasis (Set.range F.F.f)

theorem Ctop.Realizer.mem_nhds E0 #

∀ {α : Type u_1} [T : TopologicalSpace α] (F : Ctop.Realizer α) {s : Set α} {a : α},
  s ∈ nhds a ↔ ∃ b, a ∈ F.F.f b ∧ F.F.f b ⊆ s

theorem Ctop.Realizer.isOpen_iff E0 #

∀ {α : Type u_1} [inst : TopologicalSpace α] (F : Ctop.Realizer α) {s : Set α},
  IsOpen s ↔ ∀ a ∈ s, ∃ b, a ∈ F.F.f b ∧ F.F.f b ⊆ s

theorem Ctop.Realizer.isClosed_iff E0 #

∀ {α : Type u_1} [inst : TopologicalSpace α] (F : Ctop.Realizer α) {s : Set α},
  IsClosed s ↔ ∀ (a : α), (∀ (b : F.σ), a ∈ F.F.f b → ∃ z, z ∈ F.F.f b ∩ s) → a ∈ s

theorem Ctop.Realizer.mem_interior_iff E0 #

∀ {α : Type u_1} [inst : TopologicalSpace α] (F : Ctop.Realizer α) {s : Set α} {a : α},
  a ∈ interior s ↔ ∃ b, a ∈ F.F.f b ∧ F.F.f b ⊆ s

theorem Ctop.Realizer.isOpen E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] (F : Ctop.Realizer α) (s : F.σ), IsOpen (F.F.f s)

theorem Ctop.Realizer.ext' E1 #

∀ {α : Type u_1} [T : TopologicalSpace α] {σ : Type u_5} {F : Ctop α σ},
  (∀ (a : α) (s : Set α), s ∈ nhds a ↔ ∃ b, a ∈ F.f b ∧ F.f b ⊆ s) → F.toTopsp = T

theorem Ctop.Realizer.ext E1 #

∀ {α : Type u_1} [T : TopologicalSpace α] {σ : Type u_5} {F : Ctop α σ},
  (∀ (a : σ), IsOpen (F.f a)) → (∀ (a : α), ∀ s ∈ nhds a, ∃ b, a ∈ F.f b ∧ F.f b ⊆ s) → F.toTopsp = T

def Ctop.Realizer.id E1 #

{α : Type u_1} → [inst : TopologicalSpace α] → Ctop.Realizer α

The topological space realizer made of the open sets.

def Ctop.Realizer.ofEquiv E1 #

{α : Type u_1} → {τ : Type u_4} → [inst : TopologicalSpace α] → (F : Ctop.Realizer α) → F.σ ≃ τ → Ctop.Realizer α

Replace the representation type of a Ctop realizer.

theorem Ctop.Realizer.ofEquiv_σ E0 #

∀ {α : Type u_1} {τ : Type u_4} [inst : TopologicalSpace α] (F : Ctop.Realizer α) (E : F.σ ≃ τ), (F.ofEquiv E).σ = τ

theorem Ctop.Realizer.ofEquiv_F E0 #

∀ {α : Type u_1} {τ : Type u_4} [inst : TopologicalSpace α] (F : Ctop.Realizer α) (E : F.σ ≃ τ) (s : τ),
  (F.ofEquiv E).F.f s = F.F.f (E.symm s)

def Ctop.Realizer.nhds E1 #

{α : Type u_1} → [inst : TopologicalSpace α] → Ctop.Realizer α → (a : α) → (nhds a).Realizer

A realizer of the neighborhood of a point.

theorem Ctop.Realizer.nhds_σ E0 #

∀ {α : Type u_1} [inst : TopologicalSpace α] (F : Ctop.Realizer α) (a : α), (F.nhds a).σ = { s // a ∈ F.F.f s }

theorem Ctop.Realizer.nhds_F E0 #

∀ {α : Type u_1} [inst : TopologicalSpace α] (F : Ctop.Realizer α) (a : α) (s : (F.nhds a).σ),
  (F.nhds a).F.f s = F.F.f ↑s

theorem Ctop.Realizer.tendsto_nhds_iff E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] {m : β → α} {f : Filter β} (F : f.Realizer)
  (R : Ctop.Realizer α) {a : α},
  Filter.Tendsto m f (nhds a) ↔ ∀ (t : R.σ), a ∈ R.F.f t → ∃ s, ∀ x ∈ F.F.f s, m x ∈ R.F.f t

structure LocallyFinite.Realizer E1 #

{α : Type u_1} →
  {β : Type u_2} → [inst : TopologicalSpace α] → Ctop.Realizer α → (β → Set α) → Type (max (max u_1 u_2) u_5)

A LocallyFinite.Realizer F f is a realization that f is locally finite, namely it is a choice of open sets from the basis of F such that they intersect only finitely many of the values of f.

ctor LocallyFinite.Realizer.mk E0 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : TopologicalSpace α] →
      {F : Ctop.Realizer α} →
        {f : β → Set α} →
          (bas : (a : α) → { s // a ∈ F.F.f s }) →
            ((x : α) → Fintype ↑{i | (f i ∩ F.F.f ↑(bas x)).Nonempty}) → LocallyFinite.Realizer F f

abbrev LocallyFinite.Realizer.bas E1 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : TopologicalSpace α] →
      {F : Ctop.Realizer α} → {f : β → Set α} → LocallyFinite.Realizer F f → (a : α) → { s // a ∈ F.F.f s }

abbrev LocallyFinite.Realizer.sets E1 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : TopologicalSpace α] →
      {F : Ctop.Realizer α} →
        {f : β → Set α} →
          (self : LocallyFinite.Realizer F f) → (x : α) → Fintype ↑{i | (f i ∩ F.F.f ↑(self.bas x)).Nonempty}

theorem LocallyFinite.Realizer.to_locallyFinite E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] {F : Ctop.Realizer α} {f : β → Set α}
  (R : LocallyFinite.Realizer F f), LocallyFinite f

theorem locallyFinite_iff_exists_realizer E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] (F : Ctop.Realizer α) {f : β → Set α},
  LocallyFinite f ↔ Nonempty (LocallyFinite.Realizer F f)

instance instNonemptyRealizerOfFinite E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [Finite β] (F : Ctop.Realizer α) (f : β → Set α),
  Nonempty (LocallyFinite.Realizer F f)

def Compact.Realizer E1 #

{α : Type u_1} → [TopologicalSpace α] → Set α → Type (max (max (max u_1 (u_5 + 1)) u_5) u_1)

A Compact.Realizer s is a realization that s is compact, namely it is a choice of finite open covers for each set family covering s.

instance instInhabitedRealizerEmptyCollectionSet E0 #

{α : Type u_1} → [inst : TopologicalSpace α] → Inhabited (Compact.Realizer ∅)