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

16 declarations. Mathlib docs · Source

theorem CategoryTheory.Presheaf.shrinkYonedaEquiv_right_of_leftExtension_hom E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.LocallySmall.{w, v₁, u₁} C] [inst_3 : CategoryTheory.LocallySmall.{w, v₂, u₂} D]
  (F : CategoryTheory.Functor C D) {X : C} {Y : F.op.LeftExtension (CategoryTheory.shrinkYoneda.{w, v₁, u₁}.obj X)}
  (φ :
    CategoryTheory.Functor.LeftExtension.mk (CategoryTheory.shrinkYoneda.{w, v₂, u₂}.obj (F.obj X))
        (CategoryTheory.shrinkYonedaMap F X) ⟶
      Y),
  CategoryTheory.shrinkYonedaEquiv (CategoryTheory.StructuredArrow.Hom.right φ) =
    CategoryTheory.shrinkYonedaEquiv (CategoryTheory.StructuredArrow.hom Y)

instance CategoryTheory.Presheaf.instUniqueHomLeftExtensionOppositeOpObjFunctorTypeShrinkYonedaMkShrinkYonedaMap E0 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        [inst_2 : CategoryTheory.LocallySmall.{w, v₁, u₁} C] →
          [inst_3 : CategoryTheory.LocallySmall.{w, v₂, u₂} D] →
            (F : CategoryTheory.Functor C D) →
              (X : C) →
                (Y : F.op.LeftExtension (CategoryTheory.shrinkYoneda.{w, v₁, u₁}.obj X)) →
                  Unique
                    (CategoryTheory.Functor.LeftExtension.mk (CategoryTheory.shrinkYoneda.{w, v₂, u₂}.obj (F.obj X))
                        (CategoryTheory.shrinkYonedaMap F X) ⟶
                      Y)

instance CategoryTheory.Presheaf.instIsLeftKanExtensionOppositeObjFunctorTypeShrinkYonedaShrinkYonedaMap E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.LocallySmall.{w, v₁, u₁} C] [inst_3 : CategoryTheory.LocallySmall.{w, v₂, u₂} D]
  (F : CategoryTheory.Functor C D) (X : C),
  (CategoryTheory.shrinkYoneda.{w, v₂, u₂}.obj (F.obj X)).IsLeftKanExtension (CategoryTheory.shrinkYonedaMap F X)

If F : C ⥤ D and X : C, the functor shrinkYoneda.obj (F.obj X) is a left Kan extension of shrinkYoneda.obj X along F.op.

def CategoryTheory.Presheaf.compShrinkYonedaIsoShrinkYonedaCompLan E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        [inst_2 : CategoryTheory.LocallySmall.{w, v₁, u₁} C] →
          [inst_3 : CategoryTheory.LocallySmall.{w, v₂, u₂} D] →
            (F : CategoryTheory.Functor C D) →
              [inst_4 : ∀ (P : CategoryTheory.Functor Cᵒᵖ (Type w)), F.op.HasLeftKanExtension P] →
                F.comp CategoryTheory.shrinkYoneda.{w, v₂, u₂} ≅ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp F.op.lan

F ⋙ shrinkYoneda is naturally isomorphic to shrinkYoneda ⋙ F.op.lan.

