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.Inserter.Limits

20 declarations. Mathlib docs · Source

def CategoryTheory.Inserter.coconeOfPreserves E1 #

{C : Type u_1} →
  {D : Type u_2} →
    {J : Type u_3} →
      [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} J] →
            {F G : CategoryTheory.Functor C D} →
              {K : CategoryTheory.Functor J (CategoryTheory.Inserter F G)} →
                [CategoryTheory.Limits.PreservesColimit (K.comp (CategoryTheory.Inserter.proj F G)) F] →
                  {c : CategoryTheory.Limits.Cocone (K.comp (CategoryTheory.Inserter.proj F G))} →
                    CategoryTheory.Limits.IsColimit c → CategoryTheory.Limits.Cocone K

Assuming F preserves the colimit of K ⋙ proj F G where K is a diagram valued in the inserter category Inserter F _, a colimit cocone under K ⋙ proj F _ can be lifted to a cocone under K.

theorem CategoryTheory.Inserter.coconeOfPreserves_pt_obj E0 #

∀ {C : Type u_1} {D : Type u_2} {J : Type u_3} [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} J]
  {F G : CategoryTheory.Functor C D} {K : CategoryTheory.Functor J (CategoryTheory.Inserter F G)}
  [inst_3 : CategoryTheory.Limits.PreservesColimit (K.comp (CategoryTheory.Inserter.proj F G)) F]
  {c : CategoryTheory.Limits.Cocone (K.comp (CategoryTheory.Inserter.proj F G))}
  (hc : CategoryTheory.Limits.IsColimit c), (CategoryTheory.Inserter.coconeOfPreserves hc).pt.obj = c.pt

theorem CategoryTheory.Inserter.coconeOfPreserves_ι_app_hom E0 #

∀ {C : Type u_1} {D : Type u_2} {J : Type u_3} [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} J]
  {F G : CategoryTheory.Functor C D} {K : CategoryTheory.Functor J (CategoryTheory.Inserter F G)}
  [inst_3 : CategoryTheory.Limits.PreservesColimit (K.comp (CategoryTheory.Inserter.proj F G)) F]
  {c : CategoryTheory.Limits.Cocone (K.comp (CategoryTheory.Inserter.proj F G))}
  (hc : CategoryTheory.Limits.IsColimit c) (j : J),
  ((CategoryTheory.Inserter.coconeOfPreserves hc).ι.app j).hom = c.ι.app j

theorem CategoryTheory.Inserter.map_ι_coconeOfPreserves_pt_hom E0 #

∀ {C : Type u_1} {D : Type u_2} {J : Type u_3} [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} J]
  {F G : CategoryTheory.Functor C D} {K : CategoryTheory.Functor J (CategoryTheory.Inserter F G)}
  [inst_3 : CategoryTheory.Limits.PreservesColimit (K.comp (CategoryTheory.Inserter.proj F G)) F]
  {c : CategoryTheory.Limits.Cocone (K.comp (CategoryTheory.Inserter.proj F G))}
  (hc : CategoryTheory.Limits.IsColimit c) (j : J),
  CategoryTheory.CategoryStruct.comp (F.map (c.ι.app j)) (CategoryTheory.Inserter.coconeOfPreserves hc).pt.hom =
    CategoryTheory.CategoryStruct.comp (K.obj j).hom (G.map (c.ι.app j))

theorem CategoryTheory.Inserter.map_ι_coconeOfPreserves_pt_hom_assoc E0 #

∀ {C : Type u_1} {D : Type u_2} {J : Type u_3} [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} J]
  {F G : CategoryTheory.Functor C D} {K : CategoryTheory.Functor J (CategoryTheory.Inserter F G)}
  [inst_3 : CategoryTheory.Limits.PreservesColimit (K.comp (CategoryTheory.Inserter.proj F G)) F]
  {c : CategoryTheory.Limits.Cocone (K.comp (CategoryTheory.Inserter.proj F G))}
  (hc : CategoryTheory.Limits.IsColimit c) (j : J) {Z : D}
  (h : G.obj (CategoryTheory.Inserter.coconeOfPreserves hc).pt.obj ⟶ Z),
  CategoryTheory.CategoryStruct.comp (F.map (c.ι.app j))
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Inserter.coconeOfPreserves hc).pt.hom h) =
    CategoryTheory.CategoryStruct.comp (K.obj j).hom (CategoryTheory.CategoryStruct.comp (G.map (c.ι.app j)) h)

def CategoryTheory.Inserter.isColimitCoconeOfPreserves E1 #

