The areas / V27. Algebraic topology and condensed mathematics
Mathlib.Topology.Category.Compactum
39 declarations. Mathlib docs · Source
Compacta and Compact Hausdorff Spaces
Recall that, given a monad M on Type*, an algebra for M consists of the following data:
- A type
X : Type* - A "structure" map
M X → X.
This data must also satisfy a distributivity and unit axiom, and algebras for M form a category
in an evident way.
See the file Mathlib/CategoryTheory/Monad/Algebra.lean for a general version, as well as the
following link.
https://ncatlab.org/nlab/show/monad
This file proves the equivalence between the category of compact Hausdorff topological spaces and the category of algebras for the ultrafilter monad.
Notation
Here are the main objects introduced in this file.
Compactumis the type of compacta, which we define as algebras for the ultrafilter monad.compactumToCompHausis the functorCompactum ⥤ CompHaus. HereCompHausis the usual category of compact Hausdorff spaces.compactumToCompHaus.isEquivalenceis a term of typeIsEquivalence compactumToCompHaus.
The proof of this equivalence is a bit technical. But the idea is quite simply that the structure
map Ultrafilter X → X for an algebra X of the ultrafilter monad should be considered as the map
sending an ultrafilter to its limit in X. The topology on X is then defined by mimicking the
characterization of open sets in terms of ultrafilters.
Any X : Compactum is endowed with a coercion to Type*, as well as the following instances:
TopologicalSpace X.CompactSpace X.T2Space X.
Any morphism f : X ⟶ Y of is endowed with a coercion to a function X → Y, which is shown to
be continuous in continuous_of_hom.
The function Compactum.ofTopologicalSpace can be used to construct a Compactum from a
topological space which satisfies CompactSpace and T2Space.
We also add wrappers around structures which already exist. Here are the main ones, all in the
Compactum namespace:
forget : Compactum ⥤ Type*is the forgetful functor, which induces aConcreteCategoryinstance forCompactum.free : Type* ⥤ Compactumis the left adjoint toforget, and the adjunction is inadj.str : Ultrafilter X → Xis the structure map forX : Compactum. The notationX.stris preferred.join : Ultrafilter (Ultrafilter X) → Ultrafilter Xis the monadic join forX : Compactum. Again, the notationX.joinis preferred.incl : X → Ultrafilter Xis the unit forX : Compactum. The notationX.inclis preferred.
References
- E. Manes, Algebraic Theories, Graduate Texts in Mathematics 26, Springer-Verlag, 1976.
- https://ncatlab.org/nlab/show/ultrafilter
def Compactum E1 #
Type (u_1 + 1)
The type Compactum of Compacta, defined as algebras for the ultrafilter monad.
instance instInhabitedCompactum E0 #
Inhabited Compactum
instance instCategoryCompactum E0 #
CategoryTheory.Category.{u_1, u_1 + 1} Compactum
def Compactum.forget E1 #
CategoryTheory.Functor Compactum (Type u_1)
The forgetful functor to TypeCat
instance Compactum.instFaithfulForget E0 #
Compactum.forget.Faithful
instance Compactum.instCreatesLimitsForget E0 #
CategoryTheory.CreatesLimits Compactum.forget
def Compactum.free E1 #
CategoryTheory.Functor (Type u_1) Compactum
The "free" Compactum functor.
def Compactum.adj E1 #
Compactum.free ⊣ Compactum.forget
The adjunction between free and forget.
instance Compactum.instCoeSortType E0 #
CoeSort Compactum (Type u_1)
instance Compactum.instFunLikeHomA E0 #
{X Y : Compactum} → FunLike (X ⟶ Y) X.A Y.A
instance Compactum.instConcreteCategoryHomA E0 #
CategoryTheory.ConcreteCategory Compactum fun x1 x2 ↦ x1 ⟶ x2
instance Compactum.instHasLimits E0 #
CategoryTheory.Limits.HasLimits Compactum
def Compactum.str E1 #
(X : Compactum) → Ultrafilter X.A → X.A
The structure map for a compactum, essentially sending an ultrafilter to its limit.
def Compactum.join E1 #
(X : Compactum) → Ultrafilter (Ultrafilter X.A) → Ultrafilter X.A
The monadic join.
def Compactum.incl E1 #
(X : Compactum) → X.A → Ultrafilter X.A
The inclusion of X into Ultrafilter X.
theorem Compactum.str_incl E0 #
∀ (X : Compactum) (x : X.A), X.str (X.incl x) = x
theorem Compactum.str_hom_commute E0 #
∀ (X Y : Compactum) (f : X ⟶ Y) (xs : Ultrafilter X.A),
(CategoryTheory.ConcreteCategory.hom f) (X.str xs) =
Y.str (Ultrafilter.map (⇑(CategoryTheory.ConcreteCategory.hom f)) xs)
theorem Compactum.join_distrib E0 #
∀ (X : Compactum) (uux : Ultrafilter (Ultrafilter X.A)), X.str (X.join uux) = X.str (Ultrafilter.map X.str uux)
instance Compactum.instTopologicalSpaceA E0 #
{X : Compactum} → TopologicalSpace X.A
theorem Compactum.isClosed_iff E0 #
∀ {X : Compactum} (S : Set X.A), IsClosed S ↔ ∀ (F : Ultrafilter X.A), S ∈ F → X.str F ∈ S
instance Compactum.instCompactSpaceA E0 #
∀ {X : Compactum}, CompactSpace X.A
theorem Compactum.isClosed_cl E1 #
∀ {X : Compactum} (A : Set X.A), IsClosed (Compactum.cl✝ A)
theorem Compactum.str_eq_of_le_nhds E1 #
∀ {X : Compactum} (F : Ultrafilter X.A) (x : X.A), ↑F ≤ nhds x → X.str F = x
theorem Compactum.le_nhds_of_str_eq E0 #
∀ {X : Compactum} (F : Ultrafilter X.A) (x : X.A), X.str F = x → ↑F ≤ nhds x
instance Compactum.instT2SpaceA E0 #
∀ {X : Compactum}, T2Space X.A
theorem Compactum.lim_eq_str E1 #
∀ {X : Compactum} (F : Ultrafilter X.A), F.lim = X.str F
The structure map of a compactum actually computes limits.
theorem Compactum.cl_eq_closure E1 #
∀ {X : Compactum} (A : Set X.A), Compactum.cl✝ A = closure A
theorem Compactum.continuous_of_hom E1 #
∀ {X Y : Compactum} (f : X ⟶ Y), Continuous ⇑(CategoryTheory.ConcreteCategory.hom f)
Any morphism of compacta is continuous.
def Compactum.ofTopologicalSpace E1 #
(X : Type u_1) → [inst : TopologicalSpace X] → [CompactSpace X] → [T2Space X] → Compactum
Given any compact Hausdorff space, we construct a Compactum.
def Compactum.homOfContinuous E1 #
{X Y : Compactum} → (f : X.A → Y.A) → Continuous f → (X ⟶ Y)
Any continuous map between Compacta is a morphism of compacta.
def compactumToCompHaus E1 #
CategoryTheory.Functor Compactum CompHaus
The functor from Compactum to CompHaus.
instance compactumToCompHaus.full E0 #
compactumToCompHaus.Full
The functor compactumToCompHaus is full.
instance compactumToCompHaus.faithful E0 #
compactumToCompHaus.Faithful
The functor compactumToCompHaus is faithful.
def compactumToCompHaus.isoOfTopologicalSpace E1 #
{D : CompHaus} → compactumToCompHaus.obj (Compactum.ofTopologicalSpace ↑D.toTop) ≅ D
This definition is used to prove essential surjectivity of compactumToCompHaus.
instance compactumToCompHaus.essSurj E0 #
compactumToCompHaus.EssSurj
The functor compactumToCompHaus is essentially surjective.
instance compactumToCompHaus.isEquivalence E0 #
compactumToCompHaus.IsEquivalence
The functor compactumToCompHaus is an equivalence of categories.
def compactumToCompHausCompForget E1 #
compactumToCompHaus.comp (CategoryTheory.forget CompHaus) ≅ Compactum.forget
The forgetful functors of Compactum and CompHaus are compatible via
compactumToCompHaus.
instance CompHaus.forgetCreatesLimits E0 #
CategoryTheory.CreatesLimits (CategoryTheory.forget CompHaus)
instance Profinite.forgetCreatesLimits E0 #
CategoryTheory.CreatesLimits (CategoryTheory.forget Profinite)