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.Functor.KanExtension.AdjunctionPreserves

16 declarations. Mathlib docs · Source

def CategoryTheory.Adjunction.leftExtensionPostCompose₂RightAdjoint E1 #

{C : Type u_1} →
  {D : Type u_2} →
    {H₁ : Type u_3} →
      {H₂ : Type u_4} →
        [inst : CategoryTheory.Category.{v_1, u_1} C] →
          [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
            [inst_2 : CategoryTheory.Category.{v_3, u_3} H₁] →
              [inst_3 : CategoryTheory.Category.{v_4, u_4} H₂] →
                {G₁ : CategoryTheory.Functor H₁ H₂} →
                  {G₂ : CategoryTheory.Functor H₂ H₁} →
                    (G₁ ⊣ G₂) →
                      (F : CategoryTheory.Functor C H₁) →
                        (L : CategoryTheory.Functor C D) →
                          CategoryTheory.Functor (L.LeftExtension (F.comp G₁)) (L.LeftExtension F)

The right adjoint of LeftExtension.postcompose₂ L F G₁ when G₁ is part of an adjunction adj : G₁ ⊣ G₂.

theorem CategoryTheory.Adjunction.leftExtensionPostCompose₂RightAdjoint_obj_right_obj E0 #

∀ {C : Type u_1} {D : Type u_2} {H₁ : Type u_3} {H₂ : Type u_4} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.Category.{v_3, u_3} H₁]
  [inst_3 : CategoryTheory.Category.{v_4, u_4} H₂] {G₁ : CategoryTheory.Functor H₁ H₂}
  {G₂ : CategoryTheory.Functor H₂ H₁} (adj : G₁ ⊣ G₂) (F : CategoryTheory.Functor C H₁) (L : CategoryTheory.Functor C D)
  (X :
    CategoryTheory.Comma (CategoryTheory.Functor.fromPUnit (F.comp G₁))
      ((CategoryTheory.Functor.whiskeringLeft C D H₂).obj L))
  (X_1 : D), ((adj.leftExtensionPostCompose₂RightAdjoint F L).obj X).right.obj X_1 = G₂.obj (X.right.obj X_1)

theorem CategoryTheory.Adjunction.leftExtensionPostCompose₂RightAdjoint_obj_right_map E0 #

∀ {C : Type u_1} {D : Type u_2} {H₁ : Type u_3} {H₂ : Type u_4} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.Category.{v_3, u_3} H₁]
  [inst_3 : CategoryTheory.Category.{v_4, u_4} H₂] {G₁ : CategoryTheory.Functor H₁ H₂}
  {G₂ : CategoryTheory.Functor H₂ H₁} (adj : G₁ ⊣ G₂) (F : CategoryTheory.Functor C H₁) (L : CategoryTheory.Functor C D)
  (X :
    CategoryTheory.Comma (CategoryTheory.Functor.fromPUnit (F.comp G₁))
      ((CategoryTheory.Functor.whiskeringLeft C D H₂).obj L))
  {X_1 Y : D} (f : X_1 ⟶ Y),
  ((adj.leftExtensionPostCompose₂RightAdjoint F L).obj X).right.map f = G₂.map (X.right.map f)

theorem CategoryTheory.Adjunction.leftExtensionPostCompose₂RightAdjoint_map_right_app E0 #

∀ {C : Type u_1} {D : Type u_2} {H₁ : Type u_3} {H₂ : Type u_4} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.Category.{v_3, u_3} H₁]
  [inst_3 : CategoryTheory.Category.{v_4, u_4} H₂] {G₁ : CategoryTheory.Functor H₁ H₂}
  {G₂ : CategoryTheory.Functor H₂ H₁} (adj : G₁ ⊣ G₂) (F : CategoryTheory.Functor C H₁) (L : CategoryTheory.Functor C D)
  {X Y :
    CategoryTheory.Comma (CategoryTheory.Functor.fromPUnit (F.comp G₁))
      ((CategoryTheory.Functor.whiskeringLeft C D H₂).obj L)}
  (φ : X ⟶ Y) (X_1 : D),
  ((adj.leftExtensionPostCompose₂RightAdjoint F L).map φ).right.app X_1 = G₂.map (φ.right.app X_1)

theorem CategoryTheory.Adjunction.leftExtensionPostCompose₂RightAdjoint_obj_hom_app E0 #

∀ {C : Type u_1} {D : Type u_2} {H₁ : Type u_3} {H₂ : Type u_4} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.Category.{v_3, u_3} H₁]
  [inst_3 : CategoryTheory.Category.{v_4, u_4} H₂] {G₁ : CategoryTheory.Functor H₁ H₂}
  {G₂ : CategoryTheory.Functor H₂ H₁} (adj : G₁ ⊣ G₂) (F : CategoryTheory.Functor C H₁) (L : CategoryTheory.Functor C D)
  (X :
    CategoryTheory.Comma (CategoryTheory.Functor.fromPUnit (F.comp G₁))
      ((CategoryTheory.Functor.whiskeringLeft C D H₂).obj L))
  (X_1 : C),
  ((adj.leftExtensionPostCompose₂RightAdjoint F L).obj X).hom.app X_1 =
    CategoryTheory.CategoryStruct.comp (adj.unit.app (F.obj X_1)) (G₂.map (X.hom.app X_1))

