The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V24. Category theory

Mathlib.CategoryTheory.Comma.Over.Pullback

58 declarations. Mathlib docs · Source

Adjunctions related to the over category

In a category with pullbacks, for any morphism f : X ⟶ Y, the functor Over.map f : Over X ⥤ Over Y has a right adjoint Over.pullback f.

In a category with binary products, for any object X the functor Over.forget X : Over X ⥤ C has a right adjoint Over.star X.

Main declarations

  • Over.pullback f : Over Y ⥤ Over X is the functor induced by a morphism f : X ⟶ Y.
  • Over.mapPullbackAdj is the adjunction Over.map f ⊣ Over.pullback f.
  • star : C ⥤ Over X is the functor induced by an object X.
  • forgetAdjStar is the adjunction forget X ⊣ star X.

TODO

Show star X itself has a right adjoint provided C is Cartesian closed and has pullbacks.

theorem CategoryTheory.Under.pushout.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f f_1 : X ⟶ Y) (e_f : f = f_1)
  [inst_1 : CategoryTheory.Limits.HasPushoutsAlong f], CategoryTheory.Under.pushout f = CategoryTheory.Under.pushout f_1

theorem CategoryTheory.Over.pullback.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f f_1 : X ⟶ Y) (e_f : f = f_1)
  [inst_1 : CategoryTheory.Limits.HasPullbacksAlong f],
  CategoryTheory.Over.pullback f = CategoryTheory.Over.pullback f_1

theorem CategoryTheory.Limits.pullback.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y Z : C} (f f_1 : X ⟶ Z) (e_f : f = f_1) (g g_1 : Y ⟶ Z)
  (e_g : g = g_1) [inst_1 : CategoryTheory.Limits.HasPullback f g],
  CategoryTheory.Limits.pullback f g = CategoryTheory.Limits.pullback f_1 g_1

def CategoryTheory.Over.pullback E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      (f : X ⟶ Y) →
        [CategoryTheory.Limits.HasPullbacksAlong f] →
          CategoryTheory.Functor (CategoryTheory.Over Y) (CategoryTheory.Over X)

In a category with pullbacks, a morphism f : X ⟶ Y induces a functor Over Y ⥤ Over X, by pulling back a morphism along f.

theorem CategoryTheory.Over.pullback_obj_left E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPullbacksAlong f] (g : CategoryTheory.Over Y),
  ((CategoryTheory.Over.pullback f).obj g).left = CategoryTheory.Limits.pullback g.hom f

theorem CategoryTheory.Over.pullback_map_left E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPullbacksAlong f] (g : CategoryTheory.Over Y) {h : CategoryTheory.Over Y}
  {k : g ⟶ h},
  ((CategoryTheory.Over.pullback f).map k).left =
    CategoryTheory.Limits.pullback.lift
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullback.fst g.hom f) (CategoryTheory.Over.Hom.left k))
      (CategoryTheory.Limits.pullback.snd g.hom f) ⋯

theorem CategoryTheory.Over.pullback_obj_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPullbacksAlong f] (g : CategoryTheory.Over Y),
  ((CategoryTheory.Over.pullback f).obj g).hom = CategoryTheory.Limits.pullback.snd g.hom f

def CategoryTheory.Over.mapPullbackAdj E3 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      (f : X ⟶ Y) →
        [inst_1 : CategoryTheory.Limits.HasPullbacksAlong f] →
          CategoryTheory.Over.map f ⊣ CategoryTheory.Over.pullback f

Over.map f is left adjoint to Over.pullback f.

theorem CategoryTheory.Over.mapPullbackAdj_counit_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPullbacksAlong f] (Y_1 : CategoryTheory.Over Y),
  (CategoryTheory.Over.mapPullbackAdj f).counit.app Y_1 =
    CategoryTheory.Over.homMk (CategoryTheory.Limits.pullback.fst Y_1.hom f) ⋯

theorem CategoryTheory.Over.mapPullbackAdj_unit_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPullbacksAlong f] (X_1 : CategoryTheory.Over X),
  (CategoryTheory.Over.mapPullbackAdj f).unit.app X_1 =
    CategoryTheory.Over.homMk
      (CategoryTheory.Limits.pullback.lift (CategoryTheory.CategoryStruct.id X_1.left) X_1.hom ⋯) ⋯