theorem CategoryTheory.Presheaf.comp_whiskerLeft_compShrinkYonedaIsoShrinkYonedaCompLan_inv_app_assoc E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.LocallySmall.{w, v₁, u₁} C] [inst_3 : CategoryTheory.LocallySmall.{w, v₂, u₂} D]
  (F : CategoryTheory.Functor C D) [inst_4 : ∀ (P : CategoryTheory.Functor Cᵒᵖ (Type w)), F.op.HasLeftKanExtension P]
  (X : C) {Z : CategoryTheory.Functor Cᵒᵖ (Type w)}
  (h : F.op.comp (CategoryTheory.shrinkYoneda.{w, v₂, u₂}.obj (F.obj X)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (F.op.lanUnit.app (CategoryTheory.shrinkYoneda.{w, v₁, u₁}.obj X))
      (CategoryTheory.CategoryStruct.comp
        (F.op.whiskerLeft ((CategoryTheory.Presheaf.compShrinkYonedaIsoShrinkYonedaCompLan F).inv.app X)) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.shrinkYonedaMap F X) h

theorem CategoryTheory.Presheaf.comp_whiskerLeft_compShrinkYonedaIsoShrinkYonedaCompLan_inv_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.LocallySmall.{w, v₁, u₁} C] [inst_3 : CategoryTheory.LocallySmall.{w, v₂, u₂} D]
  (F : CategoryTheory.Functor C D) [inst_4 : ∀ (P : CategoryTheory.Functor Cᵒᵖ (Type w)), F.op.HasLeftKanExtension P]
  (X : C),
  CategoryTheory.CategoryStruct.comp (F.op.lanUnit.app (CategoryTheory.shrinkYoneda.{w, v₁, u₁}.obj X))
      (F.op.whiskerLeft ((CategoryTheory.Presheaf.compShrinkYonedaIsoShrinkYonedaCompLan F).inv.app X)) =
    CategoryTheory.shrinkYonedaMap F X

theorem CategoryTheory.Presheaf.comp_whiskerLeft_compShrinkYonedaIsoShrinkYonedaCompLan_hom_app_assoc E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.LocallySmall.{w, v₁, u₁} C] [inst_3 : CategoryTheory.LocallySmall.{w, v₂, u₂} D]
  (F : CategoryTheory.Functor C D) [inst_4 : ∀ (P : CategoryTheory.Functor Cᵒᵖ (Type w)), F.op.HasLeftKanExtension P]
  (X : C) {Z : CategoryTheory.Functor Cᵒᵖ (Type w)}
  (h : F.op.comp (F.op.lan.obj (CategoryTheory.shrinkYoneda.{w, v₁, u₁}.obj X)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.shrinkYonedaMap F X)
      (CategoryTheory.CategoryStruct.comp
        (F.op.whiskerLeft ((CategoryTheory.Presheaf.compShrinkYonedaIsoShrinkYonedaCompLan F).hom.app X)) h) =
    CategoryTheory.CategoryStruct.comp (F.op.lanUnit.app (CategoryTheory.shrinkYoneda.{w, v₁, u₁}.obj X)) h

theorem CategoryTheory.Presheaf.comp_whiskerLeft_compShrinkYonedaIsoShrinkYonedaCompLan_hom_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.LocallySmall.{w, v₁, u₁} C] [inst_3 : CategoryTheory.LocallySmall.{w, v₂, u₂} D]
  (F : CategoryTheory.Functor C D) [inst_4 : ∀ (P : CategoryTheory.Functor Cᵒᵖ (Type w)), F.op.HasLeftKanExtension P]
  (X : C),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.shrinkYonedaMap F X)
      (F.op.whiskerLeft ((CategoryTheory.Presheaf.compShrinkYonedaIsoShrinkYonedaCompLan F).hom.app X)) =
    F.op.lanUnit.app (CategoryTheory.shrinkYoneda.{w, v₁, u₁}.obj X)

theorem CategoryTheory.Presheaf.compShrinkYonedaIsoShrinkYonedaCompLan_inv_app_app_eq_id E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.LocallySmall.{w, v₁, u₁} C] [inst_3 : CategoryTheory.LocallySmall.{w, v₂, u₂} D]
  (F : CategoryTheory.Functor C D) [inst_4 : ∀ (P : CategoryTheory.Functor Cᵒᵖ (Type w)), F.op.HasLeftKanExtension P]
  (X : C),
  (CategoryTheory.ConcreteCategory.hom
        (((CategoryTheory.Presheaf.compShrinkYonedaIsoShrinkYonedaCompLan F).inv.app X).app (Opposite.op (F.obj X))))
      ((CategoryTheory.ConcreteCategory.hom
          ((F.op.lanUnit.app (CategoryTheory.shrinkYoneda.{w, v₁, u₁}.obj X)).app (Opposite.op X)))
        (CategoryTheory.shrinkYonedaObjObjEquiv.symm (CategoryTheory.CategoryStruct.id X))) =
    CategoryTheory.shrinkYonedaObjObjEquiv.symm (CategoryTheory.CategoryStruct.id (F.obj X))

