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

32 declarations. Mathlib docs · Source

def CategoryTheory.Coyoneda.colimitCocone E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] → (X : Cᵒᵖ) → CategoryTheory.Limits.Cocone (CategoryTheory.coyoneda.obj X)

The colimit cocone over coyoneda.obj X, with cocone point PUnit.

theorem CategoryTheory.Coyoneda.colimitCocone_ι_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : Cᵒᵖ) (x : C),
  (CategoryTheory.Coyoneda.colimitCocone X).ι.app x = TypeCat.ofHom fun x_1 ↦ id PUnit.unit

theorem CategoryTheory.Coyoneda.colimitCocone_pt E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : Cᵒᵖ),
  (CategoryTheory.Coyoneda.colimitCocone X).pt = PUnit.{v + 1}

def CategoryTheory.Coyoneda.colimitCoconeIsColimit E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (X : Cᵒᵖ) → CategoryTheory.Limits.IsColimit (CategoryTheory.Coyoneda.colimitCocone X)

The proposed colimit cocone over coyoneda.obj X is a colimit cocone.

theorem CategoryTheory.Coyoneda.colimitCoconeIsColimit_desc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : Cᵒᵖ)
  (s : CategoryTheory.Limits.Cocone (CategoryTheory.coyoneda.obj X)),
  (CategoryTheory.Coyoneda.colimitCoconeIsColimit X).desc s =
    TypeCat.ofHom fun x ↦
      (CategoryTheory.ConcreteCategory.hom (s.ι.app (Opposite.unop X)))
        (CategoryTheory.CategoryStruct.id (Opposite.unop X))

instance CategoryTheory.Coyoneda.instHasColimitObjOppositeFunctorTypeCoyoneda E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : Cᵒᵖ),
  CategoryTheory.Limits.HasColimit (CategoryTheory.coyoneda.obj X)

def CategoryTheory.Coyoneda.colimitCoyonedaIso E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (X : Cᵒᵖ) → CategoryTheory.Limits.colimit (CategoryTheory.coyoneda.obj X) ≅ PUnit.{v + 1}

The colimit of coyoneda.obj X is isomorphic to PUnit.

def CategoryTheory.Limits.coneOfSectionCompYoneda E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {J : Type w} →
      [inst_1 : CategoryTheory.Category.{t, w} J] →
        (F : CategoryTheory.Functor J Cᵒᵖ) →
          (X : C) → ↑(F.comp (CategoryTheory.yoneda.obj X)).sections → CategoryTheory.Limits.Cone F

The cone of F corresponding to an element in (F ⋙ yoneda.obj X).sections.

theorem CategoryTheory.Limits.coneOfSectionCompYoneda_pt E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type w} [inst_1 : CategoryTheory.Category.{t, w} J]
  (F : CategoryTheory.Functor J Cᵒᵖ) (X : C) (s : ↑(F.comp (CategoryTheory.yoneda.obj X)).sections),
  (CategoryTheory.Limits.coneOfSectionCompYoneda F X s).pt = Opposite.op X

theorem CategoryTheory.Limits.coneOfSectionCompYoneda_π_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type w} [inst_1 : CategoryTheory.Category.{t, w} J]
  (F : CategoryTheory.Functor J Cᵒᵖ) (X : C) (s : ↑(F.comp (CategoryTheory.yoneda.obj X)).sections) (j : J),
  (CategoryTheory.Limits.coneOfSectionCompYoneda F X s).π.app j = Quiver.Hom.op (↑s j)

instance CategoryTheory.yoneda_preservesLimit E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type w} [inst_1 : CategoryTheory.Category.{t, w} J]
  (F : CategoryTheory.Functor J Cᵒᵖ) (X : C), CategoryTheory.Limits.PreservesLimit F (CategoryTheory.yoneda.obj X)

instance CategoryTheory.yoneda_preservesLimitsOfShape E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : Type w) [inst_1 : CategoryTheory.Category.{t, w} J]
  (X : C), CategoryTheory.Limits.PreservesLimitsOfShape J (CategoryTheory.yoneda.obj X)

def CategoryTheory.yonedaJointlyReflectsLimits E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {J : Type w} →
      [inst_1 : CategoryTheory.Category.{t, w} J] →
        (F : CategoryTheory.Functor J Cᵒᵖ) →
          (c : CategoryTheory.Limits.Cone F) →
            ((X : C) → CategoryTheory.Limits.IsLimit ((CategoryTheory.yoneda.obj X).mapCone c)) →
              CategoryTheory.Limits.IsLimit c

The yoneda embeddings jointly reflect limits.

def CategoryTheory.Limits.Cocone.isColimitYonedaEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {J : Type w} →
      [inst_1 : CategoryTheory.Category.{t, w} J] →
        {F : CategoryTheory.Functor J C} →
          (c : CategoryTheory.Limits.Cocone F) →
            CategoryTheory.Limits.IsColimit c ≃
              ((X : C) → CategoryTheory.Limits.IsLimit ((CategoryTheory.yoneda.obj X).mapCone c.op))

A cocone is colimit iff it becomes limit after the application of yoneda.obj X for all X : C.

def CategoryTheory.Limits.coneOfSectionCompCoyoneda E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {J : Type w} →
      [inst_1 : CategoryTheory.Category.{t, w} J] →
        (F : CategoryTheory.Functor J C) →
          (X : Cᵒᵖ) → ↑(F.comp (CategoryTheory.coyoneda.obj X)).sections → CategoryTheory.Limits.Cone F

The cone of F corresponding to an element in (F ⋙ coyoneda.obj X).sections.