instance CategoryTheory.Over.instIsLeftAdjointMapOfHasPullbacksAlong E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y)
  [CategoryTheory.Limits.HasPullbacksAlong f], (CategoryTheory.Over.map f).IsLeftAdjoint

instance CategoryTheory.Over.instIsRightAdjointPullback E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPullbacksAlong f], (CategoryTheory.Over.pullback f).IsRightAdjoint

instance CategoryTheory.Over.faithful_pullback E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPullbacksAlong f]
  [∀ (Z : C) (g : Z ⟶ Y), CategoryTheory.Epi (CategoryTheory.Limits.pullback.fst g f)],
  (CategoryTheory.Over.pullback f).Faithful

The pullback along an epi that's preserved under pullbacks is faithful.

This "preserved under pullbacks" condition is automatically satisfied in abelian categories:

example [Abelian C] [Epi f] : (pullback f).Faithful := inferInstance

def CategoryTheory.Over.pullbackId E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X : C} →
      CategoryTheory.Over.pullback (CategoryTheory.CategoryStruct.id X) ≅
        CategoryTheory.Functor.id (CategoryTheory.Over X)

pullback (𝟙 X) : Over X ⥤ Over X is the identity functor.

def CategoryTheory.Over.pullbackComp E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      (f : X ⟶ Y) →
        (g : Y ⟶ Z) →
          [inst_1 : CategoryTheory.Limits.HasPullbacksAlong f] →
            [inst_2 : CategoryTheory.Limits.HasPullbacksAlong g] →
              CategoryTheory.Over.pullback (CategoryTheory.CategoryStruct.comp f g) ≅
                (CategoryTheory.Over.pullback g).comp (CategoryTheory.Over.pullback f)

pullback commutes with composition (up to natural isomorphism).

instance CategoryTheory.Over.pullbackIsRightAdjoint E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPullbacksAlong f], (CategoryTheory.Over.pullback f).IsRightAdjoint

def CategoryTheory.Over.postAdjunctionLeft E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        [inst_2 : CategoryTheory.Limits.HasPullbacks C] →
          {X : C} →
            {F : CategoryTheory.Functor C D} →
              {G : CategoryTheory.Functor D C} →
                (a : F ⊣ G) →
                  CategoryTheory.Over.post F ⊣
                    (CategoryTheory.Over.post G).comp (CategoryTheory.Over.pullback (a.unit.app X))

If F is a left adjoint and its source category has pullbacks, then so is post F : Over Y ⥤ Over (G Y).

If the right adjoint of F is G, then the right adjoint of post F is given by (Y ⟶ F X) ↦ (G Y ⟶ X ×_{G F X} G Y ⟶ X).

theorem CategoryTheory.Over.postAdjunctionLeft_unit_app_left E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.Limits.HasPullbacks C] {X : C} {F : CategoryTheory.Functor C D}
  {G : CategoryTheory.Functor D C} (a : F ⊣ G) (X_1 : CategoryTheory.Over ((CategoryTheory.Functor.id C).obj X)),
  ((CategoryTheory.Over.postAdjunctionLeft a).unit.app X_1).left =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.lift (CategoryTheory.CategoryStruct.id X_1.left) X_1.hom ⋯)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.pullback.lift
          (CategoryTheory.CategoryStruct.comp
            (CategoryTheory.Limits.pullback.fst (CategoryTheory.CategoryStruct.comp X_1.hom (a.unit.app X))
              (a.unit.app X))
            (a.unit.app X_1.left))
          (CategoryTheory.Limits.pullback.snd (CategoryTheory.CategoryStruct.comp X_1.hom (a.unit.app X))
            (a.unit.app X))
          ⋯)
        (CategoryTheory.Limits.pullback.lift
          (CategoryTheory.Limits.pullback.fst
            (G.map
              (CategoryTheory.CategoryStruct.comp (F.map (CategoryTheory.CategoryStruct.comp X_1.hom (a.unit.app X)))
                (a.counit.app (F.obj X))))
            (a.unit.app X))
          (CategoryTheory.Limits.pullback.snd
            (G.map
              (CategoryTheory.CategoryStruct.comp (F.map (CategoryTheory.CategoryStruct.comp X_1.hom (a.unit.app X)))
                (a.counit.app (F.obj X))))
            (a.unit.app X))
          ⋯))

