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.
- of :: (
- carrier : Type u
The underlying type.
- str : TopologicalSpace ↑self
- )
Instances For
Typecheck a ContinuousMap as a morphism in TopCat.
Instances For
Use the ConcreteCategory.hom projection for @[simps] lemmas.
Instances For
The results below duplicate the ConcreteCategory simp lemmas, but we can keep them for dsimp.
Morphisms in TopCat are equivalent to continuous maps.
Instances For
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.
Instances For
The trivial topology on any type.
Instances For
Any homeomorphisms induces an isomorphism in Top.
Instances For
Any isomorphism in Top induces a homeomorphism.
Instances For
The constant morphism X ⟶ Y in TopCat given by y : Y.