def CategoryTheory.Adjunction.leftExtensionPostcompose₂ E1 #

{C : Type u_1} →
  {D : Type u_2} →
    {H₁ : Type u_3} →
      {H₂ : Type u_4} →
        [inst : CategoryTheory.Category.{v_1, u_1} C] →
          [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
            [inst_2 : CategoryTheory.Category.{v_3, u_3} H₁] →
              [inst_3 : CategoryTheory.Category.{v_4, u_4} H₂] →
                {G₁ : CategoryTheory.Functor H₁ H₂} →
                  {G₂ : CategoryTheory.Functor H₂ H₁} →
                    (adj : G₁ ⊣ G₂) →
                      (F : CategoryTheory.Functor C H₁) →
                        (L : CategoryTheory.Functor C D) →
                          CategoryTheory.Functor.LeftExtension.postcompose₂ L F G₁ ⊣
                            adj.leftExtensionPostCompose₂RightAdjoint F L

The adjunction exhibiting that LeftExtension.postcompose₂ L F G₁ has a right adjoint when G₁ has.

theorem CategoryTheory.Adjunction.preservesLeftKanExtension E1 #

∀ {C : Type u_1} {D : Type u_2} {H₁ : Type u_3} {H₂ : Type u_4} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.Category.{v_3, u_3} H₁]
  [inst_3 : CategoryTheory.Category.{v_4, u_4} H₂] {G₁ : CategoryTheory.Functor H₁ H₂}
  {G₂ : CategoryTheory.Functor H₂ H₁} (adj : G₁ ⊣ G₂) (F : CategoryTheory.Functor C H₁)
  (L : CategoryTheory.Functor C D), G₁.PreservesLeftKanExtension F L

def CategoryTheory.Adjunction.rightExtensionPostCompose₂LeftAdjoint E1 #

{C : Type u_1} →
  {D : Type u_2} →
    {H₁ : Type u_3} →
      {H₂ : Type u_4} →
        [inst : CategoryTheory.Category.{v_1, u_1} C] →
          [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
            [inst_2 : CategoryTheory.Category.{v_3, u_3} H₁] →
              [inst_3 : CategoryTheory.Category.{v_4, u_4} H₂] →
                {G₁ : CategoryTheory.Functor H₁ H₂} →
                  {G₂ : CategoryTheory.Functor H₂ H₁} →
                    (G₁ ⊣ G₂) →
                      (F : CategoryTheory.Functor C H₂) →
                        (L : CategoryTheory.Functor C D) →
                          CategoryTheory.Functor (L.RightExtension (F.comp G₂)) (L.RightExtension F)

The left adjoint of RightExtension.postcompose₂ L F G₂ when G₂ is part of an adjunction adj : G₁ ⊣ G₂.

theorem CategoryTheory.Adjunction.rightExtensionPostCompose₂LeftAdjoint_obj_hom_app E0 #

∀ {C : Type u_1} {D : Type u_2} {H₁ : Type u_3} {H₂ : Type u_4} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.Category.{v_3, u_3} H₁]
  [inst_3 : CategoryTheory.Category.{v_4, u_4} H₂] {G₁ : CategoryTheory.Functor H₁ H₂}
  {G₂ : CategoryTheory.Functor H₂ H₁} (adj : G₁ ⊣ G₂) (F : CategoryTheory.Functor C H₂) (L : CategoryTheory.Functor C D)
  (X :
    CategoryTheory.Comma ((CategoryTheory.Functor.whiskeringLeft C D H₁).obj L)
      (CategoryTheory.Functor.fromPUnit (F.comp G₂)))
  (X_1 : C),
  ((adj.rightExtensionPostCompose₂LeftAdjoint F L).obj X).hom.app X_1 =
    CategoryTheory.CategoryStruct.comp (G₁.map (X.hom.app X_1)) (adj.counit.app (F.obj X_1))

theorem CategoryTheory.Adjunction.rightExtensionPostCompose₂LeftAdjoint_map_left_app E0 #

∀ {C : Type u_1} {D : Type u_2} {H₁ : Type u_3} {H₂ : Type u_4} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.Category.{v_3, u_3} H₁]
  [inst_3 : CategoryTheory.Category.{v_4, u_4} H₂] {G₁ : CategoryTheory.Functor H₁ H₂}
  {G₂ : CategoryTheory.Functor H₂ H₁} (adj : G₁ ⊣ G₂) (F : CategoryTheory.Functor C H₂) (L : CategoryTheory.Functor C D)
  {X Y :
    CategoryTheory.Comma ((CategoryTheory.Functor.whiskeringLeft C D H₁).obj L)
      (CategoryTheory.Functor.fromPUnit (F.comp G₂))}
  (φ : X ⟶ Y) (X_1 : D), ((adj.rightExtensionPostCompose₂LeftAdjoint F L).map φ).left.app X_1 = G₁.map (φ.left.app X_1)

