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

23 declarations. Mathlib docs · Source

The monoidal category structure on presheaves of modules

Given a presheaf of commutative rings R : Cᵒᵖ ⥤ CommRingCat, we construct the monoidal category structure on the category of presheaves of modules PresheafOfModulesOfCommRing R. The tensor product M₁ ⊗ M₂ is defined as the presheaf of modules which sends X : Cᵒᵖ to M₁.obj X ⊗ M₂.obj X.

Notes

This contribution was created as part of the AIM workshop "Formalizing algebraic geometry" in June 2024.

def PresheafOfModulesOfCommRing.Monoidal.tensorObjMap E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {R : CategoryTheory.Functor Cᵒᵖ CommRingCat} →
      (M₁ M₂ : PresheafOfModulesOfCommRing R) →
        {X Y : Cᵒᵖ} →
          (f : X ⟶ Y) →
            CategoryTheory.MonoidalCategoryStruct.tensorObj (M₁.obj X) (M₂.obj X) ⟶
              (ModuleCat.restrictScalars (CommRingCat.Hom.hom (R.map f))).obj
                (CategoryTheory.MonoidalCategoryStruct.tensorObj (M₁.obj Y) (M₂.obj Y))

Auxiliary definition for tensorObj.

def PresheafOfModulesOfCommRing.Monoidal.tensorObj E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {R : CategoryTheory.Functor Cᵒᵖ CommRingCat} →
      PresheafOfModulesOfCommRing R → PresheafOfModulesOfCommRing R → PresheafOfModulesOfCommRing R

The tensor product of two presheaves of modules.

theorem PresheafOfModulesOfCommRing.Monoidal.tensorObj_obj E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {R : CategoryTheory.Functor Cᵒᵖ CommRingCat}
  (M₁ M₂ : PresheafOfModulesOfCommRing R) (X : Cᵒᵖ),
  (PresheafOfModulesOfCommRing.Monoidal.tensorObj M₁ M₂).obj X =
    CategoryTheory.MonoidalCategoryStruct.tensorObj (M₁.obj X) (M₂.obj X)

theorem PresheafOfModulesOfCommRing.Monoidal.tensorObj_map_tmul E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {R : CategoryTheory.Functor Cᵒᵖ CommRingCat}
  {M₁ M₂ : PresheafOfModulesOfCommRing R} {X Y : Cᵒᵖ} (f : X ⟶ Y) (m₁ : ↑(M₁.obj X)) (m₂ : ↑(M₂.obj X)),
  (ModuleCat.Hom.hom ((PresheafOfModulesOfCommRing.Monoidal.tensorObj M₁ M₂).map f)) (m₁ ⊗ₜ[↑(R.obj X)] m₂) =
    (CategoryTheory.ConcreteCategory.hom (M₁.map f)) m₁ ⊗ₜ[↑(R.obj Y)]
      (CategoryTheory.ConcreteCategory.hom (M₂.map f)) m₂

def PresheafOfModulesOfCommRing.Monoidal.tensorHom E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {R : CategoryTheory.Functor Cᵒᵖ CommRingCat} →
      {M₁ M₂ M₃ M₄ : PresheafOfModulesOfCommRing R} →
        (M₁ ⟶ M₂) →
          (M₃ ⟶ M₄) →
            (PresheafOfModulesOfCommRing.Monoidal.tensorObj M₁ M₃ ⟶
              PresheafOfModulesOfCommRing.Monoidal.tensorObj M₂ M₄)

The tensor product of two morphisms of presheaves of modules.

theorem PresheafOfModulesOfCommRing.Monoidal.tensorHom_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {R : CategoryTheory.Functor Cᵒᵖ CommRingCat}
  {M₁ M₂ M₃ M₄ : PresheafOfModulesOfCommRing R} (f : M₁ ⟶ M₂) (g : M₃ ⟶ M₄) (X : Cᵒᵖ),
  (PresheafOfModulesOfCommRing.Monoidal.tensorHom f g).app X =
    CategoryTheory.MonoidalCategoryStruct.tensorHom (PresheafOfModules.Hom.app' f X) (PresheafOfModules.Hom.app' g X)

