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

16 declarations. Mathlib docs · Source

The restricted Yoneda functor

If F : C ⥤ D is a functor and D is a locally w-small category, we define a functor Presheaf.restrictedShrinkYoneda : D ⥤ Cᵒᵖ ⥤ Type w which sends Y : D and X : Cᵒᵖ to a type that is equivalent to F.obj X.unop ⟶ Y. (We also provide restrictedYoneda and restrictedULiftYoneda variants.)

References

  • [S. MacLane, I. Moerdijk, Sheaves in Geometry and Logic][MM92]

def CategoryTheory.Presheaf.restrictedShrinkYoneda E1 #

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

Given a functor F : C ⥤ D where D is locally w-small, this is the bifunctor D ⥤ Cᵒᵖ ⥤ Type w which sends Y : D and X : C to (shrinkYoneda.{w}.obj Y).obj (op (F.obj X)), which is a type that is equivalent to F.obj X ⟶ Y.

theorem CategoryTheory.Presheaf.restrictedShrinkYoneda_map_app E0 #

∀ {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 : CategoryTheory.Functor C D) {X Y : D} (f : X ⟶ Y)
  (X_1 : Cᵒᵖ),
  ((CategoryTheory.Presheaf.restrictedShrinkYoneda F).map f).app X_1 =
    (CategoryTheory.shrinkYoneda.{w, v', u'}.map f).app (Opposite.op (F.obj (Opposite.unop X_1)))

theorem CategoryTheory.Presheaf.restrictedShrinkYoneda_obj_map E0 #

∀ {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 : CategoryTheory.Functor C D) (X : D) {X_1 Y : Cᵒᵖ}
  (f : X_1 ⟶ Y),
  ((CategoryTheory.Presheaf.restrictedShrinkYoneda F).obj X).map f =
    (CategoryTheory.shrinkYoneda.{w, v', u'}.obj X).map (F.map f.unop).op

theorem CategoryTheory.Presheaf.restrictedShrinkYoneda_obj_obj E0 #

∀ {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 : CategoryTheory.Functor C D) (X : D) (X_1 : Cᵒᵖ),
  ((CategoryTheory.Presheaf.restrictedShrinkYoneda F).obj X).obj X_1 =
    (CategoryTheory.shrinkYoneda.{w, v', u'}.obj X).obj (Opposite.op (F.obj (Opposite.unop X_1)))

def CategoryTheory.Presheaf.restrictedYoneda E1 #

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

Given a functor F : C ⥤ D where the morphisms in D are in Type v', this is the bifunctor D ⥤ Cᵒᵖ ⥤ Type v' which sends Y : D and X : C to F.obj X ⟶ Y.

theorem CategoryTheory.Presheaf.restrictedYoneda_map_app E0 #

