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.ModuleCat.Presheaf.Generator

28 declarations. Mathlib docs · Source

def PresheafOfModules.freeYonedaEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
      {M : PresheafOfModules R} →
        {X : C} → ((PresheafOfModules.free R).obj (CategoryTheory.yoneda.obj X) ⟶ M) ≃ ↑(M.obj (Opposite.op X))

When R : Cᵒᵖ ⥤ RingCat, M : PresheafOfModules R, and X : C, this is the bijection ((free R).obj (yoneda.obj X) ⟶ M) ≃ M.obj (Opposite.op X).

theorem PresheafOfModules.freeYonedaEquiv_symm_app E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  (M : PresheafOfModules R) (X : C) (x : ↑(M.obj (Opposite.op X))),
  (CategoryTheory.ConcreteCategory.hom ((PresheafOfModules.freeYonedaEquiv.symm x).app (Opposite.op X)))
      (ModuleCat.freeMk (CategoryTheory.CategoryStruct.id (Opposite.unop (Opposite.op X)))) =
    x

theorem PresheafOfModules.freeYonedaEquiv_comp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  {M N : PresheafOfModules R} {X : C} (m : (PresheafOfModules.free R).obj (CategoryTheory.yoneda.obj X) ⟶ M)
  (φ : M ⟶ N),
  PresheafOfModules.freeYonedaEquiv (CategoryTheory.CategoryStruct.comp m φ) =
    (CategoryTheory.ConcreteCategory.hom (φ.app (Opposite.op X))) (PresheafOfModules.freeYonedaEquiv m)

def PresheafOfModules.freeYoneda E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    (R : CategoryTheory.Functor Cᵒᵖ RingCat) → CategoryTheory.ObjectProperty (PresheafOfModules R)

The set of PresheafOfModules.{v} R consisting of objects of the form (free R).obj (yoneda.obj X) for some X.

instance PresheafOfModules.freeYoneda.instSmall E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat},
  CategoryTheory.ObjectProperty.Small.{u, max u v, max u (v + 1)} (PresheafOfModules.freeYoneda R)

theorem PresheafOfModules.freeYoneda.isSeparating E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (R : CategoryTheory.Functor Cᵒᵖ RingCat),
  (PresheafOfModules.freeYoneda R).IsSeparating

theorem PresheafOfModules.freeYoneda.isDetecting E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (R : CategoryTheory.Functor Cᵒᵖ RingCat),
  (PresheafOfModules.freeYoneda R).IsDetecting

instance PresheafOfModules.hasSeparator E0 #

∀ {C₀ : Type u} [inst : CategoryTheory.SmallCategory C₀] (R₀ : CategoryTheory.Functor C₀ᵒᵖ RingCat),
  CategoryTheory.HasSeparator (PresheafOfModules R₀)

instance PresheafOfModules.wellPowered E0 #

∀ {C₀ : Type u} [inst : CategoryTheory.SmallCategory C₀] (R₀ : CategoryTheory.Functor C₀ᵒᵖ RingCat),
  CategoryTheory.WellPowered.{u, u, u + 1} (PresheafOfModules R₀)

abbrev PresheafOfModules.Elements E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} → PresheafOfModules R → Type (max u₁ v)

The type of elements of a presheaf of modules. A term of this type is a pair ⟨X, a⟩ with X : Cᵒᵖ and a : M.obj X.

abbrev PresheafOfModules.elementsMk E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} → (M : PresheafOfModules R) → (X : Cᵒᵖ) → ↑(M.obj X) → M.Elements

Given a presheaf of modules M, this is a constructor for the type M.Elements.

abbrev PresheafOfModules.Elements.freeYoneda E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} → {M : PresheafOfModules R} → M.Elements → PresheafOfModules R

Given an element m : M.Elements of a presheaf of modules M, this is the free presheaf of modules on the Yoneda presheaf of types corresponding to the underlying object of m.

abbrev PresheafOfModules.Elements.fromFreeYoneda E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} → {M : PresheafOfModules R} → (m : M.Elements) → m.freeYoneda ⟶ M

Given an element m : M.Elements of a presheaf of modules M, this is the canonical morphism m.freeYoneda ⟶ M.

theorem PresheafOfModules.Elements.fromFreeYoneda_app_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  {M : PresheafOfModules R} (m : M.Elements),
  (CategoryTheory.ConcreteCategory.hom (m.fromFreeYoneda.app m.obj))
      (ModuleCat.freeMk (CategoryTheory.CategoryStruct.id (Opposite.unop m.obj))) =
    m.val

abbrev PresheafOfModules.freeYonedaCoproduct E1 #

{C : Type u} →
  [inst : CategoryTheory.SmallCategory C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} → PresheafOfModules R → PresheafOfModules R

Given a presheaf of modules M, this is the coproduct of all free Yoneda presheaves m.freeYoneda for all m : M.Elements.

abbrev PresheafOfModules.ιFreeYonedaCoproduct E1 #