theorem CategoryTheory.Limits.coneOfSectionCompCoyoneda_pt E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type w} [inst_1 : CategoryTheory.Category.{t, w} J]
  (F : CategoryTheory.Functor J C) (X : Cᵒᵖ) (s : ↑(F.comp (CategoryTheory.coyoneda.obj X)).sections),
  (CategoryTheory.Limits.coneOfSectionCompCoyoneda F X s).pt = Opposite.unop X

theorem CategoryTheory.Limits.coneOfSectionCompCoyoneda_π_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type w} [inst_1 : CategoryTheory.Category.{t, w} J]
  (F : CategoryTheory.Functor J C) (X : Cᵒᵖ) (s : ↑(F.comp (CategoryTheory.coyoneda.obj X)).sections) (j : J),
  (CategoryTheory.Limits.coneOfSectionCompCoyoneda F X s).π.app j = ↑s j

instance CategoryTheory.coyoneda_preservesLimit E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {J : Type w} [inst_1 : CategoryTheory.Category.{t, w} J]
  (F : CategoryTheory.Functor J C) (X : Cᵒᵖ), CategoryTheory.Limits.PreservesLimit F (CategoryTheory.coyoneda.obj X)

instance CategoryTheory.coyonedaPreservesLimitsOfShape E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (J : Type w) [inst_1 : CategoryTheory.Category.{t, w} J]
  (X : Cᵒᵖ), CategoryTheory.Limits.PreservesLimitsOfShape J (CategoryTheory.coyoneda.obj X)

def CategoryTheory.coyonedaJointlyReflectsLimits E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {J : Type w} →
      [inst_1 : CategoryTheory.Category.{t, w} J] →
        (F : CategoryTheory.Functor J C) →
          (c : CategoryTheory.Limits.Cone F) →
            ((X : Cᵒᵖ) → CategoryTheory.Limits.IsLimit ((CategoryTheory.coyoneda.obj X).mapCone c)) →
              CategoryTheory.Limits.IsLimit c

The coyoneda embeddings jointly reflect limits.

def CategoryTheory.Limits.Cone.isLimitCoyonedaEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {J : Type w} →
      [inst_1 : CategoryTheory.Category.{t, w} J] →
        {F : CategoryTheory.Functor J C} →
          (c : CategoryTheory.Limits.Cone F) →
            CategoryTheory.Limits.IsLimit c ≃
              ((X : Cᵒᵖ) → CategoryTheory.Limits.IsLimit ((CategoryTheory.coyoneda.obj X).mapCone c))

A cone is limit iff it is so after the application of coyoneda.obj X for all X : Cᵒᵖ.

instance CategoryTheory.yoneda_preservesLimits E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : C),
  CategoryTheory.Limits.PreservesLimitsOfSize.{t, w, v, v, u, v + 1} (CategoryTheory.yoneda.obj X)

The yoneda embedding yoneda.obj X : Cᵒᵖ ⥤ Type v for X : C preserves limits.

instance CategoryTheory.coyoneda_preservesLimits E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (X : Cᵒᵖ),
  CategoryTheory.Limits.PreservesLimitsOfSize.{t, w, v, v, u, v + 1} (CategoryTheory.coyoneda.obj X)

The coyoneda embedding coyoneda.obj X : C ⥤ Type v for X : Cᵒᵖ preserves limits.

instance CategoryTheory.yonedaFunctor_preservesLimits E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C],
  CategoryTheory.Limits.PreservesLimitsOfSize.{t, w, v, max u v, u, max u (v + 1)} CategoryTheory.yoneda

instance CategoryTheory.coyonedaFunctor_preservesLimits E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C],
  CategoryTheory.Limits.PreservesLimitsOfSize.{t, w, v, max u v, u, max u (v + 1)} CategoryTheory.coyoneda

instance CategoryTheory.yonedaFunctor_reflectsLimits E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C],
  CategoryTheory.Limits.ReflectsLimitsOfSize.{t, w, v, max u v, u, max u (v + 1)} CategoryTheory.yoneda

instance CategoryTheory.coyonedaFunctor_reflectsLimits E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C],
  CategoryTheory.Limits.ReflectsLimitsOfSize.{t, w, v, max u v, u, max u (v + 1)} CategoryTheory.coyoneda

instance CategoryTheory.uliftYonedaFunctor_preservesLimits E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C],
  CategoryTheory.Limits.PreservesLimitsOfSize.{t, w, v, max (max u v) w', u, max (max u (v + 1)) (w' + 1)}
    CategoryTheory.uliftYoneda.{w', v, u}

instance CategoryTheory.instPreservesLimitsOfSizeOppositeFunctorTypeUliftCoyoneda E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C],
  CategoryTheory.Limits.PreservesLimitsOfSize.{t, w, v, max (max u v) w', u, max (max u (v + 1)) (w' + 1)}
    CategoryTheory.uliftCoyoneda.{w', v, u}

instance CategoryTheory.instPreservesLimitsOfSizeFunctorOppositeTypeShrinkYoneda E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.LocallySmall.{w', v, u} C],
  CategoryTheory.Limits.PreservesLimitsOfSize.{t, w, v, max u w', u, max (max u v) (w' + 1)}
    CategoryTheory.shrinkYoneda.{w', v, u}

instance CategoryTheory.Functor.instPreservesLimitsOfSizeOpposite E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F : CategoryTheory.Functor Cᵒᵖ (Type w')) [F.IsRepresentable],
  CategoryTheory.Limits.PreservesLimitsOfSize.{t, w, v, w', u, w' + 1} F

instance CategoryTheory.Functor.instPreservesLimitsOfSize E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (F : CategoryTheory.Functor C (Type u_1))
  [F.IsCorepresentable], CategoryTheory.Limits.PreservesLimitsOfSize.{t, w, v, u_1, u, u_1 + 1} F