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

20 declarations. Mathlib docs · Source

def CategoryTheory.linearYoneda E1 #

(R : Type w) →
  [inst : Ring R] →
    (C : Type u) →
      [inst_1 : CategoryTheory.Category.{v, u} C] →
        [inst_2 : CategoryTheory.Preadditive C] →
          [CategoryTheory.Linear R C] → CategoryTheory.Functor C (CategoryTheory.Functor Cᵒᵖ (ModuleCat R))

The Yoneda embedding for R-linear categories C sending an object X : C to the ModuleCat R-valued presheaf on C, with value on Y : Cᵒᵖ given by ModuleCat.of R (unop Y ⟶ X).

theorem CategoryTheory.linearYoneda_obj_map E0 #

∀ (R : Type w) [inst : Ring R] (C : Type u) [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C] (X : C) {X_1 Y : Cᵒᵖ} (f : X_1 ⟶ Y),
  ((CategoryTheory.linearYoneda R C).obj X).map f = ModuleCat.ofHom (CategoryTheory.Linear.leftComp R X f.unop)

theorem CategoryTheory.linearYoneda_obj_obj_carrier E0 #

∀ (R : Type w) [inst : Ring R] (C : Type u) [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C] (X : C) (Y : Cᵒᵖ),
  ↑(((CategoryTheory.linearYoneda R C).obj X).obj Y) = (Opposite.unop Y ⟶ X)

theorem CategoryTheory.linearYoneda_map_app E0 #

∀ (R : Type w) [inst : Ring R] (C : Type u) [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C] {X₁ X₂ : C} (f : X₁ ⟶ X₂) (Y : Cᵒᵖ),
  ((CategoryTheory.linearYoneda R C).map f).app Y =
    ModuleCat.ofHom (CategoryTheory.Linear.rightComp R (Opposite.unop Y) f)

def CategoryTheory.linearCoyoneda E1 #

(R : Type w) →
  [inst : Ring R] →
    (C : Type u) →
      [inst_1 : CategoryTheory.Category.{v, u} C] →
        [inst_2 : CategoryTheory.Preadditive C] →
          [CategoryTheory.Linear R C] → CategoryTheory.Functor Cᵒᵖ (CategoryTheory.Functor C (ModuleCat R))

The Yoneda embedding for R-linear categories C, sending an object Y : Cᵒᵖ to the ModuleCat R-valued copresheaf on C, with value on X : C given by ModuleCat.of R (unop Y ⟶ X).

theorem CategoryTheory.linearCoyoneda_map_app E0 #

∀ (R : Type w) [inst : Ring R] (C : Type u) [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C] {Y₁ Y₂ : Cᵒᵖ} (f : Y₁ ⟶ Y₂) (X : C),
  ((CategoryTheory.linearCoyoneda R C).map f).app X = ModuleCat.ofHom (CategoryTheory.Linear.leftComp R X f.unop)

theorem CategoryTheory.linearCoyoneda_obj_obj_carrier E0 #

∀ (R : Type w) [inst : Ring R] (C : Type u) [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C] (Y : Cᵒᵖ) (X : C),
  ↑(((CategoryTheory.linearCoyoneda R C).obj Y).obj X) = (Opposite.unop Y ⟶ X)

theorem CategoryTheory.linearCoyoneda_obj_map E0 #

∀ (R : Type w) [inst : Ring R] (C : Type u) [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C] (Y : Cᵒᵖ) {X Y_1 : C} (f : X ⟶ Y_1),
  ((CategoryTheory.linearCoyoneda R C).obj Y).map f =
    ModuleCat.ofHom (CategoryTheory.Linear.rightComp R (Opposite.unop Y) f)

instance CategoryTheory.linearYoneda_obj_additive E0 #

∀ (R : Type w) [inst : Ring R] (C : Type u) [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C] (X : C),
  ((CategoryTheory.linearYoneda R C).obj X).Additive

instance CategoryTheory.linearCoyoneda_obj_additive E0 #

∀ (R : Type w) [inst : Ring R] (C : Type u) [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C] (Y : Cᵒᵖ),
  ((CategoryTheory.linearCoyoneda R C).obj Y).Additive

theorem CategoryTheory.whiskering_linearYoneda E0 #

∀ (R : Type w) [inst : Ring R] (C : Type u) [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C],
  (CategoryTheory.linearYoneda R C).comp
      ((CategoryTheory.Functor.whiskeringRight Cᵒᵖ (ModuleCat R) (Type v)).obj (CategoryTheory.forget (ModuleCat R))) =
    CategoryTheory.yoneda

theorem CategoryTheory.whiskering_linearYoneda₂ E0 #

∀ (R : Type w) [inst : Ring R] (C : Type u) [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C],
  (CategoryTheory.linearYoneda R C).comp
      ((CategoryTheory.Functor.whiskeringRight Cᵒᵖ (ModuleCat R) AddCommGrpCat).obj
        (CategoryTheory.forget₂ (ModuleCat R) AddCommGrpCat)) =
    CategoryTheory.preadditiveYoneda

theorem CategoryTheory.whiskering_linearCoyoneda E0 #

∀ (R : Type w) [inst : Ring R] (C : Type u) [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C],
  (CategoryTheory.linearCoyoneda R C).comp
      ((CategoryTheory.Functor.whiskeringRight C (ModuleCat R) (Type v)).obj (CategoryTheory.forget (ModuleCat R))) =
    CategoryTheory.coyoneda

theorem CategoryTheory.whiskering_linearCoyoneda₂ E0 #

∀ (R : Type w) [inst : Ring R] (C : Type u) [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C],
  (CategoryTheory.linearCoyoneda R C).comp
      ((CategoryTheory.Functor.whiskeringRight C (ModuleCat R) AddCommGrpCat).obj
        (CategoryTheory.forget₂ (ModuleCat R) AddCommGrpCat)) =
    CategoryTheory.preadditiveCoyoneda

instance CategoryTheory.full_linearYoneda E0 #

∀ (R : Type w) [inst : Ring R] (C : Type u) [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C], (CategoryTheory.linearYoneda R C).Full

instance CategoryTheory.full_linearCoyoneda E0 #

∀ (R : Type w) [inst : Ring R] (C : Type u) [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C], (CategoryTheory.linearCoyoneda R C).Full

instance CategoryTheory.faithful_linearYoneda E0 #

∀ (R : Type w) [inst : Ring R] (C : Type u) [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C],
  (CategoryTheory.linearYoneda R C).Faithful

instance CategoryTheory.faithful_linearCoyoneda E0 #

∀ (R : Type w) [inst : Ring R] (C : Type u) [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C],
  (CategoryTheory.linearCoyoneda R C).Faithful

instance CategoryTheory.instLinearOppositeModuleCatObjFunctorLinearYoneda E0 #

∀ (R : Type w) [inst : CommRing R] {C : Type u} [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C] (X : C),
  CategoryTheory.Functor.Linear R ((CategoryTheory.linearYoneda R C).obj X)

instance CategoryTheory.instLinearModuleCatObjOppositeFunctorLinearCoyoneda E0 #

∀ (R : Type w) [inst : CommRing R] {C : Type u} [inst_1 : CategoryTheory.Category.{v, u} C]
  [inst_2 : CategoryTheory.Preadditive C] [inst_3 : CategoryTheory.Linear R C] (Y : Cᵒᵖ),
  CategoryTheory.Functor.Linear R ((CategoryTheory.linearCoyoneda R C).obj Y)