{C : Type u_1} →
  {D : Type u_2} →
    {J : Type u_3} →
      [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} J] →
            {F G : CategoryTheory.Functor C D} →
              {K : CategoryTheory.Functor J (CategoryTheory.Inserter F G)} →
                [inst_3 : CategoryTheory.Limits.PreservesColimit (K.comp (CategoryTheory.Inserter.proj F G)) F] →
                  {c : CategoryTheory.Limits.Cocone (K.comp (CategoryTheory.Inserter.proj F G))} →
                    (hc : CategoryTheory.Limits.IsColimit c) →
                      CategoryTheory.Limits.IsColimit (CategoryTheory.Inserter.coconeOfPreserves hc)

Assuming F preserves the colimit of K ⋙ proj F G where K is a diagram valued in the inserter category Inserter F _, coconeOfPreserves is a colimit cocone.

instance CategoryTheory.Inserter.hasColimit E0 #

∀ {C : Type u_1} {D : Type u_2} {J : Type u_3} [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} J]
  {F G : CategoryTheory.Functor C D} (K : CategoryTheory.Functor J (CategoryTheory.Inserter F G))
  [CategoryTheory.Limits.HasColimit (K.comp (CategoryTheory.Inserter.proj F G))]
  [CategoryTheory.Limits.PreservesColimit (K.comp (CategoryTheory.Inserter.proj F G)) F],
  CategoryTheory.Limits.HasColimit K

instance CategoryTheory.Inserter.hasColimitsOfShape E0 #

∀ {C : Type u_1} {D : Type u_2} {J : Type u_3} [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} J]
  {F G : CategoryTheory.Functor C D} [CategoryTheory.Limits.HasColimitsOfShape J C]
  [CategoryTheory.Limits.PreservesColimitsOfShape J F],
  CategoryTheory.Limits.HasColimitsOfShape J (CategoryTheory.Inserter F G)

instance CategoryTheory.Inserter.preservesColimitsOfShape_proj E0 #

∀ {C : Type u_1} {D : Type u_2} {J : Type u_3} [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} J]
  {F G : CategoryTheory.Functor C D} [CategoryTheory.Limits.HasColimitsOfShape J C]
  [CategoryTheory.Limits.PreservesColimitsOfShape J F],
  CategoryTheory.Limits.PreservesColimitsOfShape J (CategoryTheory.Inserter.proj F G)

instance CategoryTheory.Inserter.reflectsColimitsOfShape_proj E0 #

∀ {C : Type u_1} {D : Type u_2} {J : Type u_3} [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} J]
  {F G : CategoryTheory.Functor C D} [CategoryTheory.Limits.HasColimitsOfShape J C]
  [CategoryTheory.Limits.PreservesColimitsOfShape J F],
  CategoryTheory.Limits.ReflectsColimitsOfShape J (CategoryTheory.Inserter.proj F G)

def CategoryTheory.Inserter.coneOfPreserves E1 #

{C : Type u_1} →
  {D : Type u_2} →
    {J : Type u_3} →
      [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} J] →
            {F G : CategoryTheory.Functor C D} →
              {K : CategoryTheory.Functor J (CategoryTheory.Inserter F G)} →
                [CategoryTheory.Limits.PreservesLimit (K.comp (CategoryTheory.Inserter.proj F G)) G] →
                  {c : CategoryTheory.Limits.Cone (K.comp (CategoryTheory.Inserter.proj F G))} →
                    CategoryTheory.Limits.IsLimit c → CategoryTheory.Limits.Cone K

Assuming G preserves the limit of K ⋙ proj F G where K is a diagram valued in the inserter category Inserter _ G, a limit cone over K ⋙ proj _ G can be lifted to a cone under K.

theorem CategoryTheory.Inserter.coneOfPreserves_pt_obj E0 #

∀ {C : Type u_1} {D : Type u_2} {J : Type u_3} [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} J]
  {F G : CategoryTheory.Functor C D} {K : CategoryTheory.Functor J (CategoryTheory.Inserter F G)}
  [inst_3 : CategoryTheory.Limits.PreservesLimit (K.comp (CategoryTheory.Inserter.proj F G)) G]
  {c : CategoryTheory.Limits.Cone (K.comp (CategoryTheory.Inserter.proj F G))} (hc : CategoryTheory.Limits.IsLimit c),
  (CategoryTheory.Inserter.coneOfPreserves hc).pt.obj = c.pt

theorem CategoryTheory.Inserter.coneOfPreserves_π_app_hom E0 #

∀ {C : Type u_1} {D : Type u_2} {J : Type u_3} [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} J]
  {F G : CategoryTheory.Functor C D} {K : CategoryTheory.Functor J (CategoryTheory.Inserter F G)}
  [inst_3 : CategoryTheory.Limits.PreservesLimit (K.comp (CategoryTheory.Inserter.proj F G)) G]
  {c : CategoryTheory.Limits.Cone (K.comp (CategoryTheory.Inserter.proj F G))} (hc : CategoryTheory.Limits.IsLimit c)
  (j : J), ((CategoryTheory.Inserter.coneOfPreserves hc).π.app j).hom = c.π.app j

