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

37 declarations. Mathlib docs · Source

Pointwise left Kan extension along the Yoneda embedding

Let A : C ⥤ D be a functor between locally w-small categories. In this file, we give a criterion Presheaf.isPointwiseLeftKanExtensionAlongShrinkYoneda to identify pointwise left Kan extensions of A along the Yoneda embedding (i.e. given by a natural transformation α : A ⟶ shrinkYoneda.{w} ⋙ L where L : (Cᵒᵖ ⥤ Type w) ⥤ D.): the natural transformation α should be an isomorphism and L should preserves colimits (at least those expressing presheaves as colimits of representable presheaves). Under such assumptions, we show that L has a right adjoint restrictedShrinkYoneda.{w} A : D ⥤ Cᵒᵖ ⥤ Type w, see Presheaf.restrictedShrinkYonedaAdjunction.

References

  • [S. MacLane, I. Moerdijk, Sheaves in Geometry and Logic][MM92]
  • https://ncatlab.org/nlab/show/Yoneda+extension

theorem CategoryTheory.Presheaf.restrictedShrinkYonedaAdjunction.congr_simp 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]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} {A : CategoryTheory.Functor C D}
  (α α_1 : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L) (e_α : α = α_1)
  [inst_4 : CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A] [inst_5 : L.IsLeftKanExtension α],
  CategoryTheory.Presheaf.restrictedShrinkYonedaAdjunction α =
    CategoryTheory.Presheaf.restrictedShrinkYonedaAdjunction α_1

theorem CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv.congr_simp 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]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} {A : CategoryTheory.Functor C D}
  (α α_1 : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L) (e_α : α = α_1)
  [inst_4 : CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A] [inst_5 : L.IsLeftKanExtension α]
  {P : CategoryTheory.Functor Cᵒᵖ (Type w)} {E : D},
  CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α = CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α_1

theorem CategoryTheory.Functor.isPointwiseLeftKanExtensionOfIsLeftKanExtension.congr_simp E1 #

∀ {C : Type u_1} {D : Type u_2} {H : Type u_4} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.Category.{v_4, u_4} H]
  {L : CategoryTheory.Functor C D} {F : CategoryTheory.Functor C H} [inst_3 : L.HasPointwiseLeftKanExtension F]
  (F' : CategoryTheory.Functor D H) (α : F ⟶ L.comp F') [inst_4 : F'.IsLeftKanExtension α] (Y : D),
  CategoryTheory.Functor.isPointwiseLeftKanExtensionOfIsLeftKanExtension F' α Y =
    CategoryTheory.Functor.isPointwiseLeftKanExtensionOfIsLeftKanExtension F' α Y

theorem CategoryTheory.Presheaf.restrictedULiftYonedaAdjunction.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type (max w v₁ v₂))) D} {A : CategoryTheory.Functor C D}
  [inst_2 : CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.HasPointwiseLeftKanExtension A]
  (α α_1 : A ⟶ CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.comp L) (e_α : α = α_1) [inst_3 : L.IsLeftKanExtension α],
  CategoryTheory.Presheaf.restrictedULiftYonedaAdjunction α =
    CategoryTheory.Presheaf.restrictedULiftYonedaAdjunction α_1

theorem CategoryTheory.Presheaf.restrictedShrinkYoneda.congr_simp E1 #

∀ {C : Type u} {D : Type u'} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Category.{v', u'} D]
  [inst_2 : CategoryTheory.LocallySmall.{w, v', u'} D] (F F_1 : CategoryTheory.Functor C D),
  F = F_1 → CategoryTheory.Presheaf.restrictedShrinkYoneda F = CategoryTheory.Presheaf.restrictedShrinkYoneda F_1

def CategoryTheory.Presheaf.isPointwiseLeftKanExtensionAlongShrinkYoneda 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] →
          {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} →
            {A : CategoryTheory.Functor C D} →
              (α : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L) →
                [CategoryTheory.IsIso α] →
                  [∀ (P : CategoryTheory.Functor Cᵒᵖ (Type w)),
                        CategoryTheory.Limits.PreservesColimit
                          ((CategoryTheory.Functor.Elements.π P).leftOp.comp CategoryTheory.shrinkYoneda.{w, v₁, u₁})
                          L] →
                    (CategoryTheory.Functor.LeftExtension.mk L α).IsPointwiseLeftKanExtension

