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.DenseAtCoyoneda

13 declarations. Mathlib docs · Source

def CategoryTheory.Functor.Elements.shrinkCoyonedaCocone E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] →
      (P : CategoryTheory.Functor C (Type w)) →
        CategoryTheory.Limits.Cocone
          ((CategoryTheory.Functor.Elements.π P).op.comp CategoryTheory.shrinkCoyoneda.{w, v, u})

The (colimit) cocone which expresses a functor P : C ⥤ Type w as as a colimit (indexed by P.Elementsᵒᵖ) of corepresentable presheaves (defined using shrinkCoyoneda).

theorem CategoryTheory.Functor.Elements.shrinkCoyonedaCocone_ι_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C]
  (P : CategoryTheory.Functor C (Type w)) (x : P.Elementsᵒᵖ),
  (CategoryTheory.Functor.Elements.shrinkCoyonedaCocone P).ι.app x =
    CategoryTheory.shrinkCoyonedaEquiv.symm (Opposite.unop x).val

theorem CategoryTheory.Functor.Elements.shrinkCoyonedaCocone_pt E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C]
  (P : CategoryTheory.Functor C (Type w)), (CategoryTheory.Functor.Elements.shrinkCoyonedaCocone P).pt = P

theorem CategoryTheory.Functor.Elements.shrinkYoneda_map_app_shrinkCoyonedaCocone_ι_app_app_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C]
  (P : CategoryTheory.Functor C (Type w)) {X Y : C} (f : X ⟶ Y) (u : P.Elementsᵒᵖ) {Z : Type w}
  (h :
    (((CategoryTheory.Functor.const P.Elementsᵒᵖ).obj (CategoryTheory.Functor.Elements.shrinkCoyonedaCocone P).pt).obj
            u).obj
        Y ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      ((CategoryTheory.shrinkYoneda.{w, v, u}.map f).app ((CategoryTheory.Functor.Elements.π P).op.obj u))
      (CategoryTheory.CategoryStruct.comp (((CategoryTheory.Functor.Elements.shrinkCoyonedaCocone P).ι.app u).app Y)
        h) =
    CategoryTheory.CategoryStruct.comp (((CategoryTheory.Functor.Elements.shrinkCoyonedaCocone P).ι.app u).app X)
      (CategoryTheory.CategoryStruct.comp (P.map f) h)

theorem CategoryTheory.Functor.Elements.shrinkYoneda_map_app_shrinkCoyonedaCocone_ι_app_app E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C]
  (P : CategoryTheory.Functor C (Type w)) {X Y : C} (f : X ⟶ Y) (u : P.Elementsᵒᵖ),
  CategoryTheory.CategoryStruct.comp
      ((CategoryTheory.shrinkYoneda.{w, v, u}.map f).app ((CategoryTheory.Functor.Elements.π P).op.obj u))
      (((CategoryTheory.Functor.Elements.shrinkCoyonedaCocone P).ι.app u).app Y) =
    CategoryTheory.CategoryStruct.comp (((CategoryTheory.Functor.Elements.shrinkCoyonedaCocone P).ι.app u).app X)
      (P.map f)

def CategoryTheory.Functor.Elements.isColimitShrinkCoyonedaCoconeObj E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] →
      (P : CategoryTheory.Functor C (Type w)) →
        (X : C) →
          CategoryTheory.Limits.IsColimit
            (((CategoryTheory.evaluation C (Type w)).obj X).mapCocone
              (CategoryTheory.Functor.Elements.shrinkCoyonedaCocone P))

For any functor P : C ⥤ Type w, the cocone shrinkCoyonedaCocone P becomes a colimit after applying the evaluation functor at any X : C.

def CategoryTheory.Functor.Elements.isColimitShrinkCoyonedaCocone E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] →
      (P : CategoryTheory.Functor C (Type w)) →
        CategoryTheory.Limits.IsColimit (CategoryTheory.Functor.Elements.shrinkCoyonedaCocone P)

Any functor P : C ⥤ Type w is a colimit of corepresentable functors (defined using shrinkCoyoneda) indexed by the opposite category of the category of elements in P.

def CategoryTheory.Functor.Elements.shrinkYonedaCompWhiskeringLeftObjπCompColimIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] →
      (P : CategoryTheory.Functor C (Type w)) →
        [inst_2 : CategoryTheory.Limits.HasColimitsOfShape P.Elementsᵒᵖ (Type w)] →
          CategoryTheory.shrinkYoneda.{w, v, u}.comp
              (((CategoryTheory.Functor.whiskeringLeft P.Elementsᵒᵖ Cᵒᵖ (Type w)).obj
                    (CategoryTheory.Functor.Elements.π P).op).comp
                CategoryTheory.Limits.colim) ≅
            P

If F : C ⥤ Type w and C is locally w-small, then F identifies to the composition shrinkYoneda ⋙ (Functor.whiskeringLeft _ _ _).obj (CategoryOfElements.π F).op ⋙ colim.

theorem CategoryTheory.Functor.Elements.shrinkYonedaCompWhiskeringLeftObjπCompColimIso_inv_app_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C]
  (P : CategoryTheory.Functor C (Type w)) [inst_2 : CategoryTheory.Limits.HasColimitsOfShape P.Elementsᵒᵖ (Type w)]
  (u : P.Elements),
  (CategoryTheory.ConcreteCategory.hom
        ((CategoryTheory.Functor.Elements.shrinkYonedaCompWhiskeringLeftObjπCompColimIso P).inv.app u.obj))
      u.val =
    (CategoryTheory.ConcreteCategory.hom
        (CategoryTheory.Limits.colimit.ι
          ((CategoryTheory.Functor.Elements.π P).op.comp (CategoryTheory.shrinkYoneda.{w, v, u}.obj u.obj))
          (Opposite.op u)))
      (CategoryTheory.shrinkYonedaObjObjEquiv.symm
        (CategoryTheory.CategoryStruct.id
          (Opposite.unop ((CategoryTheory.Functor.Elements.π P).op.obj (Opposite.op u)))))

instance CategoryTheory.instIsDenseOppositeFunctorTypeShrinkCoyoneda E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C],
  CategoryTheory.shrinkCoyoneda.{w, v, u}.IsDense

instance CategoryTheory.instIsDenseOppositeFunctorTypeCoyoneda E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C], CategoryTheory.coyoneda.IsDense

def CategoryTheory.denseAtShrinkCoyoneda E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] →
      (P : CategoryTheory.Functor C (Type w)) → CategoryTheory.shrinkCoyoneda.{w, v, u}.DenseAt P

When C is a locally w-small category, the functor shrinkCoyoneda : Cᵒᵖ ⥤ C ⥤ Type w is dense at any P : C ⥤ Type w: the functor P identifies to the colimit of the canonical cocone of corepresentable functors indexed by the category CostructuredArrow shrinkCoyoneda P.

def CategoryTheory.denseAtCoyoneda E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (P : CategoryTheory.Functor C (Type v)) → CategoryTheory.coyoneda.DenseAt P

The functor coyoneda : Cᵒᵖ ⥤ C ⥤ Type v is dense at any P : C ⥤ Type v: the functor P identifies to the colimit of the canonical cocone of corepresentable functors indexed by the category CostructuredArrow coyoneda P.