∀ {C : Type u} {D : Type u'} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Category.{v', u'} D]
  (F : CategoryTheory.Functor C D) {X Y : D} (f : X ⟶ Y) (X_1 : Cᵒᵖ),
  ((CategoryTheory.Presheaf.restrictedYoneda F).map f).app X_1 =
    TypeCat.ofHom fun g ↦ CategoryTheory.CategoryStruct.comp g f

theorem CategoryTheory.Presheaf.restrictedYoneda_obj_obj E0 #

∀ {C : Type u} {D : Type u'} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Category.{v', u'} D]
  (F : CategoryTheory.Functor C D) (X : D) (X_1 : Cᵒᵖ),
  ((CategoryTheory.Presheaf.restrictedYoneda F).obj X).obj X_1 = (F.obj (Opposite.unop X_1) ⟶ X)

theorem CategoryTheory.Presheaf.restrictedYoneda_obj_map E0 #

∀ {C : Type u} {D : Type u'} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Category.{v', u'} D]
  (F : CategoryTheory.Functor C D) (X : D) {X_1 Y : Cᵒᵖ} (f : X_1 ⟶ Y),
  ((CategoryTheory.Presheaf.restrictedYoneda F).obj X).map f =
    TypeCat.ofHom fun g ↦ CategoryTheory.CategoryStruct.comp (F.map f.unop) g

def CategoryTheory.Presheaf.restrictedULiftYoneda E1 #

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

Given a functor F : C ⥤ D where the morphisms in D are in Type v', this is the bifunctor D ⥤ Cᵒᵖ ⥤ Type max w v' which sends Y : D and X : C to (uliftYoneda.{w}.obj Y).obj (op (F.obj X)), which is a type that is equivalent to F.obj X ⟶ Y.

theorem CategoryTheory.Presheaf.restrictedULiftYoneda_obj_map E0 #

∀ {C : Type u} {D : Type u'} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Category.{v', u'} D]
  (F : CategoryTheory.Functor C D) (X : D) {X_1 Y : Cᵒᵖ} (f : X_1 ⟶ Y),
  ((CategoryTheory.Presheaf.restrictedULiftYoneda F).obj X).map f =
    TypeCat.ofHom fun x ↦ { down := CategoryTheory.CategoryStruct.comp (F.map f.unop) x.down }

theorem CategoryTheory.Presheaf.restrictedULiftYoneda_map_app E0 #

∀ {C : Type u} {D : Type u'} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Category.{v', u'} D]
  (F : CategoryTheory.Functor C D) {X Y : D} (f : X ⟶ Y) (X_1 : Cᵒᵖ),
  ((CategoryTheory.Presheaf.restrictedULiftYoneda F).map f).app X_1 =
    TypeCat.ofHom fun x ↦ { down := CategoryTheory.CategoryStruct.comp x.down f }

theorem CategoryTheory.Presheaf.restrictedULiftYoneda_obj_obj E0 #

∀ {C : Type u} {D : Type u'} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Category.{v', u'} D]
  (F : CategoryTheory.Functor C D) (X : D) (X_1 : Cᵒᵖ),
  ((CategoryTheory.Presheaf.restrictedULiftYoneda F).obj X).obj X_1 = ULift.{w, v'} (F.obj (Opposite.unop X_1) ⟶ X)

theorem CategoryTheory.Presheaf.map_comp_uliftYonedaEquiv_down_assoc E0 #

∀ {C : Type u} {D : Type u'} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Category.{v', u'} D]
  (F : CategoryTheory.Functor C D) {E : D} {X Y : C} (f : X ⟶ Y)
  (g : CategoryTheory.uliftYoneda.{max w v', v, u}.obj Y ⟶ (CategoryTheory.Presheaf.restrictedULiftYoneda F).obj E)
  {Z : D} (h : E ⟶ Z),
  CategoryTheory.CategoryStruct.comp (F.map f)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.uliftYonedaEquiv g).down h) =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.uliftYonedaEquiv
          (CategoryTheory.CategoryStruct.comp (CategoryTheory.uliftYoneda.{max v' w, v, u}.map f) g)).down
      h

theorem CategoryTheory.Presheaf.map_comp_uliftYonedaEquiv_down E0 #

∀ {C : Type u} {D : Type u'} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Category.{v', u'} D]
  (F : CategoryTheory.Functor C D) {E : D} {X Y : C} (f : X ⟶ Y)
  (g : CategoryTheory.uliftYoneda.{max w v', v, u}.obj Y ⟶ (CategoryTheory.Presheaf.restrictedULiftYoneda F).obj E),
  CategoryTheory.CategoryStruct.comp (F.map f) (CategoryTheory.uliftYonedaEquiv g).down =
    (CategoryTheory.uliftYonedaEquiv
        (CategoryTheory.CategoryStruct.comp (CategoryTheory.uliftYoneda.{max v' w, v, u}.map f) g)).down

abbrev CategoryTheory.Presheaf.restrictedULiftYonedaIso E1 #

{C : Type u} →
  {D : Type u'} →
    [inst : CategoryTheory.Category.{v, u} C] →
      [inst_1 : CategoryTheory.Category.{v', u'} D] →
        (F : CategoryTheory.Functor C D) →
          CategoryTheory.Presheaf.restrictedULiftYoneda F ≅ CategoryTheory.Presheaf.restrictedShrinkYoneda F

Given a functor F : C ⥤ D, this is the isomorphism between restrictedULiftYoneda.{w} F and restrictedShrinkYoneda.{max w v'} F when the types of morphisms in D are in Type v'.

abbrev CategoryTheory.Presheaf.restrictedYonedaIso E1 #

{C : Type u} →
  {D : Type u'} →
    [inst : CategoryTheory.Category.{v, u} C] →
      [inst_1 : CategoryTheory.Category.{v', u'} D] →
        (F : CategoryTheory.Functor C D) →
          CategoryTheory.Presheaf.restrictedYoneda F ≅ CategoryTheory.Presheaf.restrictedShrinkYoneda F

Given a functor F : C ⥤ D, this is the isomorphism between restrictedYoneda F and restrictedShrinkYoneda.{v'} F when the types of morphisms in D are in Type v'.