Given functors A : C ⥤ D and L : (Cᵒᵖ ⥤ Type w) ⥤ D A left extension given by a natural transformation α : A ⟶ shrinkYoneda.{w} ⋙ L is a pointwise left Kan extension when α is an isomorphism and L preserves suitable colimits (more precisely, the expression of any presheaf P : Cᵒᵖ ⥤ Type w as a colimit of representable presheaves).

def CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv 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] →
            {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} →
              {A : CategoryTheory.Functor C D} →
                (α : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L) →
                  [CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A] →
                    [L.IsLeftKanExtension α] →
                      {P : CategoryTheory.Functor Cᵒᵖ (Type w)} →
                        {E : D} → (L.obj P ⟶ E) ≃ (P ⟶ (CategoryTheory.Presheaf.restrictedShrinkYoneda A).obj E)

Auxiliary definition for Presheaf.restrictedShrinkYonedaAdjunction.

theorem CategoryTheory.Presheaf.comp_restrictedShrinkYonedaHomEquiv_symm_apply 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]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} {A : CategoryTheory.Functor C D}
  (α : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L)
  [inst_4 : CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A] [inst_5 : L.IsLeftKanExtension α]
  {P : CategoryTheory.Functor Cᵒᵖ (Type w)} {E : D} (f : P ⟶ (CategoryTheory.Presheaf.restrictedShrinkYoneda A).obj E)
  {X : C} (g : CategoryTheory.shrinkYoneda.{w, v₁, u₁}.obj X ⟶ P),
  CategoryTheory.CategoryStruct.comp (α.app X)
      (CategoryTheory.CategoryStruct.comp (L.map g)
        ((CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α).symm f)) =
    CategoryTheory.shrinkYonedaObjObjEquiv
      ((CategoryTheory.ConcreteCategory.hom (f.app (Opposite.op X))) (CategoryTheory.shrinkYonedaEquiv g))

theorem CategoryTheory.Presheaf.comp_restrictedShrinkYonedaHomEquiv_symm_apply_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]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} {A : CategoryTheory.Functor C D}
  (α : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L)
  [inst_4 : CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A] [inst_5 : L.IsLeftKanExtension α]
  {P : CategoryTheory.Functor Cᵒᵖ (Type w)} {E : D} (f : P ⟶ (CategoryTheory.Presheaf.restrictedShrinkYoneda A).obj E)
  {X : C} (g : CategoryTheory.shrinkYoneda.{w, v₁, u₁}.obj X ⟶ P) {Z : D} (h : E ⟶ Z),
  CategoryTheory.CategoryStruct.comp (α.app X)
      (CategoryTheory.CategoryStruct.comp (L.map g)
        (CategoryTheory.CategoryStruct.comp ((CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α).symm f) h)) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.shrinkYonedaObjObjEquiv
        ((CategoryTheory.ConcreteCategory.hom (f.app (Opposite.op X))) (CategoryTheory.shrinkYonedaEquiv g)))
      h

theorem CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv_app_apply 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]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} {A : CategoryTheory.Functor C D}
  (α : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L)
  [inst_4 : CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A] [inst_5 : L.IsLeftKanExtension α]
  {P : CategoryTheory.Functor Cᵒᵖ (Type w)} {E : D} (f : L.obj P ⟶ E) {X : Cᵒᵖ} (x : P.obj X),
  (CategoryTheory.ConcreteCategory.hom (((CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α) f).app X)) x =
    CategoryTheory.shrinkYonedaObjObjEquiv.symm
      (CategoryTheory.CategoryStruct.comp (α.app (Opposite.unop X))
        (CategoryTheory.CategoryStruct.comp (L.map (CategoryTheory.shrinkYonedaEquiv.symm x)) f))

