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 / V26. Homological algebra

Mathlib.Algebra.Category.MonCat.Yoneda

22 declarations. Mathlib docs · Source

def CommMonCat.coyoneda E1 #

CategoryTheory.Functor CommMonCatᵒᵖ (CategoryTheory.Functor CommMonCat CommMonCat)

The CommMonCat-valued coyoneda embedding.

theorem AddCommMonCat.coyoneda_obj_obj_coe E0 #

∀ (M : AddCommMonCatᵒᵖ) (N : AddCommMonCat), ↑((AddCommMonCat.coyoneda.obj M).obj N) = (↑(Opposite.unop M) →+ ↑N)

theorem CommMonCat.coyoneda_obj_map E0 #

∀ (M : CommMonCatᵒᵖ) {X Y : CommMonCat} (f : X ⟶ Y),
  (CommMonCat.coyoneda.obj M).map f = CommMonCat.ofHom (MonoidHom.compHom (CommMonCat.Hom.hom f))

theorem AddCommMonCat.coyoneda_map_app E0 #

∀ {X Y : AddCommMonCatᵒᵖ} (f : X ⟶ Y) (N : AddCommMonCat),
  (AddCommMonCat.coyoneda.map f).app N = AddCommMonCat.ofHom (AddCommMonCat.Hom.hom f.unop).compHom'

def AddCommMonCat.coyoneda E1 #

CategoryTheory.Functor AddCommMonCatᵒᵖ (CategoryTheory.Functor AddCommMonCat AddCommMonCat)

The AddCommMonCat-valued coyoneda embedding.

theorem CommMonCat.coyoneda_map_app E0 #

∀ {X Y : CommMonCatᵒᵖ} (f : X ⟶ Y) (N : CommMonCat),
  (CommMonCat.coyoneda.map f).app N = CommMonCat.ofHom (CommMonCat.Hom.hom f.unop).compHom'

theorem CommMonCat.coyoneda_obj_obj_coe E0 #

∀ (M : CommMonCatᵒᵖ) (N : CommMonCat), ↑((CommMonCat.coyoneda.obj M).obj N) = (↑(Opposite.unop M) →* ↑N)

theorem AddCommMonCat.coyoneda_obj_map E0 #

∀ (M : AddCommMonCatᵒᵖ) {X Y : AddCommMonCat} (f : X ⟶ Y),
  (AddCommMonCat.coyoneda.obj M).map f = AddCommMonCat.ofHom (AddMonoidHom.compHom (AddCommMonCat.Hom.hom f))

def CommMonCat.coyonedaForget E1 #

CommMonCat.coyoneda.comp
    ((CategoryTheory.Functor.whiskeringRight CommMonCat CommMonCat (Type u_1)).obj (CategoryTheory.forget CommMonCat)) ≅
  CategoryTheory.coyoneda

The CommMonCat-valued coyoneda embedding composed with the forgetful functor is the usual coyoneda embedding.

theorem CommMonCat.coyonedaForget_hom_app_app_hom_apply_hom E0 #

∀ (X : CommMonCatᵒᵖ) (X_1 : CommMonCat) (f : CategoryTheory.ToType ((CommMonCat.coyoneda.obj X).obj X_1)),
  CommMonCat.Hom.hom ((CategoryTheory.ConcreteCategory.hom ((CommMonCat.coyonedaForget.hom.app X).app X_1)) f) = f

theorem AddCommMonCat.coyonedaForget_hom_app_app_hom_apply_hom E0 #

∀ (X : AddCommMonCatᵒᵖ) (X_1 : AddCommMonCat) (f : CategoryTheory.ToType ((AddCommMonCat.coyoneda.obj X).obj X_1)),
  AddCommMonCat.Hom.hom ((CategoryTheory.ConcreteCategory.hom ((AddCommMonCat.coyonedaForget.hom.app X).app X_1)) f) = f

theorem CommMonCat.coyonedaForget_inv_app_app_hom_apply E0 #

∀ (X : CommMonCatᵒᵖ) (X_1 : CommMonCat) (f : Opposite.unop X ⟶ X_1),
  (CategoryTheory.ConcreteCategory.hom ((CommMonCat.coyonedaForget.inv.app X).app X_1)) f = CommMonCat.Hom.hom f