theorem CategoryTheory.Adjunction.rightExtensionPostCompose₂LeftAdjoint_obj_left_obj E0 #

∀ {C : Type u_1} {D : Type u_2} {H₁ : Type u_3} {H₂ : Type u_4} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.Category.{v_3, u_3} H₁]
  [inst_3 : CategoryTheory.Category.{v_4, u_4} H₂] {G₁ : CategoryTheory.Functor H₁ H₂}
  {G₂ : CategoryTheory.Functor H₂ H₁} (adj : G₁ ⊣ G₂) (F : CategoryTheory.Functor C H₂) (L : CategoryTheory.Functor C D)
  (X :
    CategoryTheory.Comma ((CategoryTheory.Functor.whiskeringLeft C D H₁).obj L)
      (CategoryTheory.Functor.fromPUnit (F.comp G₂)))
  (X_1 : D), ((adj.rightExtensionPostCompose₂LeftAdjoint F L).obj X).left.obj X_1 = G₁.obj (X.left.obj X_1)

theorem CategoryTheory.Adjunction.rightExtensionPostCompose₂LeftAdjoint_obj_left_map E0 #

∀ {C : Type u_1} {D : Type u_2} {H₁ : Type u_3} {H₂ : Type u_4} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.Category.{v_3, u_3} H₁]
  [inst_3 : CategoryTheory.Category.{v_4, u_4} H₂] {G₁ : CategoryTheory.Functor H₁ H₂}
  {G₂ : CategoryTheory.Functor H₂ H₁} (adj : G₁ ⊣ G₂) (F : CategoryTheory.Functor C H₂) (L : CategoryTheory.Functor C D)
  (X :
    CategoryTheory.Comma ((CategoryTheory.Functor.whiskeringLeft C D H₁).obj L)
      (CategoryTheory.Functor.fromPUnit (F.comp G₂)))
  {X_1 Y : D} (f : X_1 ⟶ Y), ((adj.rightExtensionPostCompose₂LeftAdjoint F L).obj X).left.map f = G₁.map (X.left.map f)

def CategoryTheory.Adjunction.rightExtensionPostcompose₂ E1 #

{C : Type u_1} →
  {D : Type u_2} →
    {H₁ : Type u_3} →
      {H₂ : Type u_4} →
        [inst : CategoryTheory.Category.{v_1, u_1} C] →
          [inst_1 : CategoryTheory.Category.{v_2, u_2} D] →
            [inst_2 : CategoryTheory.Category.{v_3, u_3} H₁] →
              [inst_3 : CategoryTheory.Category.{v_4, u_4} H₂] →
                {G₁ : CategoryTheory.Functor H₁ H₂} →
                  {G₂ : CategoryTheory.Functor H₂ H₁} →
                    (adj : G₁ ⊣ G₂) →
                      (F : CategoryTheory.Functor C H₂) →
                        (L : CategoryTheory.Functor C D) →
                          adj.rightExtensionPostCompose₂LeftAdjoint F L ⊣
                            CategoryTheory.Functor.RightExtension.postcompose₂ L F G₂

The adjunction exhibiting that RightExtension.postcompose₂ L F G₂ has a left adjoint when G₂ has.

theorem CategoryTheory.Adjunction.preservesRightKanExtension E1 #

∀ {C : Type u_1} {D : Type u_2} {H₁ : Type u_3} {H₂ : Type u_4} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.Category.{v_3, u_3} H₁]
  [inst_3 : CategoryTheory.Category.{v_4, u_4} H₂] {G₁ : CategoryTheory.Functor H₁ H₂}
  {G₂ : CategoryTheory.Functor H₂ H₁} (adj : G₁ ⊣ G₂) (F : CategoryTheory.Functor C H₂)
  (L : CategoryTheory.Functor C D), G₂.PreservesRightKanExtension F L

instance CategoryTheory.Functor.instPreservesLeftKanExtensionOfIsLeftAdjoint E0 #

∀ {C : Type u_1} {D : Type u_2} {H₁ : Type u_3} {H₂ : Type u_4} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.Category.{v_3, u_3} H₁]
  [inst_3 : CategoryTheory.Category.{v_4, u_4} H₂] {G₁ : CategoryTheory.Functor H₁ H₂} [G₁.IsLeftAdjoint]
  (F : CategoryTheory.Functor C H₁) (L : CategoryTheory.Functor C D), G₁.PreservesLeftKanExtension F L

instance CategoryTheory.Functor.instPreservesRightKanExtensionOfIsRightAdjoint E0 #

∀ {C : Type u_1} {D : Type u_2} {H₁ : Type u_3} {H₂ : Type u_4} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.Category.{v_3, u_3} H₁]
  [inst_3 : CategoryTheory.Category.{v_4, u_4} H₂] {G₂ : CategoryTheory.Functor H₂ H₁} [G₂.IsRightAdjoint]
  (F : CategoryTheory.Functor C H₂) (L : CategoryTheory.Functor C D), G₂.PreservesRightKanExtension F L