theorem CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv_symm_naturality_left 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]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} {A : CategoryTheory.Functor C D}
  (α : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L)
  [inst_4 : CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A] [inst_5 : L.IsLeftKanExtension α]
  {P P' : CategoryTheory.Functor Cᵒᵖ (Type w)} {E : D} (f : P ⟶ P')
  (g : P' ⟶ (CategoryTheory.Presheaf.restrictedShrinkYoneda A).obj E),
  (CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α).symm (CategoryTheory.CategoryStruct.comp f g) =
    CategoryTheory.CategoryStruct.comp (L.map f) ((CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α).symm g)

theorem CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv_symm_naturality_left_assoc 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]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} {A : CategoryTheory.Functor C D}
  (α : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L)
  [inst_4 : CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A] [inst_5 : L.IsLeftKanExtension α]
  {P P' : CategoryTheory.Functor Cᵒᵖ (Type w)} {E : D} (f : P ⟶ P')
  (g : P' ⟶ (CategoryTheory.Presheaf.restrictedShrinkYoneda A).obj E) {Z : D} (h : E ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      ((CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α).symm (CategoryTheory.CategoryStruct.comp f g)) h =
    CategoryTheory.CategoryStruct.comp (L.map f)
      (CategoryTheory.CategoryStruct.comp ((CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α).symm g) h)

theorem CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv_naturality_left_assoc 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]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} {A : CategoryTheory.Functor C D}
  (α : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L)
  [inst_4 : CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A] [inst_5 : L.IsLeftKanExtension α]
  {P P' : CategoryTheory.Functor Cᵒᵖ (Type w)} {E : D} (f : P ⟶ P') (g : L.obj P' ⟶ E)
  {Z : CategoryTheory.Functor Cᵒᵖ (Type w)} (h : (CategoryTheory.Presheaf.restrictedShrinkYoneda A).obj E ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      ((CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α) (CategoryTheory.CategoryStruct.comp (L.map f) g)) h =
    CategoryTheory.CategoryStruct.comp f
      (CategoryTheory.CategoryStruct.comp ((CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α) g) h)

theorem CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv_naturality_left 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]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} {A : CategoryTheory.Functor C D}
  (α : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L)
  [inst_4 : CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A] [inst_5 : L.IsLeftKanExtension α]
  {P P' : CategoryTheory.Functor Cᵒᵖ (Type w)} {E : D} (f : P ⟶ P') (g : L.obj P' ⟶ E),
  (CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α) (CategoryTheory.CategoryStruct.comp (L.map f) g) =
    CategoryTheory.CategoryStruct.comp f ((CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α) g)

theorem CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv_symm_naturality_right_assoc 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]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} {A : CategoryTheory.Functor C D}
  (α : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L)
  [inst_4 : CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A] [inst_5 : L.IsLeftKanExtension α]
  {P : CategoryTheory.Functor Cᵒᵖ (Type w)} {E E' : D}
  (f : P ⟶ (CategoryTheory.Presheaf.restrictedShrinkYoneda A).obj E) (g : E ⟶ E') {Z : D} (h : E' ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      ((CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α).symm
        (CategoryTheory.CategoryStruct.comp f ((CategoryTheory.Presheaf.restrictedShrinkYoneda A).map g)))
      h =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α).symm f)
      (CategoryTheory.CategoryStruct.comp g h)

theorem CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv_symm_naturality_right 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]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} {A : CategoryTheory.Functor C D}
  (α : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L)
  [inst_4 : CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A] [inst_5 : L.IsLeftKanExtension α]
  {P : CategoryTheory.Functor Cᵒᵖ (Type w)} {E E' : D}
  (f : P ⟶ (CategoryTheory.Presheaf.restrictedShrinkYoneda A).obj E) (g : E ⟶ E'),
  (CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α).symm
      (CategoryTheory.CategoryStruct.comp f ((CategoryTheory.Presheaf.restrictedShrinkYoneda A).map g)) =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α).symm f) g