def AddCommMonCat.coyonedaForget E1 #

AddCommMonCat.coyoneda.comp
    ((CategoryTheory.Functor.whiskeringRight AddCommMonCat AddCommMonCat (Type u_1)).obj
      (CategoryTheory.forget AddCommMonCat)) ≅
  CategoryTheory.coyoneda

The AddCommMonCat-valued coyoneda embedding composed with the forgetful functor is the usual coyoneda embedding.

theorem AddCommMonCat.coyonedaForget_inv_app_app_hom_apply E0 #

∀ (X : AddCommMonCatᵒᵖ) (X_1 : AddCommMonCat) (f : Opposite.unop X ⟶ X_1),
  (CategoryTheory.ConcreteCategory.hom ((AddCommMonCat.coyonedaForget.inv.app X).app X_1)) f = AddCommMonCat.Hom.hom f

def CommMonCat.coyonedaType E1 #

CategoryTheory.Functor Type uᵒᵖ (CategoryTheory.Functor CommMonCat CommMonCat)

The Hom bifunctor sending a type X and a commutative monoid M to the commutative monoid X → M with pointwise operations.

This is also the coyoneda embedding of Type into CommMonCat-valued presheaves of commutative monoids.

theorem CommMonCat.coyonedaType_obj_map E0 #

∀ (X : Type uᵒᵖ) {X_1 Y : CommMonCat} (f : X_1 ⟶ Y),
  (CommMonCat.coyonedaType.obj X).map f =
    CommMonCat.ofHom (MonoidHom.pi fun i ↦ (CommMonCat.Hom.hom f).comp (Pi.evalMonoidHom (fun a ↦ ↑X_1) i))

theorem AddCommMonCat.coyonedaType_obj_map E0 #

∀ (X : Type uᵒᵖ) {X_1 Y : AddCommMonCat} (f : X_1 ⟶ Y),
  (AddCommMonCat.coyonedaType.obj X).map f =
    AddCommMonCat.ofHom (AddMonoidHom.pi fun i ↦ (AddCommMonCat.Hom.hom f).comp (Pi.evalAddMonoidHom (fun a ↦ ↑X_1) i))

theorem AddCommMonCat.coyonedaType_map_app E0 #

∀ {X Y : Type uᵒᵖ} (f : X ⟶ Y) (N : AddCommMonCat),
  (AddCommMonCat.coyonedaType.map f).app N =
    AddCommMonCat.ofHom
      (AddMonoidHom.pi fun i ↦ Pi.evalAddMonoidHom (fun a ↦ ↑N) ((CategoryTheory.ConcreteCategory.hom f.unop) i))

theorem CommMonCat.coyonedaType_obj_obj_coe E0 #

∀ (X : Type uᵒᵖ) (M : CommMonCat), ↑((CommMonCat.coyonedaType.obj X).obj M) = (Opposite.unop X → ↑M)

def AddCommMonCat.coyonedaType E1 #

CategoryTheory.Functor Type uᵒᵖ (CategoryTheory.Functor AddCommMonCat AddCommMonCat)

The Hom bifunctor sending a type X and a commutative monoid M to the commutative monoid X → M with pointwise operations.

This is also the coyoneda embedding of Type into AddCommMonCat-valued presheaves of commutative monoids.

theorem AddCommMonCat.coyonedaType_obj_obj_coe E0 #

∀ (X : Type uᵒᵖ) (M : AddCommMonCat), ↑((AddCommMonCat.coyonedaType.obj X).obj M) = (Opposite.unop X → ↑M)

theorem CommMonCat.coyonedaType_map_app E0 #

∀ {X Y : Type uᵒᵖ} (f : X ⟶ Y) (N : CommMonCat),
  (CommMonCat.coyonedaType.map f).app N =
    CommMonCat.ofHom
      (MonoidHom.pi fun i ↦ Pi.evalMonoidHom (fun a ↦ ↑N) ((CategoryTheory.ConcreteCategory.hom f.unop) i))