/-
Copyright (c) 2022 Yaël Dillies. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yaël Dillies
-/
module
public import Mathlib.Topology.Category.CompHaus.Frm
set_option doc.verso true
set_option doc.verso.suggestions false
/-!
# The category of locales
This file defines `Locale`, the category of locales. This is the opposite of the category of frames.
-/
@[expose] public section
universe u
open CategoryTheory Opposite Order TopologicalSpace
/-- The category of locales. -/
def Locale :=
Frmᵒᵖ deriving LargeCategory
namespace Locale
instance : CoeSort Locale Type* :=
⟨fun X => X.unop⟩
instance (X : Locale) : Frame X :=
X.unop.str
/-- Construct a bundled `Locale` from a `Frame`. -/
def of (α : Type*) [Frame α] : Locale :=
op ↧α
open Lean.PrettyPrinter.Delaborator in
/-- This prints `Locale.of X` as `↧X`. -/
@[app_delab Locale.of]
meta def delabOf : Delab := CategoryTheory.delabOf
@[simp]
theorem coe_of (α : Type*) [Frame α] : ↥(of α) = α :=
rfl
instance : Inhabited Locale :=
⟨of PUnit⟩
end Locale
/-- The forgetful functor from `Top` to `Locale` which forgets that the space has "enough points".
-/
@[simps!]
def topToLocale : TopCat ⥤ Locale :=
topCatOpToFrm.rightOp
-- Note, `CompHaus` is too strong. We only need `T0Space`.
instance CompHausToLocale.faithful : (compHausToTop ⋙ topToLocale.{u}).Faithful :=
⟨fun h => by
dsimp at h
exact ConcreteCategory.ext (Opens.comap_injective congr($(Quiver.Hom.op_inj h).hom))⟩
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.1Angebot
(Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-11-24)
¤
*Eine klare Vorstellung vom Zielzustand