theorem CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv_naturality_right_assoc 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]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} {A : CategoryTheory.Functor C D}
  (α : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L)
  [inst_4 : CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A] [inst_5 : L.IsLeftKanExtension α]
  {P : CategoryTheory.Functor Cᵒᵖ (Type w)} {E E' : D} (f : L.obj P ⟶ E) (g : E ⟶ E')
  {Z : CategoryTheory.Functor Cᵒᵖ (Type w)} (h : (CategoryTheory.Presheaf.restrictedShrinkYoneda A).obj E' ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      ((CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α) (CategoryTheory.CategoryStruct.comp f g)) h =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α) f)
      (CategoryTheory.CategoryStruct.comp ((CategoryTheory.Presheaf.restrictedShrinkYoneda A).map g) h)

theorem CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv_naturality_right 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]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} {A : CategoryTheory.Functor C D}
  (α : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L)
  [inst_4 : CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A] [inst_5 : L.IsLeftKanExtension α]
  {P : CategoryTheory.Functor Cᵒᵖ (Type w)} {E E' : D} (f : L.obj P ⟶ E) (g : E ⟶ E'),
  (CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α) (CategoryTheory.CategoryStruct.comp f g) =
    CategoryTheory.CategoryStruct.comp ((CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α) f)
      ((CategoryTheory.Presheaf.restrictedShrinkYoneda A).map g)

def CategoryTheory.Presheaf.restrictedShrinkYonedaAdjunction 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] →
            {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} →
              {A : CategoryTheory.Functor C D} →
                (α : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L) →
                  [CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A] →
                    [L.IsLeftKanExtension α] → L ⊣ CategoryTheory.Presheaf.restrictedShrinkYoneda A

Let α : A ⟶ shrinkYoneda.{w} ⋙ L be a pointwise left Kan extension of A : C ⥤ D along the Yoneda embedding. Then, L admits restrictedShrinkYoneda.{w} A as a right adjoint.

theorem CategoryTheory.Presheaf.restrictedShrinkYonedaAdjunction_homEquiv 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]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} {A : CategoryTheory.Functor C D}
  (α : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L)
  [inst_4 : CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A] [inst_5 : L.IsLeftKanExtension α]
  (P : CategoryTheory.Functor Cᵒᵖ (Type w)) (E : D),
  (CategoryTheory.Presheaf.restrictedShrinkYonedaAdjunction α).homEquiv P E =
    CategoryTheory.Presheaf.restrictedShrinkYonedaHomEquiv α

theorem CategoryTheory.Presheaf.restrictedShrinkYonedaAdjunction_unit_app_app 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]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} {A : CategoryTheory.Functor C D}
  (α : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L)
  [inst_4 : CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A] [inst_5 : L.IsLeftKanExtension α]
  (P : CategoryTheory.Functor Cᵒᵖ (Type w)) {X : Cᵒᵖ} (x : P.obj X),
  (CategoryTheory.ConcreteCategory.hom
        (((CategoryTheory.Presheaf.restrictedShrinkYonedaAdjunction α).unit.app P).app X))
      x =
    CategoryTheory.shrinkYonedaObjObjEquiv.symm
      (CategoryTheory.CategoryStruct.comp (α.app (Opposite.unop X)) (L.map (CategoryTheory.shrinkYonedaEquiv.symm x)))

theorem CategoryTheory.Presheaf.preservesColimitsOfSize_of_isLeftKanExtension 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] [CategoryTheory.LocallySmall.{w, v₂, u₂} D]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} {A : CategoryTheory.Functor C D}
  (α : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L)
  [CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A] [L.IsLeftKanExtension α],
  CategoryTheory.Limits.PreservesColimitsOfSize.{v₃, u₃, max u₁ w, v₂, max (max u₁ v₁) (w + 1), u₂} L

Any left Kan extension along the Yoneda embedding preserves colimits.

instance CategoryTheory.Presheaf.instPreservesColimitsOfSizeFunctorOppositeTypeLeftKanExtensionShrinkYoneda 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] [CategoryTheory.LocallySmall.{w, v₂, u₂} D]
  {A : CategoryTheory.Functor C D} [inst_4 : CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A],
  CategoryTheory.Limits.PreservesColimitsOfSize.{v₃, u₃, max w u₁, v₂, max (max (w + 1) u₁) v₁, u₂}
    (CategoryTheory.shrinkYoneda.{w, v₁, u₁}.leftKanExtension A)

See Property 2 of https://ncatlab.org/nlab/show/Yoneda+extension#properties.

instance CategoryTheory.Presheaf.isIso_of_isLeftKanExtension 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]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} {A : CategoryTheory.Functor C D}
  (α : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L)
  [CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A] [L.IsLeftKanExtension α],
  CategoryTheory.IsIso α

