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.Limits.Types.PreservesLimit

13 declarations. Mathlib docs · Source

def CategoryTheory.Presheaf.coconeCompShrinkYonedaHomEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {J : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} J] →
        [inst_2 : CategoryTheory.LocallySmall.{w, v, u} C] →
          {F : CategoryTheory.Functor J Cᵒᵖ} →
            {c' : CategoryTheory.Limits.Cocone (F.leftOp.comp CategoryTheory.shrinkYoneda.{w, v, u})} →
              CategoryTheory.Limits.IsColimit c' →
                {P : CategoryTheory.Functor Cᵒᵖ (Type w)} → (c'.pt ⟶ P) ≃ ↑(F.comp P).sections

Let F : J ⥤ Cᵒᵖ be a functor, c' a colimit cocone for F.leftOp ⋙ shrinkYoneda.{w}. For any P : Cᵒᵖ ⥤ Type w, this is the bijection between c'.pt ⟶ P and the type of sections of F ⋙ P.

theorem CategoryTheory.Presheaf.coconeCompShrinkYonedaHomEquiv_apply_coe E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} J]
  [inst_2 : CategoryTheory.LocallySmall.{w, v, u} C] {F : CategoryTheory.Functor J Cᵒᵖ}
  {c' : CategoryTheory.Limits.Cocone (F.leftOp.comp CategoryTheory.shrinkYoneda.{w, v, u})}
  (hc' : CategoryTheory.Limits.IsColimit c') {P : CategoryTheory.Functor Cᵒᵖ (Type w)} (f : c'.pt ⟶ P) (j : J),
  ↑((CategoryTheory.Presheaf.coconeCompShrinkYonedaHomEquiv hc') f) j =
    CategoryTheory.shrinkYonedaEquiv (CategoryTheory.CategoryStruct.comp (c'.ι.app (Opposite.op j)) f)

theorem CategoryTheory.Presheaf.coconeCompShrinkYonedaHomEquiv_symm_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} J]
  [inst_2 : CategoryTheory.LocallySmall.{w, v, u} C] {F : CategoryTheory.Functor J Cᵒᵖ}
  {c' : CategoryTheory.Limits.Cocone (F.leftOp.comp CategoryTheory.shrinkYoneda.{w, v, u})}
  (hc' : CategoryTheory.Limits.IsColimit c') {P : CategoryTheory.Functor Cᵒᵖ (Type w)} (s : ↑(F.comp P).sections),
  (CategoryTheory.Presheaf.coconeCompShrinkYonedaHomEquiv hc').symm s =
    hc'.desc
      { pt := P, ι := { app := fun j ↦ CategoryTheory.shrinkYonedaEquiv.symm (↑s (Opposite.unop j)), naturality := ⋯ } }

def CategoryTheory.Presheaf.coconePtToShrinkYoneda E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {J : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} J] →
        [inst_2 : CategoryTheory.LocallySmall.{w, v, u} C] →
          {F : CategoryTheory.Functor J Cᵒᵖ} →
            (c : CategoryTheory.Limits.Cone F) →
              {c' : CategoryTheory.Limits.Cocone (F.leftOp.comp CategoryTheory.shrinkYoneda.{w, v, u})} →
                CategoryTheory.Limits.IsColimit c' →
                  (c'.pt ⟶ CategoryTheory.shrinkYoneda.{w, v, u}.obj (Opposite.unop c.pt))

Let F : J ⥤ Cᵒᵖ be a functor, c' a colimit cocone for F.leftOp ⋙ shrinkYoneda.{w}. For any cone c for F, this is the canonical natural transformation c'.pt ⟶ shrinkYoneda.{w}.obj c.pt.unop.

theorem CategoryTheory.Presheaf.coconePtToShrinkYoneda_comp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} J]
  [inst_2 : CategoryTheory.LocallySmall.{w, v, u} C] {F : CategoryTheory.Functor J Cᵒᵖ}
  (c : CategoryTheory.Limits.Cone F)
  {c' : CategoryTheory.Limits.Cocone (F.leftOp.comp CategoryTheory.shrinkYoneda.{w, v, u})}
  (hc' : CategoryTheory.Limits.IsColimit c') {P : CategoryTheory.Functor Cᵒᵖ (Type w)} (x : P.obj c.pt),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Presheaf.coconePtToShrinkYoneda c hc')
      (CategoryTheory.shrinkYonedaEquiv.symm x) =
    (CategoryTheory.Presheaf.coconeCompShrinkYonedaHomEquiv hc').symm
      (CategoryTheory.Limits.Types.sectionOfCone (P.mapCone c) x)

theorem CategoryTheory.Presheaf.coconePtToShrinkYoneda_comp_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} J]
  [inst_2 : CategoryTheory.LocallySmall.{w, v, u} C] {F : CategoryTheory.Functor J Cᵒᵖ}
  (c : CategoryTheory.Limits.Cone F)
  {c' : CategoryTheory.Limits.Cocone (F.leftOp.comp CategoryTheory.shrinkYoneda.{w, v, u})}
  (hc' : CategoryTheory.Limits.IsColimit c') {P : CategoryTheory.Functor Cᵒᵖ (Type w)} (x : P.obj c.pt)
  {Z : CategoryTheory.Functor Cᵒᵖ (Type w)} (h : P ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Presheaf.coconePtToShrinkYoneda c hc')
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.shrinkYonedaEquiv.symm x) h) =
    CategoryTheory.CategoryStruct.comp
      ((CategoryTheory.Presheaf.coconeCompShrinkYonedaHomEquiv hc').symm
        (CategoryTheory.Limits.Types.sectionOfCone (P.mapCone c) x))
      h

theorem CategoryTheory.Presheaf.nonempty_isLimit_mapCone_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} J]
  [inst_2 : CategoryTheory.LocallySmall.{w, v, u} C] {F : CategoryTheory.Functor J Cᵒᵖ}
  (c : CategoryTheory.Limits.Cone F)
  {c' : CategoryTheory.Limits.Cocone (F.leftOp.comp CategoryTheory.shrinkYoneda.{w, v, u})}
  (hc' : CategoryTheory.Limits.IsColimit c') (P : CategoryTheory.Functor Cᵒᵖ (Type w)),
  Nonempty (CategoryTheory.Limits.IsLimit (P.mapCone c)) ↔
    (CategoryTheory.MorphismProperty.single (CategoryTheory.Presheaf.coconePtToShrinkYoneda c hc')).isLocal P

theorem CategoryTheory.Presheaf.preservesLimit_eq_isLocal_single E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} J]
  [inst_2 : CategoryTheory.LocallySmall.{w, v, u} C] {F : CategoryTheory.Functor J Cᵒᵖ}
  {c : CategoryTheory.Limits.Cone F}
  {c' : CategoryTheory.Limits.Cocone (F.leftOp.comp CategoryTheory.shrinkYoneda.{w, v, u})}
  (hc : CategoryTheory.Limits.IsLimit c) (hc' : CategoryTheory.Limits.IsColimit c'),
  CategoryTheory.ObjectProperty.preservesLimit F =
    (CategoryTheory.MorphismProperty.single (CategoryTheory.Presheaf.coconePtToShrinkYoneda c hc')).isLocal

abbrev CategoryTheory.Presheaf.preservesLimitHomFamilySrc E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {J : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} J] →
        [CategoryTheory.LocallySmall.{w, v, u} C] →
          CategoryTheory.Functor J Cᵒᵖ → [Small.{w, u'} J] → CategoryTheory.Functor Cᵒᵖ (Type w)

Auxiliary definition for Presheaf.preservesLimitHomFamily.

abbrev CategoryTheory.Presheaf.preservesLimitHomFamilyTgt E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {J : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} J] →
        [CategoryTheory.LocallySmall.{w, v, u} C] →
          (F : CategoryTheory.Functor J Cᵒᵖ) →
            PLift (CategoryTheory.Limits.HasLimit F) → CategoryTheory.Functor Cᵒᵖ (Type w)

Auxiliary definition for Presheaf.preservesLimitHomFamily.

abbrev CategoryTheory.Presheaf.preservesLimitHomFamily E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {J : Type u'} →
      [inst_1 : CategoryTheory.Category.{v', u'} J] →
        [inst_2 : CategoryTheory.LocallySmall.{w, v, u} C] →
          (F : CategoryTheory.Functor J Cᵒᵖ) →
            [inst_3 : Small.{w, u'} J] →
              (h : PLift (CategoryTheory.Limits.HasLimit F)) →
                CategoryTheory.Presheaf.preservesLimitHomFamilySrc F ⟶
                  CategoryTheory.Presheaf.preservesLimitHomFamilyTgt F h

Let F : J ⥤ Cᵒᵖ be a functor. This is the family of morphisms which consists of the single morphism colimit (F.leftOp ⋙ shrinkYoneda) ⟶ shrinkYoneda.obj (limit F).unop if F has a limit, or is the empty family otherwise.

theorem CategoryTheory.Presheaf.preservesLimit_eq_isLocal E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} J]
  [inst_2 : CategoryTheory.LocallySmall.{w, v, u} C] (F : CategoryTheory.Functor J Cᵒᵖ) [inst_3 : Small.{w, u'} J],
  CategoryTheory.ObjectProperty.preservesLimit F =
    (CategoryTheory.MorphismProperty.ofHoms (CategoryTheory.Presheaf.preservesLimitHomFamily F)).isLocal

theorem CategoryTheory.Presheaf.preservesLimitsOfShape_eq_isLocal E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type u'} [inst_1 : CategoryTheory.Category.{v', u'} J]
  [inst_2 : CategoryTheory.LocallySmall.{w, v, u} C] [inst_3 : Small.{w, u'} J],
  CategoryTheory.ObjectProperty.preservesLimitsOfShape J =
    (⨆ F, CategoryTheory.MorphismProperty.ofHoms (CategoryTheory.Presheaf.preservesLimitHomFamily F)).isLocal