theorem CategoryTheory.Over.postAdjunctionLeft_counit_app_left E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.Limits.HasPullbacks C] {X : C} {F : CategoryTheory.Functor C D}
  {G : CategoryTheory.Functor D C} (a : F ⊣ G)
  (X_1 : CategoryTheory.Over ((CategoryTheory.Functor.id D).obj (F.obj X))),
  ((CategoryTheory.Over.postAdjunctionLeft a).counit.app X_1).left =
    CategoryTheory.CategoryStruct.comp (F.map (CategoryTheory.Limits.pullback.fst (G.map X_1.hom) (a.unit.app X)))
      (a.counit.app X_1.left)

instance CategoryTheory.Over.isLeftAdjoint_post E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) {D : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} D] [CategoryTheory.Limits.HasPullbacks C] {F : CategoryTheory.Functor C D}
  [F.IsLeftAdjoint], (CategoryTheory.Over.post F).IsLeftAdjoint

def CategoryTheory.Over.forgetMapTerminal E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (X : C) →
      {T : C} →
        (hT : CategoryTheory.Limits.IsTerminal T) →
          CategoryTheory.Over.forget X ≅
            (CategoryTheory.Over.map (hT.from X)).comp (CategoryTheory.Over.equivalenceOfIsTerminal hT).functor

The category over any object X factors through the category over the terminal object T.

theorem CategoryTheory.Over.forgetMapTerminal_hom_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) {T : C} (hT : CategoryTheory.Limits.IsTerminal T)
  (X_1 : CategoryTheory.Over X),
  (CategoryTheory.Over.forgetMapTerminal X hT).hom.app X_1 = CategoryTheory.CategoryStruct.id X_1.left

theorem CategoryTheory.Over.forgetMapTerminal_inv_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) {T : C} (hT : CategoryTheory.Limits.IsTerminal T)
  (X_1 : CategoryTheory.Over X),
  (CategoryTheory.Over.forgetMapTerminal X hT).inv.app X_1 = CategoryTheory.CategoryStruct.id X_1.left

def CategoryTheory.Over.star E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (X : C) → [CategoryTheory.Limits.HasBinaryProducts C] → CategoryTheory.Functor C (CategoryTheory.Over X)

The functor from C to Over X which sends Y : C to π₁ : X ⨯ Y ⟶ X, sometimes denoted X*.

theorem CategoryTheory.Over.star_obj_left E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) [inst_1 : CategoryTheory.Limits.HasBinaryProducts C]
  (X_1 : C), ((CategoryTheory.Over.star X).obj X_1).left = (X ⨯ X_1)

theorem CategoryTheory.Over.star_obj_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) [inst_1 : CategoryTheory.Limits.HasBinaryProducts C]
  (X_1 : C), ((CategoryTheory.Over.star X).obj X_1).hom = CategoryTheory.Limits.prod.fst

theorem CategoryTheory.Over.star_map_left E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) [inst_1 : CategoryTheory.Limits.HasBinaryProducts C]
  {X_1 Y : C} (f : X_1 ⟶ Y),
  ((CategoryTheory.Over.star X).map f).left = CategoryTheory.Limits.prod.map (CategoryTheory.CategoryStruct.id X) f

def CategoryTheory.Over.forgetAdjStar E3 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (X : C) →
      [inst_1 : CategoryTheory.Limits.HasBinaryProducts C] → CategoryTheory.Over.forget X ⊣ CategoryTheory.Over.star X

The functor Over.forget X : Over X ⥤ C has a right adjoint given by star X.

Note that the binary products assumption is necessary: the existence of a right adjoint to Over.forget X is equivalent to the existence of each binary product X ⨯ -.

theorem CategoryTheory.Over.forgetAdjStar_counit_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasBinaryProducts C] (X Y : C),
  (CategoryTheory.Over.forgetAdjStar X).counit.app Y = CategoryTheory.Limits.prod.snd

theorem CategoryTheory.Over.forgetAdjStar_unit_app_left E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasBinaryProducts C] (X : C)
  (Y : CategoryTheory.Over X),
  CategoryTheory.Over.Hom.left ((CategoryTheory.Over.forgetAdjStar X).unit.app Y) =
    CategoryTheory.Limits.prod.lift Y.hom (CategoryTheory.CategoryStruct.id Y.left)

instance CategoryTheory.Over.instIsRightAdjointStar E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) [inst_1 : CategoryTheory.Limits.HasBinaryProducts C],
  (CategoryTheory.Over.star X).IsRightAdjoint

