Category instance for topological spaces #
We introduce the bundled category TopCat
of topological spaces together with the functors
TopCat.discrete
and TopCat.trivial
from the category of types to TopCat
which equip a type
with the corresponding discrete, resp. trivial, topology. For a proof that these functors are left,
resp. right adjoint to the forgetful functor, see
Mathlib/Topology/Category/TopCat/Adjunctions.lean
.
The category of topological spaces.
- carrier : Type u
The underlying type.
- str : TopologicalSpace ↑self
Instances For
Equations
Typecheck a ContinuousMap
as a morphism in TopCat
.
Equations
Instances For
The results below duplicate the ConcreteCategory
simp lemmas, but we can keep them for dsimp
.
Replace a function coercion for a morphism TopCat.of X ⟶ TopCat.of Y
with the definitionally
equal function coercion for a continuous map C(X, Y)
.
The discrete topology on any type.
Equations
Instances For
The trivial topology on any type.