theorem CategoryTheory.Presheaf.isLeftKanExtension_along_shrinkYoneda_iff 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] [CategoryTheory.LocallySmall.{w, v₂, u₂} D]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} {A : CategoryTheory.Functor C D}
  (α : A ⟶ CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L)
  [CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A],
  L.IsLeftKanExtension α ↔
    CategoryTheory.IsIso α ∧
      CategoryTheory.Limits.PreservesColimitsOfSize.{v₁, max w u₁, max u₁ w, v₂, max (max u₁ v₁) (w + 1), u₂} L

theorem CategoryTheory.Presheaf.isLeftKanExtension_along_shrinkYoneda_of_preservesColimits 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] [CategoryTheory.LocallySmall.{w, v₂, u₂} D]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D} {A : CategoryTheory.Functor C D}
  [CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension A]
  (e : CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L ≅ A)
  [CategoryTheory.Limits.PreservesColimitsOfSize.{v₁, max w u₁, max u₁ w, v₂, max (max u₁ v₁) (w + 1), u₂} L],
  L.IsLeftKanExtension e.inv

instance CategoryTheory.Presheaf.instIsLeftKanExtensionFunctorOppositeTypeIdCompShrinkYonedaOfHasPointwiseLeftKanExtension 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] [CategoryTheory.LocallySmall.{w, v₂, u₂} D]
  (L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type w)) D)
  [CategoryTheory.Limits.PreservesColimitsOfSize.{v₁, max w u₁, max u₁ w, v₂, max (max u₁ v₁) (w + 1), u₂} L]
  [CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension
      (CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L)],
  L.IsLeftKanExtension (CategoryTheory.CategoryStruct.id (CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp L))

theorem CategoryTheory.Presheaf.isLeftAdjoint_of_preservesColimits 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] [CategoryTheory.LocallySmall.{w, v₂, u₂} D]
  (L : CategoryTheory.Functor (CategoryTheory.Functor C (Type w)) D)
  [CategoryTheory.Limits.PreservesColimitsOfSize.{v₁, max w u₁, max u₁ w, v₂, max (max u₁ v₁) (w + 1), u₂} L]
  [CategoryTheory.shrinkYoneda.{w, v₁, u₁}.HasPointwiseLeftKanExtension
      (CategoryTheory.shrinkYoneda.{w, v₁, u₁}.comp ((CategoryTheory.opOpEquivalence C).congrLeft.functor.comp L))],
  L.IsLeftAdjoint

theorem CategoryTheory.Presheaf.hasPointwiseLeftKanExtension_shrinkYoneda_of_uliftYoneda E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (A : CategoryTheory.Functor C D) [CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.HasPointwiseLeftKanExtension A],
  CategoryTheory.shrinkYoneda.{max w v₁ v₂, v₁, u₁}.HasPointwiseLeftKanExtension A

theorem CategoryTheory.Presheaf.isLeftKanExtension_along_uliftYoneda_iff E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type (max w v₁ v₂))) D} {A : CategoryTheory.Functor C D}
  [CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.HasPointwiseLeftKanExtension A]
  (α : A ⟶ CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.comp L),
  L.IsLeftKanExtension α ↔
    CategoryTheory.IsIso α ∧
      CategoryTheory.Limits.PreservesColimitsOfSize.{v₁, max w u₁ v₁ v₂, max (max (max u₁ v₁) v₂) w, v₂,
          max (max (max u₁ (v₁ + 1)) (v₂ + 1)) (w + 1), u₂}
        L

theorem CategoryTheory.Presheaf.isLeftKanExtension_along_uliftYoneda_of_preservesColimits E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {A : CategoryTheory.Functor C D} [CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.HasPointwiseLeftKanExtension A]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type (max w v₁ v₂))) D}
  (e : CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.comp L ≅ A)
  [CategoryTheory.Limits.PreservesColimitsOfSize.{v₁, max w u₁ v₁ v₂, max (max (max u₁ v₁) v₂) w, v₂,
        max (max (max u₁ (v₁ + 1)) (v₂ + 1)) (w + 1), u₂}
      L],
  L.IsLeftKanExtension e.inv