instance CategoryTheory.Over.instIsLeftAdjointForget E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) [CategoryTheory.Limits.HasBinaryProducts C],
  (CategoryTheory.Over.forget X).IsLeftAdjoint

Note that the binary products assumption is necessary: the existence of a right adjoint to Over.forget X is equivalent to the existence of each binary product X ⨯ -.

def CategoryTheory.Over.starPullbackIsoStar E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Limits.HasBinaryProducts C] →
      [inst_2 : CategoryTheory.Limits.HasPullbacks C] →
        {X Y : C} →
          (f : X ⟶ Y) → (CategoryTheory.Over.star Y).comp (CategoryTheory.Over.pullback f) ≅ CategoryTheory.Over.star X

Lifting to over Y and pulling back along X ⟶ Y is the same as lifting to over X.

theorem CategoryTheory.Over.starPullbackIsoStar_hom_app_left E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasBinaryProducts C]
  [inst_2 : CategoryTheory.Limits.HasPullbacks C] {X Y : C} (f : X ⟶ Y) (X_1 : C),
  ((CategoryTheory.Over.starPullbackIsoStar f).hom.app X_1).left =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pullback.map ((CategoryTheory.Over.star Y).obj X_1).hom f CategoryTheory.Limits.prod.fst f
        (CategoryTheory.CategoryStruct.id (Y ⨯ X_1)) (CategoryTheory.CategoryStruct.id X)
        (CategoryTheory.CategoryStruct.id Y) ⋯ ⋯)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackSymmetry CategoryTheory.Limits.prod.fst f).hom
        (CategoryTheory.Limits.pullbackProdFstIsoProd f X_1).hom)

theorem CategoryTheory.Over.starPullbackIsoStar_inv_app_left E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Limits.HasBinaryProducts C]
  [inst_2 : CategoryTheory.Limits.HasPullbacks C] {X Y : C} (f : X ⟶ Y) (X_1 : C),
  ((CategoryTheory.Over.starPullbackIsoStar f).inv.app X_1).left =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackProdFstIsoProd f X_1).inv
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pullbackSymmetry CategoryTheory.Limits.prod.fst f).inv
        (CategoryTheory.Limits.pullback.map CategoryTheory.Limits.prod.fst f ((CategoryTheory.Over.star Y).obj X_1).hom
          f (CategoryTheory.CategoryStruct.id (Y ⨯ X_1)) (CategoryTheory.CategoryStruct.id X)
          (CategoryTheory.CategoryStruct.id Y) ⋯ ⋯))

def CategoryTheory.Under.pushout E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      (f : X ⟶ Y) →
        [CategoryTheory.Limits.HasPushoutsAlong f] →
          CategoryTheory.Functor (CategoryTheory.Under X) (CategoryTheory.Under Y)

When C has pushouts, a morphism f : X ⟶ Y induces a functor Under X ⥤ Under Y, by pushing a morphism forward along f.

theorem CategoryTheory.Under.pushout_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPushoutsAlong f] (x : CategoryTheory.Under X) {x' : CategoryTheory.Under X}
  {u : x ⟶ x'},
  (CategoryTheory.Under.pushout f).map u =
    CategoryTheory.Under.homMk
      (CategoryTheory.Limits.pushout.desc
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.Under.Hom.right u)
          (CategoryTheory.Limits.pushout.inl x'.hom f))
        (CategoryTheory.Limits.pushout.inr x'.hom f) ⋯)
      ⋯

theorem CategoryTheory.Under.pushout_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPushoutsAlong f] (x : CategoryTheory.Under X),
  (CategoryTheory.Under.pushout f).obj x = CategoryTheory.Under.mk (CategoryTheory.Limits.pushout.inr x.hom f)

def CategoryTheory.Under.mapPushoutAdj E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y : C} →
      (f : X ⟶ Y) →
        [inst_1 : CategoryTheory.Limits.HasPushoutsAlong f] →
          CategoryTheory.Under.pushout f ⊣ CategoryTheory.Under.map f

Under.pushout f is left adjoint to Under.map f.

theorem CategoryTheory.Under.mapPushoutAdj_unit_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPushoutsAlong f] (X_1 : CategoryTheory.Under X),
  (CategoryTheory.Under.mapPushoutAdj f).unit.app X_1 =
    CategoryTheory.Under.homMk (CategoryTheory.Limits.pushout.inl X_1.hom f) ⋯

theorem CategoryTheory.Under.mapPushoutAdj_counit_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPushoutsAlong f] (Y_1 : CategoryTheory.Under Y),
  (CategoryTheory.Under.mapPushoutAdj f).counit.app Y_1 =
    CategoryTheory.Under.homMk
      (CategoryTheory.Limits.pushout.desc (CategoryTheory.CategoryStruct.id Y_1.right) Y_1.hom ⋯) ⋯

