Documentation

Mathlib.CategoryTheory.Category.TwoP

The category of two-pointed types #

This defines TwoP, the category of two-pointed types.

References #

structure TwoP :
Type (u + 1)

The category of two-pointed types.

  • X : Type u

    The underlying type of a two-pointed type.

  • toTwoPointing : TwoPointing self.X

    The two points of a bipointed type, bundled together as a pair of distinct elements.

Instances For
    @[reducible, inline]
    abbrev TwoP.of {X : Type u_3} (toTwoPointing : TwoPointing X) :

    Turns a two-pointing into a two-pointed type.

    Equations
      Instances For
        theorem TwoP.coe_of {X : Type u_3} (toTwoPointing : TwoPointing X) :
        (of toTwoPointing).X = X
        def TwoPointing.TwoP {X : Type u_3} (toTwoPointing : TwoPointing X) :

        Alias of TwoP.of.


        Turns a two-pointing into a two-pointed type.

        Equations
          Instances For
            noncomputable def TwoP.toBipointed (X : TwoP) :

            Turns a two-pointed type into a bipointed type, by forgetting that the pointed elements are distinct.

            Equations
              Instances For
                @[simp]

                Swaps the pointed elements of a two-pointed type. TwoPointing.swap as a functor.

                Equations
                  Instances For
                    @[simp]
                    theorem TwoP.swap_map_toFun {X✝ Y✝ : TwoP} (f : X✝ Y✝) (a✝ : X✝.toBipointed.X) :
                    (swap.map f).toFun a✝ = f.toFun a✝
                    @[simp]
                    theorem TwoP.swap_obj_X (X : TwoP) :
                    (swap.obj X).X = X.X
                    noncomputable def TwoP.swapEquiv :

                    The equivalence between TwoP and itself induced by Prod.swap both ways.

                    Equations
                      Instances For
                        @[simp]
                        theorem TwoP.swapEquiv_functor_map_toFun {X✝ Y✝ : TwoP} (f : X✝ Y✝) (a✝ : X✝.toBipointed.X) :
                        (swapEquiv.functor.map f).toFun a✝ = f.toFun a✝
                        @[simp]
                        theorem TwoP.swapEquiv_inverse_map_toFun {X✝ Y✝ : TwoP} (f : X✝ Y✝) (a✝ : X✝.toBipointed.X) :
                        (swapEquiv.inverse.map f).toFun a✝ = f.toFun a✝

                        The functor from Pointed to TwoP which adds a second point.

                        Equations
                          Instances For
                            @[simp]
                            theorem pointedToTwoPFst_map_toFun {X✝ Y✝ : Pointed} (f : X✝ Y✝) (a✝ : Option X✝.X) :

                            The functor from Pointed to TwoP which adds a first point.

                            Equations
                              Instances For
                                @[simp]
                                theorem pointedToTwoPSnd_map_toFun {X✝ Y✝ : Pointed} (f : X✝ Y✝) (a✝ : Option X✝.X) :

                                Adding a second point is left adjoint to forgetting the second point.

                                Equations
                                  Instances For

                                    Adding a first point is left adjoint to forgetting the first point.

                                    Equations
                                      Instances For