instance CategoryTheory.Presheaf.instIsLeftKanExtensionFunctorOppositeTypeIdCompUliftYonedaOfPreservesColimitsOfSizeOfHasPointwiseLeftKanExtension E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  (L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type (max w v₁ v₂))) D)
  [CategoryTheory.Limits.PreservesColimitsOfSize.{v₁, max w u₁ v₁ v₂, max (max (max u₁ v₁) v₂) w, v₂,
        max (max (max u₁ (v₁ + 1)) (v₂ + 1)) (w + 1), u₂}
      L]
  [CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.HasPointwiseLeftKanExtension
      (CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.comp L)],
  L.IsLeftKanExtension (CategoryTheory.CategoryStruct.id (CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.comp L))

def CategoryTheory.Presheaf.restrictedULiftYonedaAdjunction E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {D : Type u₂} →
      [inst_1 : CategoryTheory.Category.{v₂, u₂} D] →
        {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type (max w v₁ v₂))) D} →
          {A : CategoryTheory.Functor C D} →
            [CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.HasPointwiseLeftKanExtension A] →
              (α : A ⟶ CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.comp L) →
                [L.IsLeftKanExtension α] → L ⊣ CategoryTheory.Presheaf.restrictedULiftYoneda A

Let α : A ⟶ uliftYoneda ⋙ L be a pointwise left Kan extension of A : C ⥤ D along the Yoneda embedding. Then, L admits restrictedULiftYoneda.{max w v₁} A as a right adjoint.

theorem CategoryTheory.Presheaf.restrictedULiftYonedaAdjunction_unit_app_app E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type (max w v₁ v₂))) D} {A : CategoryTheory.Functor C D}
  [inst_2 : CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.HasPointwiseLeftKanExtension A]
  (α : A ⟶ CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.comp L) [inst_3 : L.IsLeftKanExtension α]
  (P : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁ v₂))) {X : Cᵒᵖ} (x : P.obj X),
  (CategoryTheory.ConcreteCategory.hom (((CategoryTheory.Presheaf.restrictedULiftYonedaAdjunction α).unit.app P).app X))
      x =
    {
      down :=
        CategoryTheory.CategoryStruct.comp (α.app (Opposite.unop X)) (L.map (CategoryTheory.uliftYonedaEquiv.symm x)) }

theorem CategoryTheory.Presheaf.restrictedULiftYonedaAdjunction_homEquiv_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type (max w v₁ v₂))) D} {A : CategoryTheory.Functor C D}
  [inst_2 : CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.HasPointwiseLeftKanExtension A]
  (α : A ⟶ CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.comp L) [inst_3 : L.IsLeftKanExtension α]
  {P : CategoryTheory.Functor Cᵒᵖ (Type (max w v₁ v₂))} {Y : D} (f : L.obj P ⟶ Y) {Z : Cᵒᵖ} (z : P.obj Z),
  (CategoryTheory.ConcreteCategory.hom
        ((((CategoryTheory.Presheaf.restrictedULiftYonedaAdjunction α).homEquiv P Y) f).app Z))
      z =
    {
      down :=
        CategoryTheory.CategoryStruct.comp (α.app (Opposite.unop Z))
          (CategoryTheory.CategoryStruct.comp (L.map (CategoryTheory.uliftYonedaEquiv.symm z)) f) }

instance CategoryTheory.Presheaf.instIsIsoFunctor E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {L : CategoryTheory.Functor (CategoryTheory.Functor Cᵒᵖ (Type (max w v₁ v₂))) D} {A : CategoryTheory.Functor C D}
  [CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.HasPointwiseLeftKanExtension A]
  (α : A ⟶ CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.comp L) [L.IsLeftKanExtension α], CategoryTheory.IsIso α

instance CategoryTheory.Presheaf.preservesColimitsOfSize_leftKanExtension E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {D : Type u₂} [inst_1 : CategoryTheory.Category.{v₂, u₂} D]
  {A : CategoryTheory.Functor C D}
  [inst_2 : CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.HasPointwiseLeftKanExtension A],
  CategoryTheory.Limits.PreservesColimitsOfSize.{v₃, u₃, max (max (max v₂ w) u₁) v₁, v₂,
      max (max (max (v₂ + 1) (w + 1)) u₁) (v₁ + 1), u₂}
    (CategoryTheory.uliftYoneda.{max w v₂, v₁, u₁}.leftKanExtension A)

See Property 2 of https://ncatlab.org/nlab/show/Yoneda+extension#properties.