instance PresheafOfModulesOfCommRing.monoidalCategoryStruct E0 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {R : CategoryTheory.Functor Cᵒᵖ CommRingCat} → CategoryTheory.MonoidalCategoryStruct (PresheafOfModulesOfCommRing R)

instance PresheafOfModulesOfCommRing.monoidalCategory E0 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {R : CategoryTheory.Functor Cᵒᵖ CommRingCat} → CategoryTheory.MonoidalCategory (PresheafOfModulesOfCommRing R)

instance PresheafOfModulesOfCommRing.symmetricCategory E0 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    {R : CategoryTheory.Functor Cᵒᵖ CommRingCat} → CategoryTheory.SymmetricCategory (PresheafOfModulesOfCommRing R)

theorem PresheafOfModulesOfCommRing.tensorObj_obj E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {R : CategoryTheory.Functor Cᵒᵖ CommRingCat}
  (M₁ M₂ : PresheafOfModulesOfCommRing R) (X : Cᵒᵖ),
  (CategoryTheory.MonoidalCategoryStruct.tensorObj M₁ M₂).obj X =
    CategoryTheory.MonoidalCategoryStruct.tensorObj (M₁.obj X) (M₂.obj X)

theorem PresheafOfModulesOfCommRing.whiskerLeft_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {R : CategoryTheory.Functor Cᵒᵖ CommRingCat}
  (M₁ : PresheafOfModulesOfCommRing R) {M₂ M₃ : PresheafOfModulesOfCommRing R} (f : M₂ ⟶ M₃) (X : Cᵒᵖ),
  PresheafOfModules.Hom.app' (CategoryTheory.MonoidalCategoryStruct.whiskerLeft M₁ f) X =
    CategoryTheory.MonoidalCategoryStruct.whiskerLeft (M₁.obj X) (PresheafOfModules.Hom.app' f X)

theorem PresheafOfModulesOfCommRing.whiskerRight_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {R : CategoryTheory.Functor Cᵒᵖ CommRingCat}
  {M₁ M₂ : PresheafOfModulesOfCommRing R} (f : M₁ ⟶ M₂) (M₃ : PresheafOfModulesOfCommRing R) (X : Cᵒᵖ),
  PresheafOfModules.Hom.app' (CategoryTheory.MonoidalCategoryStruct.whiskerRight f M₃) X =
    CategoryTheory.MonoidalCategoryStruct.whiskerRight (PresheafOfModules.Hom.app' f X) (M₃.obj X)

theorem PresheafOfModulesOfCommRing.tensorHom_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {R : CategoryTheory.Functor Cᵒᵖ CommRingCat}
  {M₁ M₂ M₃ M₄ : PresheafOfModulesOfCommRing R} (f : M₁ ⟶ M₂) (g : M₃ ⟶ M₄) (X : Cᵒᵖ),
  PresheafOfModules.Hom.app' (CategoryTheory.MonoidalCategoryStruct.tensorHom f g) X =
    CategoryTheory.MonoidalCategoryStruct.tensorHom (PresheafOfModules.Hom.app' f X) (PresheafOfModules.Hom.app' g X)

theorem PresheafOfModulesOfCommRing.leftUnitor_hom_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {R : CategoryTheory.Functor Cᵒᵖ CommRingCat}
  (M₁ : PresheafOfModulesOfCommRing R) (X : Cᵒᵖ),
  PresheafOfModules.Hom.app' (CategoryTheory.MonoidalCategoryStruct.leftUnitor M₁).hom X =
    (CategoryTheory.MonoidalCategoryStruct.leftUnitor (M₁.obj X)).hom

theorem PresheafOfModulesOfCommRing.leftUnitor_inv_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {R : CategoryTheory.Functor Cᵒᵖ CommRingCat}
  (M₁ : PresheafOfModulesOfCommRing R) (X : Cᵒᵖ),
  PresheafOfModules.Hom.app' (CategoryTheory.MonoidalCategoryStruct.leftUnitor M₁).inv X =
    (CategoryTheory.MonoidalCategoryStruct.leftUnitor (M₁.obj X)).inv

theorem PresheafOfModulesOfCommRing.rightUnitor_hom_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {R : CategoryTheory.Functor Cᵒᵖ CommRingCat}
  (M₁ : PresheafOfModulesOfCommRing R) (X : Cᵒᵖ),
  PresheafOfModules.Hom.app' (CategoryTheory.MonoidalCategoryStruct.rightUnitor M₁).hom X =
    (CategoryTheory.MonoidalCategoryStruct.rightUnitor (M₁.obj X)).hom

theorem PresheafOfModulesOfCommRing.rightUnitor_inv_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {R : CategoryTheory.Functor Cᵒᵖ CommRingCat}
  (M₁ : PresheafOfModulesOfCommRing R) (X : Cᵒᵖ),
  PresheafOfModules.Hom.app' (CategoryTheory.MonoidalCategoryStruct.rightUnitor M₁).inv X =
    (CategoryTheory.MonoidalCategoryStruct.rightUnitor (M₁.obj X)).inv

theorem PresheafOfModulesOfCommRing.associator_hom_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {R : CategoryTheory.Functor Cᵒᵖ CommRingCat}
  (M₁ M₂ M₃ : PresheafOfModulesOfCommRing R) (X : Cᵒᵖ),
  PresheafOfModules.Hom.app' (CategoryTheory.MonoidalCategoryStruct.associator M₁ M₂ M₃).hom X =
    (CategoryTheory.MonoidalCategoryStruct.associator (M₁.obj X) (M₂.obj X) (M₃.obj X)).hom

theorem PresheafOfModulesOfCommRing.associator_inv_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {R : CategoryTheory.Functor Cᵒᵖ CommRingCat}
  (M₁ M₂ M₃ : PresheafOfModulesOfCommRing R) (X : Cᵒᵖ),
  PresheafOfModules.Hom.app' (CategoryTheory.MonoidalCategoryStruct.associator M₁ M₂ M₃).inv X =
    (CategoryTheory.MonoidalCategoryStruct.associator (M₁.obj X) (M₂.obj X) (M₃.obj X)).inv

theorem PresheafOfModulesOfCommRing.braiding_hom_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {R : CategoryTheory.Functor Cᵒᵖ CommRingCat}
  (M₁ M₂ : PresheafOfModulesOfCommRing R) (X : Cᵒᵖ),
  PresheafOfModules.Hom.app' (β_ M₁ M₂).hom X = (β_ (M₁.obj X) (M₂.obj X)).hom

theorem PresheafOfModulesOfCommRing.braiding_inv_app E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {R : CategoryTheory.Functor Cᵒᵖ CommRingCat}
  (M₁ M₂ : PresheafOfModulesOfCommRing R) (X : Cᵒᵖ),
  PresheafOfModules.Hom.app' (β_ M₁ M₂).inv X = (β_ (M₁.obj X) (M₂.obj X)).inv

instance PresheafOfModulesOfCommRing.instPreservesColimitsOfSizeTensorLeft E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {R : CategoryTheory.Functor Cᵒᵖ CommRingCat}
  (F : PresheafOfModulesOfCommRing R),
  CategoryTheory.Limits.PreservesColimitsOfSize.{u, u, max u u_1, max u u_1, max (max (u + 1) u_1) v_1,
      max (max (u + 1) u_1) v_1}
    (CategoryTheory.MonoidalCategory.tensorLeft F)

instance PresheafOfModulesOfCommRing.instPreservesColimitsOfSizeTensorRight E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] {R : CategoryTheory.Functor Cᵒᵖ CommRingCat}
  (F : PresheafOfModulesOfCommRing R),
  CategoryTheory.Limits.PreservesColimitsOfSize.{u, u, max u u_1, max u u_1, max (max (u + 1) u_1) v_1,
      max (max (u + 1) u_1) v_1}
    (CategoryTheory.MonoidalCategory.tensorRight F)