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 / V25. Higher structures in categories

Mathlib.CategoryTheory.Preadditive.Yoneda.Basic

24 declarations. Mathlib docs · Source

theorem CategoryTheory.Functor.mapAddHom.congr_simp E1 #

∀ {C : Type u_1} {D : Type u_2} [inst : CategoryTheory.Category.{v_1, u_1} C]
  [inst_1 : CategoryTheory.Category.{v_2, u_2} D] [inst_2 : CategoryTheory.Preadditive C]
  [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D) [inst_4 : F.Additive] {X Y : C},
  F.mapAddHom = F.mapAddHom

def CategoryTheory.preadditiveYonedaObj E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Preadditive C] → (Y : C) → CategoryTheory.Functor Cᵒᵖ (ModuleCat (CategoryTheory.End Y))

The Yoneda embedding for preadditive categories sends an object Y to the presheaf sending an object X to the End Y-module of morphisms X ⟶ Y.

theorem CategoryTheory.preadditiveYonedaObj_obj_carrier E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] (Y : C) (X : Cᵒᵖ),
  ↑((CategoryTheory.preadditiveYonedaObj Y).obj X) = (Opposite.unop X ⟶ Y)

theorem CategoryTheory.preadditiveYonedaObj_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] (Y : C) {X Y_1 : Cᵒᵖ}
  (f : X ⟶ Y_1),
  (CategoryTheory.preadditiveYonedaObj Y).map f =
    ModuleCat.ofHom { toFun := fun g ↦ CategoryTheory.CategoryStruct.comp f.unop g, map_add' := ⋯, map_smul' := ⋯ }

def CategoryTheory.preadditiveYoneda E1 #

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

The Yoneda embedding for preadditive categories sends an object Y to the presheaf sending an object X to the group of morphisms X ⟶ Y. At each point, we get an additional End Y-module structure, see preadditiveYonedaObj.

theorem CategoryTheory.preadditiveYoneda_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] (Y : C),
  CategoryTheory.preadditiveYoneda.obj Y =
    (CategoryTheory.preadditiveYonedaObj Y).comp
      (CategoryTheory.forget₂ (ModuleCat (CategoryTheory.End Y)) AddCommGrpCat)

def CategoryTheory.preadditiveCoyonedaObj E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Preadditive C] → (X : C) → CategoryTheory.Functor C (ModuleCat (CategoryTheory.End X)ᵐᵒᵖ)

The Yoneda embedding for preadditive categories sends an object X to the copresheaf sending an object Y to the End X-module of morphisms X ⟶ Y.

theorem CategoryTheory.preadditiveCoyonedaObj_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] (X : C) {X_1 Y : C}
  (f : X_1 ⟶ Y),
  (CategoryTheory.preadditiveCoyonedaObj X).map f =
    ModuleCat.ofHom { toFun := fun g ↦ CategoryTheory.CategoryStruct.comp g f, map_add' := ⋯, map_smul' := ⋯ }

theorem CategoryTheory.preadditiveCoyonedaObj_obj_carrier E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] (X Y : C),
  ↑((CategoryTheory.preadditiveCoyonedaObj X).obj Y) = (X ⟶ Y)

def CategoryTheory.preadditiveCoyoneda E1 #

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

The Yoneda embedding for preadditive categories sends an object X to the copresheaf sending an object Y to the group of morphisms X ⟶ Y. At each point, we get an additional End X-module structure, see preadditiveCoyonedaObj.

theorem CategoryTheory.preadditiveCoyoneda_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] (X : Cᵒᵖ),
  CategoryTheory.preadditiveCoyoneda.obj X =
    (CategoryTheory.preadditiveCoyonedaObj (Opposite.unop X)).comp
      (CategoryTheory.forget₂ (ModuleCat (CategoryTheory.End (Opposite.unop X))ᵐᵒᵖ) AddCommGrpCat)

instance CategoryTheory.additive_yonedaObj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] (X : C),
  (CategoryTheory.preadditiveYonedaObj X).Additive

instance CategoryTheory.additive_yonedaObj' E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] (X : C),
  (CategoryTheory.preadditiveYoneda.obj X).Additive

instance CategoryTheory.additive_coyonedaObj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] (X : C),
  (CategoryTheory.preadditiveCoyonedaObj X).Additive

instance CategoryTheory.additive_coyonedaObj' E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] (X : Cᵒᵖ),
  (CategoryTheory.preadditiveCoyoneda.obj X).Additive

theorem CategoryTheory.whiskering_preadditiveYoneda E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C],
  CategoryTheory.preadditiveYoneda.comp
      ((CategoryTheory.Functor.whiskeringRight Cᵒᵖ AddCommGrpCat (Type v)).obj (CategoryTheory.forget AddCommGrpCat)) =
    CategoryTheory.yoneda

Composing the preadditive yoneda embedding with the forgetful functor yields the regular Yoneda embedding.

theorem CategoryTheory.whiskering_preadditiveCoyoneda E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C],
  CategoryTheory.preadditiveCoyoneda.comp
      ((CategoryTheory.Functor.whiskeringRight C AddCommGrpCat (Type v)).obj (CategoryTheory.forget AddCommGrpCat)) =
    CategoryTheory.coyoneda

Composing the preadditive yoneda embedding with the forgetful functor yields the regular Yoneda embedding.

instance CategoryTheory.full_preadditiveYoneda E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C],
  CategoryTheory.preadditiveYoneda.Full

instance CategoryTheory.full_preadditiveCoyoneda E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C],
  CategoryTheory.preadditiveCoyoneda.Full

instance CategoryTheory.faithful_preadditiveYoneda E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C],
  CategoryTheory.preadditiveYoneda.Faithful

instance CategoryTheory.faithful_preadditiveCoyoneda E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C],
  CategoryTheory.preadditiveCoyoneda.Faithful

def CategoryTheory.preadditiveYonedaMap E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Preadditive C] →
      {D : Type u₁} →
        [inst_2 : CategoryTheory.Category.{v, u₁} D] →
          [inst_3 : CategoryTheory.Preadditive D] →
            (F : CategoryTheory.Functor C D) →
              [F.Additive] →
                (X : C) →
                  CategoryTheory.preadditiveYoneda.obj X ⟶ F.op.comp (CategoryTheory.preadditiveYoneda.obj (F.obj X))

The natural transformation preadditiveYoneda.obj X ⟶ F.op ⋙ preadditiveYoneda.obj (F.obj X) when F : C ⥤ D is an additive functor between preadditive categories and X : C.

theorem CategoryTheory.preadditiveYonedaMap_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C] {D : Type u₁}
  [inst_2 : CategoryTheory.Category.{v, u₁} D] [inst_3 : CategoryTheory.Preadditive D] (F : CategoryTheory.Functor C D)
  [inst_4 : F.Additive] (X : C) (Y : Cᵒᵖ),
  (CategoryTheory.preadditiveYonedaMap F X).app Y = AddCommGrpCat.ofHom F.mapAddHom

def AddCommGrpCat.preadditiveCoyonedaIso E1 #

CategoryTheory.preadditiveCoyoneda ≅ AddCommGrpCat.coyoneda

The preadditive coyoneda functor for the category AddCommGrpCat agrees with AddCommGrpCat.coyoneda.