Documentation

Mathlib.Topology.Category.TopCat.Basic

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.

def TopCat :
Type (u + 1)

The category of topological spaces and continuous maps.

Equations
Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Equations
    Equations
    • X.topologicalSpaceUnbundled = X.str
    instance TopCat.instFunLike (X Y : TopCat) :
    FunLike (X Y) X Y
    Equations
    @[simp]
    theorem TopCat.id_app (X : TopCat) (x : X) :
    @[simp]
    theorem TopCat.comp_app {X Y Z : TopCat} (f : X Y) (g : Y Z) (x : X) :
    @[simp]
    theorem TopCat.coe_comp {X Y Z : TopCat} (f : X Y) (g : Y Z) :
    @[simp]
    theorem TopCat.hom_inv_id_apply {X Y : TopCat} (f : X Y) (x : X) :
    f.inv (f.hom x) = x
    @[simp]
    theorem TopCat.inv_hom_id_apply {X Y : TopCat} (f : X Y) (y : Y) :
    f.hom (f.inv y) = y

    Construct a bundled Top from the underlying type and the typeclass.

    Equations
    Instances For
      Equations
      • X.topologicalSpace_coe = X.str
      @[reducible, inline]
      Equations
      • X.topologicalSpace_forget = X.str
      @[simp]
      theorem TopCat.coe_of (X : Type u) [TopologicalSpace X] :
      (TopCat.of X) = X
      @[simp]
      theorem TopCat.coe_of_of {X Y : Type u} [TopologicalSpace X] [TopologicalSpace Y] {f : C(X, Y)} {x : (CategoryTheory.forget TopCat).obj (TopCat.of X)} :
      f x = f x

      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).

      theorem TopCat.hom_apply {X Y : TopCat} (f : X Y) (x : X) :
      f x = f.toFun x

      The discrete topology on any type.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        The trivial topology on any type.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def TopCat.isoOfHomeo {X Y : TopCat} (f : X ≃ₜ Y) :
          X Y

          Any homeomorphisms induces an isomorphism in Top.

          Equations
          • TopCat.isoOfHomeo f = { hom := f, inv := f.symm, hom_inv_id := , inv_hom_id := }
          Instances For
            @[simp]
            theorem TopCat.isoOfHomeo_inv {X Y : TopCat} (f : X ≃ₜ Y) :
            (TopCat.isoOfHomeo f).inv = f.symm
            @[simp]
            theorem TopCat.isoOfHomeo_hom {X Y : TopCat} (f : X ≃ₜ Y) :
            (TopCat.isoOfHomeo f).hom = f
            def TopCat.homeoOfIso {X Y : TopCat} (f : X Y) :
            X ≃ₜ Y

            Any isomorphism in Top induces a homeomorphism.

            Equations
            • TopCat.homeoOfIso f = { toFun := f.hom, invFun := f.inv, left_inv := , right_inv := , continuous_toFun := , continuous_invFun := }
            Instances For
              @[simp]
              theorem TopCat.homeoOfIso_symm_apply {X Y : TopCat} (f : X Y) (a : Y) :
              (TopCat.homeoOfIso f).symm a = f.inv a
              @[simp]
              theorem TopCat.homeoOfIso_apply {X Y : TopCat} (f : X Y) (a : X) :
              (TopCat.homeoOfIso f) a = f.hom a
              @[simp]