{C : Type u} →
  [inst : CategoryTheory.SmallCategory C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
      (M : PresheafOfModules R) → (m : M.Elements) → m.freeYoneda ⟶ M.freeYonedaCoproduct

Given an element m : M.Elements of a presheaf of modules M, this is the canonical inclusion m.freeYoneda ⟶ M.freeYonedaCoproduct.

def PresheafOfModules.fromFreeYonedaCoproduct E1 #

{C : Type u} →
  [inst : CategoryTheory.SmallCategory C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} → (M : PresheafOfModules R) → M.freeYonedaCoproduct ⟶ M

Given a presheaf of modules M, this is the canonical morphism M.freeYonedaCoproduct ⟶ M.

def PresheafOfModules.freeYonedaCoproductMk E1 #

{C : Type u} →
  [inst : CategoryTheory.SmallCategory C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
      (M : PresheafOfModules R) → (m : M.Elements) → ↑(M.freeYonedaCoproduct.obj m.obj)

Given an element m of a presheaf of modules M, this is the associated canonical section of the presheaf M.freeYonedaCoproduct over the object m.1.

theorem PresheafOfModules.ι_fromFreeYonedaCoproduct E0 #

∀ {C : Type u} [inst : CategoryTheory.SmallCategory C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  (M : PresheafOfModules R) (m : M.Elements),
  CategoryTheory.CategoryStruct.comp (M.ιFreeYonedaCoproduct m) M.fromFreeYonedaCoproduct = m.fromFreeYoneda

theorem PresheafOfModules.ι_fromFreeYonedaCoproduct_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.SmallCategory C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  (M : PresheafOfModules R) (m : M.Elements) {Z : PresheafOfModules R} (h : M ⟶ Z),
  CategoryTheory.CategoryStruct.comp (M.ιFreeYonedaCoproduct m)
      (CategoryTheory.CategoryStruct.comp M.fromFreeYonedaCoproduct h) =
    CategoryTheory.CategoryStruct.comp m.fromFreeYoneda h

theorem PresheafOfModules.ι_fromFreeYonedaCoproduct_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.SmallCategory C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  (M : PresheafOfModules R) (m : M.Elements) (X : Cᵒᵖ) (x : ↑(m.freeYoneda.obj X)),
  (CategoryTheory.ConcreteCategory.hom (M.fromFreeYonedaCoproduct.app X))
      ((CategoryTheory.ConcreteCategory.hom ((M.ιFreeYonedaCoproduct m).app X)) x) =
    (CategoryTheory.ConcreteCategory.hom (m.fromFreeYoneda.app X)) x

theorem PresheafOfModules.fromFreeYonedaCoproduct_app_mk E0 #

∀ {C : Type u} [inst : CategoryTheory.SmallCategory C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  (M : PresheafOfModules R) (m : M.Elements),
  (CategoryTheory.ConcreteCategory.hom (M.fromFreeYonedaCoproduct.app m.obj)) (M.freeYonedaCoproductMk m) = m.val

instance PresheafOfModules.instEpiFromFreeYonedaCoproduct E0 #

∀ {C : Type u} [inst : CategoryTheory.SmallCategory C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  (M : PresheafOfModules R), CategoryTheory.Epi M.fromFreeYonedaCoproduct

def PresheafOfModules.toFreeYonedaCoproduct E1 #

{C : Type u} →
  [inst : CategoryTheory.SmallCategory C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
      (M : PresheafOfModules R) →
        (CategoryTheory.Limits.kernel M.fromFreeYonedaCoproduct).freeYonedaCoproduct ⟶ M.freeYonedaCoproduct

Given a presheaf of modules M, this is a morphism between coproducts of free presheaves of modules on Yoneda presheaves which gives a presentation of the module M, see isColimitFreeYonedaCoproductsCokernelCofork.

theorem PresheafOfModules.toFreeYonedaCoproduct_fromFreeYonedaCoproduct E0 #

∀ {C : Type u} [inst : CategoryTheory.SmallCategory C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  (M : PresheafOfModules R), CategoryTheory.CategoryStruct.comp M.toFreeYonedaCoproduct M.fromFreeYonedaCoproduct = 0

theorem PresheafOfModules.toFreeYonedaCoproduct_fromFreeYonedaCoproduct_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.SmallCategory C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  (M : PresheafOfModules R) {Z : PresheafOfModules R} (h : M ⟶ Z),
  CategoryTheory.CategoryStruct.comp M.toFreeYonedaCoproduct
      (CategoryTheory.CategoryStruct.comp M.fromFreeYonedaCoproduct h) =
    CategoryTheory.CategoryStruct.comp 0 h

abbrev PresheafOfModules.freeYonedaCoproductsCokernelCofork E1 #

{C : Type u} →
  [inst : CategoryTheory.SmallCategory C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
      (M : PresheafOfModules R) → CategoryTheory.Limits.CokernelCofork M.toFreeYonedaCoproduct

(Colimit) cofork which gives a presentation of a presheaf of modules M using coproducts of free presheaves of modules on Yoneda presheaves.

def PresheafOfModules.isColimitFreeYonedaCoproductsCokernelCofork E1 #

{C : Type u} →
  [inst : CategoryTheory.SmallCategory C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
      (M : PresheafOfModules R) → CategoryTheory.Limits.IsColimit M.freeYonedaCoproductsCokernelCofork

If M is a presheaf of modules, the cokernel cofork M.freeYonedaCoproductsCokernelCofork is a colimit, which means that M can be expressed as a cokernel of the morphism M.toFreeYonedaCoproduct between coproducts of free presheaves of modules on Yoneda presheaves.