instance CategoryTheory.Under.faithful_pushout E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPushoutsAlong f]
  [∀ (Z : C) (g : X ⟶ Z), CategoryTheory.Mono (CategoryTheory.Limits.pushout.inl g f)],
  (CategoryTheory.Under.pushout f).Faithful

The pushout along a mono that's preserved under pushouts is faithful.

This "preserved under pushouts" condition is automatically satisfied in abelian categories:

example [Abelian C] [Mono f] : (pushout f).Faithful := inferInstance

def CategoryTheory.Under.pushoutId E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X : C} →
      CategoryTheory.Under.pushout (CategoryTheory.CategoryStruct.id X) ≅
        CategoryTheory.Functor.id (CategoryTheory.Under X)

pushout (𝟙 X) : Under X ⥤ Under X is the identity functor.

def CategoryTheory.Under.pushoutComp E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {X Y Z : C} →
      (f : X ⟶ Y) →
        (g : Y ⟶ Z) →
          [inst_1 : CategoryTheory.Limits.HasPushoutsAlong f] →
            [inst_2 : CategoryTheory.Limits.HasPushoutsAlong g] →
              CategoryTheory.Under.pushout (CategoryTheory.CategoryStruct.comp f g) ≅
                (CategoryTheory.Under.pushout f).comp (CategoryTheory.Under.pushout g)

pushout commutes with composition (up to natural isomorphism).

instance CategoryTheory.Under.pushoutIsLeftAdjoint E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {X Y : C} (f : X ⟶ Y)
  [inst_1 : CategoryTheory.Limits.HasPushoutsAlong f], (CategoryTheory.Under.pushout f).IsLeftAdjoint

def CategoryTheory.Under.postAdjunctionRight E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        [inst_2 : CategoryTheory.Limits.HasPushouts D] →
          {Y : D} →
            {F : CategoryTheory.Functor C D} →
              {G : CategoryTheory.Functor D C} →
                (a : F ⊣ G) →
                  (CategoryTheory.Under.post F).comp (CategoryTheory.Under.pushout (a.counit.app Y)) ⊣
                    CategoryTheory.Under.post G

If G is a right adjoint and its source category has pushouts, then so is post G : Under Y ⥤ Under (G Y).

If the left adjoint of G is F, then the left adjoint of post G is given by (G Y ⟶ X) ↦ (Y ⟶ Y ⨿_{F G Y} F X ⟶ F X).

theorem CategoryTheory.Under.postAdjunctionRight_unit_app_right E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.Limits.HasPushouts D] {Y : D} {F : CategoryTheory.Functor C D}
  {G : CategoryTheory.Functor D C} (a : F ⊣ G) (X : CategoryTheory.Under ((CategoryTheory.Functor.id C).obj (G.1 Y))),
  ((CategoryTheory.Under.postAdjunctionRight a).unit.app X).right =
    CategoryTheory.CategoryStruct.comp (a.unit.app X.right)
      (G.map (CategoryTheory.Limits.pushout.inl (F.map X.hom) (a.counit.app Y)))