def CategoryTheory.Presheaf.isPointwiseLeftKanExtensionLanOp E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        [inst_2 : CategoryTheory.LocallySmall.{w, v₁, u₁} C] →
          [inst_3 : CategoryTheory.LocallySmall.{w, v₂, u₂} D] →
            (F : CategoryTheory.Functor C D) →
              [inst_4 : ∀ (P : CategoryTheory.Functor Cᵒᵖ (Type w)), F.op.HasLeftKanExtension P] →
                (CategoryTheory.Functor.LeftExtension.mk F.op.lan
                    (CategoryTheory.Presheaf.compShrinkYonedaIsoShrinkYonedaCompLan F).hom).IsPointwiseLeftKanExtension

Let F : C ⥤ D be a functor between locally w-small categories. Assume that F.op.lan : (Cᵒᵖ ⥤ Type w) ⥤ Dᵒᵖ ⥤ Type w is defined. Then, it is a pointwise left Kan extension of F ⋙ shrinkYoneda : C ⥤ Dᵒᵖ ⥤ Type w along the Yoneda embedding of C.

instance CategoryTheory.Presheaf.instIsLeftKanExtensionFunctorOppositeTypeLanOpHomCompShrinkYonedaIsoShrinkYonedaCompLan E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  [inst_2 : CategoryTheory.LocallySmall.{w, v₁, u₁} C] [inst_3 : CategoryTheory.LocallySmall.{w, v₂, u₂} D]
  (F : CategoryTheory.Functor C D) [inst_4 : ∀ (P : CategoryTheory.Functor Cᵒᵖ (Type w)), F.op.HasLeftKanExtension P],
  F.op.lan.IsLeftKanExtension (CategoryTheory.Presheaf.compShrinkYonedaIsoShrinkYonedaCompLan F).hom

instance CategoryTheory.Presheaf.instIsLeftKanExtensionOppositeObjFunctorTypeYonedaYonedaMap E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u_1}
  [inst_1 : CategoryTheory.Category.{v₁, u_1} D] (F : CategoryTheory.Functor C D) (X : C),
  (CategoryTheory.yoneda.obj (F.obj X)).IsLeftKanExtension (CategoryTheory.yonedaMap F X)

If F : C ⥤ D and X : C, the functor yoneda.obj (F.obj X) is a left Kan extension of yoneda.obj X along F.op.

instance CategoryTheory.Presheaf.instIsLeftKanExtensionOppositeObjFunctorTypeUliftYonedaUliftYonedaMap E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D) (X : C),
  (CategoryTheory.uliftYoneda.{max w v₁, v₂, u₂}.obj (F.obj X)).IsLeftKanExtension (CategoryTheory.uliftYonedaMap F X)

If F : C ⥤ D and X : C, the functor uliftYoneda.obj (F.obj X) is a left Kan extension of uliftYoneda.obj X along F.op.

def CategoryTheory.Presheaf.compULiftYonedaIsoULiftYonedaCompLan E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        (F : CategoryTheory.Functor C D) →
          [inst_2 : ∀ (P : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁ v₂))), F.op.HasLeftKanExtension P] →
            F.comp CategoryTheory.uliftYoneda.{max w v₁, v₂, u₂} ≅
              CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.comp F.op.lan

F ⋙ uliftYoneda is naturally isomorphic to uliftYoneda ⋙ F.op.lan.

theorem CategoryTheory.Presheaf.compULiftYonedaIsoULiftYonedaCompLan_inv_app_app_apply_eq_id E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D)
  [inst_2 : ∀ (P : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁ v₂))), F.op.HasLeftKanExtension P] (X : C),
  (CategoryTheory.ConcreteCategory.hom
        (((CategoryTheory.Presheaf.compULiftYonedaIsoULiftYonedaCompLan F).inv.app X).app (Opposite.op (F.obj X))))
      ((CategoryTheory.ConcreteCategory.hom
          ((F.op.lanUnit.app (CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.obj X)).app (Opposite.op X)))
        { down := CategoryTheory.CategoryStruct.id X }) =
    { down := CategoryTheory.CategoryStruct.id (F.obj X) }

instance CategoryTheory.Presheaf.instIsLeftKanExtensionFunctorOppositeTypeLanOpHomCompULiftYonedaIsoULiftYonedaCompLan E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (F : CategoryTheory.Functor C D)
  [inst_2 : ∀ (P : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁ v₂))), F.op.HasLeftKanExtension P],
  F.op.lan.IsLeftKanExtension (CategoryTheory.Presheaf.compULiftYonedaIsoULiftYonedaCompLan F).hom