theorem CategoryTheory.Inserter.coneOfPreserves_pt_hom_map_π_app E0 #

∀ {C : Type u_1} {D : Type u_2} {J : Type u_3} [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} J]
  {F G : CategoryTheory.Functor C D} {K : CategoryTheory.Functor J (CategoryTheory.Inserter F G)}
  [inst_3 : CategoryTheory.Limits.PreservesLimit (K.comp (CategoryTheory.Inserter.proj F G)) G]
  {c : CategoryTheory.Limits.Cone (K.comp (CategoryTheory.Inserter.proj F G))} (hc : CategoryTheory.Limits.IsLimit c)
  (j : J),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Inserter.coneOfPreserves hc).pt.hom (G.map (c.π.app j)) =
    CategoryTheory.CategoryStruct.comp (F.map (c.π.app j)) (K.obj j).hom

theorem CategoryTheory.Inserter.coneOfPreserves_pt_hom_map_π_app_assoc E0 #

∀ {C : Type u_1} {D : Type u_2} {J : Type u_3} [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} J]
  {F G : CategoryTheory.Functor C D} {K : CategoryTheory.Functor J (CategoryTheory.Inserter F G)}
  [inst_3 : CategoryTheory.Limits.PreservesLimit (K.comp (CategoryTheory.Inserter.proj F G)) G]
  {c : CategoryTheory.Limits.Cone (K.comp (CategoryTheory.Inserter.proj F G))} (hc : CategoryTheory.Limits.IsLimit c)
  (j : J) {Z : D} (h : G.obj ((CategoryTheory.Inserter.proj F G).obj (K.obj j)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Inserter.coneOfPreserves hc).pt.hom
      (CategoryTheory.CategoryStruct.comp (G.map (c.π.app j)) h) =
    CategoryTheory.CategoryStruct.comp (F.map (c.π.app j)) (CategoryTheory.CategoryStruct.comp (K.obj j).hom h)

def CategoryTheory.Inserter.isLimitConeOfPreserves E1 #

{C : Type u_1} →
  {D : Type u_2} →
    {J : Type u_3} →
      [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} J] →
            {F G : CategoryTheory.Functor C D} →
              {K : CategoryTheory.Functor J (CategoryTheory.Inserter F G)} →
                [inst_3 : CategoryTheory.Limits.PreservesLimit (K.comp (CategoryTheory.Inserter.proj F G)) G] →
                  {c : CategoryTheory.Limits.Cone (K.comp (CategoryTheory.Inserter.proj F G))} →
                    (hc : CategoryTheory.Limits.IsLimit c) →
                      CategoryTheory.Limits.IsLimit (CategoryTheory.Inserter.coneOfPreserves hc)

Assuming G preserves the limit of K ⋙ proj F G where K is a diagram valued in the inserter category Inserter _ G, coneOfPreserves is a limit cone.

instance CategoryTheory.Inserter.hasLimit E0 #

∀ {C : Type u_1} {D : Type u_2} {J : Type u_3} [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} J]
  {F G : CategoryTheory.Functor C D} (K : CategoryTheory.Functor J (CategoryTheory.Inserter F G))
  [CategoryTheory.Limits.HasLimit (K.comp (CategoryTheory.Inserter.proj F G))]
  [CategoryTheory.Limits.PreservesLimit (K.comp (CategoryTheory.Inserter.proj F G)) G], CategoryTheory.Limits.HasLimit K

instance CategoryTheory.Inserter.hasLimitsOfShape E0 #

∀ {C : Type u_1} {D : Type u_2} {J : Type u_3} [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} J]
  {F G : CategoryTheory.Functor C D} [CategoryTheory.Limits.HasLimitsOfShape J C]
  [CategoryTheory.Limits.PreservesLimitsOfShape J G],
  CategoryTheory.Limits.HasLimitsOfShape J (CategoryTheory.Inserter F G)

instance CategoryTheory.Inserter.preservesLimitsOfShape_proj E0 #

∀ {C : Type u_1} {D : Type u_2} {J : Type u_3} [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} J]
  {F G : CategoryTheory.Functor C D} [CategoryTheory.Limits.HasLimitsOfShape J C]
  [CategoryTheory.Limits.PreservesLimitsOfShape J G],
  CategoryTheory.Limits.PreservesLimitsOfShape J (CategoryTheory.Inserter.proj F G)

instance CategoryTheory.Inserter.reflectsLimitsOfShape_proj E0 #

∀ {C : Type u_1} {D : Type u_2} {J : Type u_3} [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} J]
  {F G : CategoryTheory.Functor C D} [CategoryTheory.Limits.HasLimitsOfShape J C]
  [CategoryTheory.Limits.PreservesLimitsOfShape J G],
  CategoryTheory.Limits.ReflectsLimitsOfShape J (CategoryTheory.Inserter.proj F G)