theorem CategoryTheory.Under.postAdjunctionRight_counit_app_right E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.Limits.HasPushouts D] {Y : D} {F : CategoryTheory.Functor C D}
  {G : CategoryTheory.Functor D C} (a : F ⊣ G) (X : CategoryTheory.Under ((CategoryTheory.Functor.id D).obj Y)),
  ((CategoryTheory.Under.postAdjunctionRight a).counit.app X).right =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.pushout.desc
        (CategoryTheory.Limits.pushout.inl
          (F.map
            (CategoryTheory.CategoryStruct.comp (a.unit.app (G.1 Y))
              (G.map (CategoryTheory.CategoryStruct.comp (a.counit.app Y) X.hom))))
          (a.counit.app Y))
        (CategoryTheory.Limits.pushout.inr
          (F.map
            (CategoryTheory.CategoryStruct.comp (a.unit.app (G.1 Y))
              (G.map (CategoryTheory.CategoryStruct.comp (a.counit.app Y) X.hom))))
          (a.counit.app Y))
        ⋯)
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Limits.pushout.desc
          (CategoryTheory.CategoryStruct.comp (a.counit.app X.right)
            (CategoryTheory.Limits.pushout.inl (CategoryTheory.CategoryStruct.comp (a.counit.app Y) X.hom)
              (a.counit.app Y)))
          (CategoryTheory.Limits.pushout.inr (CategoryTheory.CategoryStruct.comp (a.counit.app Y) X.hom)
            (a.counit.app Y))
          ⋯)
        (CategoryTheory.Under.Hom.right
          (CategoryTheory.Under.homMk
            (CategoryTheory.Limits.pushout.desc (CategoryTheory.CategoryStruct.id X.right) X.hom ⋯) ⋯)))

instance CategoryTheory.Under.isRightAdjoint_post E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [CategoryTheory.Limits.HasPushouts D] {Y : D} {G : CategoryTheory.Functor D C} [G.IsRightAdjoint],
  (CategoryTheory.Under.post G).IsRightAdjoint

def CategoryTheory.Under.forgetMapInitial E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (X : C) →
      {I : C} →
        (hI : CategoryTheory.Limits.IsInitial I) →
          CategoryTheory.Under.forget X ≅
            (CategoryTheory.Under.map (hI.to X)).comp (CategoryTheory.Under.equivalenceOfIsInitial hI).functor

The category under any object X factors through the category under the initial object I.

theorem CategoryTheory.Under.forgetMapInitial_inv_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) {I : C} (hI : CategoryTheory.Limits.IsInitial I)
  (X_1 : CategoryTheory.Under X),
  (CategoryTheory.Under.forgetMapInitial X hI).inv.app X_1 = CategoryTheory.CategoryStruct.id X_1.right

theorem CategoryTheory.Under.forgetMapInitial_hom_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) {I : C} (hI : CategoryTheory.Limits.IsInitial I)
  (X_1 : CategoryTheory.Under X),
  (CategoryTheory.Under.forgetMapInitial X hI).hom.app X_1 = CategoryTheory.CategoryStruct.id X_1.right

def CategoryTheory.Under.costar E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (X : C) → [CategoryTheory.Limits.HasBinaryCoproducts C] → CategoryTheory.Functor C (CategoryTheory.Under X)

The functor from C to Under X which sends Y : C to in₁ : X ⟶ X ⨿ Y.

theorem CategoryTheory.Under.costar_obj_left E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) [inst_1 : CategoryTheory.Limits.HasBinaryCoproducts C]
  (X_1 : C), ((CategoryTheory.Under.costar X).obj X_1).left = { as := PUnit.unit }

theorem CategoryTheory.Under.costar_obj_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) [inst_1 : CategoryTheory.Limits.HasBinaryCoproducts C]
  (X_1 : C),
  ((CategoryTheory.Under.costar X).obj X_1).hom =
    CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.coprod.inl
      (CategoryTheory.Limits.coprod.desc CategoryTheory.Limits.coprod.inl (CategoryTheory.CategoryStruct.id (X ⨿ X_1)))

def CategoryTheory.Under.costarAdjForget E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (X : C) →
      [inst_1 : CategoryTheory.Limits.HasBinaryCoproducts C] →
        CategoryTheory.Under.costar X ⊣ CategoryTheory.Under.forget X

The functor Under.forget X : Under X ⥤ C has a left adjoint given by costar X.

Note that the binary coproducts assumption is necessary: the existence of a left adjoint to Under.forget X is equivalent to the existence of each binary coproduct X ⨿ -.

instance CategoryTheory.Under.instIsLeftAdjointCostar E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) [inst_1 : CategoryTheory.Limits.HasBinaryCoproducts C],
  (CategoryTheory.Under.costar X).IsLeftAdjoint

instance CategoryTheory.Under.instIsRightAdjointForget E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C) [CategoryTheory.Limits.HasBinaryCoproducts C],
  (CategoryTheory.Under.forget X).IsRightAdjoint

Note that the binary coproducts assumption is necessary: the existence of a left adjoint to Under.forget X is equivalent to the existence of each binary coproduct X ⨿ -.