/-
Copyright (c) 2023 Dagur Asgeirsson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Dagur Asgeirsson
-/
module
public import Mathlib.Topology.Category.Stonean.Basic
/-!
# Adjunctions involving the category of Stonean spaces
This file constructs the left adjoint `typeToStonean` to the forgetful functor from Stonean spaces
to sets, using the Stone-Cech compactification. This allows to conclude that the monomorphisms in
`Stonean` are precisely the injective maps (see `Stonean.mono_iff_injective`).
-/
@[expose] public section
universe u
open CategoryTheory Adjunction
namespace Stonean
/-- The object part of the compactification functor from types to Stonean spaces. -/
def stoneCechObj (X : Type u) : Stonean :=
letI : TopologicalSpace X := ⊥
haveI : DiscreteTopology X := ⟨rfl⟩
haveI : ExtremallyDisconnected (StoneCech X) :=
CompactT2.Projective.extremallyDisconnected StoneCech.projective
of (StoneCech X)
/-- The equivalence of homsets to establish the adjunction between the Stone-Cech compactification
functor and the forgetful functor. -/
noncomputable def stoneCechEquivalence (X : Type u) (Y : Stonean.{u}) :
(stoneCechObj X ⟶ Y) ≃ (X ⟶ Y) := by
letI : TopologicalSpace X := ⊥
haveI : DiscreteTopology X := ⟨rfl⟩
refine fullyFaithfulToCompHaus.homEquiv.trans ?_
exact (_root_.stoneCechEquivalence ↧X (toCompHaus.obj Y)).trans
(TopCat.adj₁.homEquiv _ _)
end Stonean
/-- The Stone-Cech compactification functor from types to Stonean spaces. -/
noncomputable def typeToStonean : Type u ⥤ Stonean.{u} :=
leftAdjointOfEquiv (G := forget _) Stonean.stoneCechEquivalence fun _ _ _ _ _ => rfl
namespace Stonean
/-- The Stone-Cech compactification functor is left adjoint to the forgetful functor. -/
noncomputable def stoneCechAdjunction : typeToStonean ⊣ (forget Stonean) :=
adjunctionOfEquivLeft (G := forget _) stoneCechEquivalence fun _ _ _ _ _ => rfl
/-- The forgetful functor from Stonean spaces, being a right adjoint, preserves limits. -/
noncomputable instance forget.preservesLimits : Limits.PreservesLimits (forget Stonean) :=
rightAdjoint_preservesLimits stoneCechAdjunction
end Stonean
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland