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

36 declarations. Mathlib docs · Source

The colimit module of a presheaf of modules on a cofiltered category

Given a colimit cocone cR for a presheaf of rings R on a cofiltered category C, M a presheaf of modules over R, and a colimit cocone cM for the underlying functor Cᵒᵖ ⥤ AddCommGrpCat of M, we define a structure of module over cR.pt on a type-synonym PresheafOfModules.ModuleColimit for cM.pt. This extends to a functor PresheafOfModules.colimitFunctor : PresheafOfModules R ⥤ ModuleCat cR.pt.

TODO (@joelriou)

  • Define fiber functors on categories of (pre)sheaves of modules
  • Refactor Mathlib/Algebra/Category/ModuleCat/Stalk.lean so that it uses this slightly more general construction.

def PresheafOfModules.constFunctor E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
      (cR : CategoryTheory.Limits.Cocone R) → CategoryTheory.Functor (ModuleCat ↑cR.pt) (PresheafOfModules R)

Given a cocone cR for a functor R : Cᵒᵖ ⥤ RingCat, this is the functor ModuleCat cR.pt ⥤ PresheafOfModules R which sends a module M over cR.pt to a presheaf of modules whose underlying presheaf of abelian groups is the constant functor Cᵒᵖ ⥤ AddCommGrpCat with value M.

def PresheafOfModules.ModuleColimit E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
      {cR : CategoryTheory.Limits.Cocone R} →
        {M : PresheafOfModules R} →
          {cM : CategoryTheory.Limits.Cocone M.presheaf} →
            CategoryTheory.Limits.IsColimit cR → CategoryTheory.Limits.IsColimit cM → Type w

Given a colimit cocone for a presheaf of rings R on a cofiltered category C, M a presheaf of modules over R, and a colimit cocone cM for the underlying functor Cᵒᵖ ⥤ AddCommGrpCat of M, this is the type cM.pt on which we define a module structure below.

instance PresheafOfModules.instAddCommGroupModuleColimit E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
      {cR : CategoryTheory.Limits.Cocone R} →
        (hcR : CategoryTheory.Limits.IsColimit cR) →
          {M : PresheafOfModules R} →
            {cM : CategoryTheory.Limits.Cocone M.presheaf} →
              (hcM : CategoryTheory.Limits.IsColimit cM) → AddCommGroup (PresheafOfModules.ModuleColimit hcR hcM)

def PresheafOfModules.ModuleColimit.coconeSMul E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
      {cR : CategoryTheory.Limits.Cocone R} →
        CategoryTheory.Limits.IsColimit cR →
          {M : PresheafOfModules R} →
            {cM : CategoryTheory.Limits.Cocone M.presheaf} →
              CategoryTheory.Limits.IsColimit cM →
                CategoryTheory.Limits.Cocone
                  (CategoryTheory.MonoidalCategoryStruct.tensorObj (R.comp (CategoryTheory.forget RingCat))
                    (M.presheaf.comp (CategoryTheory.forget Ab)))

The cocone for R ⋙ forget _ ⊗ M.presheaf ⋙ forget _ with point ModuleColimit hcR hcM which allows to define the scalar multiplication by cR.pt on ModuleColimit hcR hcM.

theorem PresheafOfModules.ModuleColimit.coconeSMul_pt E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  {cR : CategoryTheory.Limits.Cocone R} (hcR : CategoryTheory.Limits.IsColimit cR) {M : PresheafOfModules R}
  {cM : CategoryTheory.Limits.Cocone M.presheaf} (hcM : CategoryTheory.Limits.IsColimit cM),
  (PresheafOfModules.ModuleColimit.coconeSMul hcR hcM).pt = PresheafOfModules.ModuleColimit hcR hcM

theorem PresheafOfModules.ModuleColimit.coconeSMul_ι_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  {cR : CategoryTheory.Limits.Cocone R} (hcR : CategoryTheory.Limits.IsColimit cR) {M : PresheafOfModules R}
  {cM : CategoryTheory.Limits.Cocone M.presheaf} (hcM : CategoryTheory.Limits.IsColimit cM) (U : Cᵒᵖ),
  (PresheafOfModules.ModuleColimit.coconeSMul hcR hcM).ι.app U =
    TypeCat.ofHom fun x ↦
      match x with
      | (r, m) => (CategoryTheory.ConcreteCategory.hom (cM.ι.app U)) (r • m)

instance PresheafOfModules.ModuleColimit.instSMulCarrierPtOppositeRingCat E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [CategoryTheory.LocallySmall.{w, v, u} C] →
      [CategoryTheory.IsCofiltered C] →
        [CategoryTheory.InitiallySmall C] →
          {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
            {cR : CategoryTheory.Limits.Cocone R} →
              (hcR : CategoryTheory.Limits.IsColimit cR) →
                {M : PresheafOfModules R} →
                  {cM : CategoryTheory.Limits.Cocone M.presheaf} →
                    (hcM : CategoryTheory.Limits.IsColimit cM) → SMul (↑cR.pt) (PresheafOfModules.ModuleColimit hcR hcM)

abbrev PresheafOfModules.ModuleColimit.ιR E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} → (cR : CategoryTheory.Limits.Cocone R) → {U : Cᵒᵖ} → ↑(R.obj U) →+* ↑cR.pt

The "inclusion" maps to the colimit ring.

abbrev PresheafOfModules.ModuleColimit.ιM E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
      {cR : CategoryTheory.Limits.Cocone R} →
        {hcR : CategoryTheory.Limits.IsColimit cR} →
          {M : PresheafOfModules R} →
            {cM : CategoryTheory.Limits.Cocone M.presheaf} →
              {hcM : CategoryTheory.Limits.IsColimit cM} →
                {U : Cᵒᵖ} → ↑(M.obj U) →+ PresheafOfModules.ModuleColimit hcR hcM

The "inclusion" maps to the colimit module, as an additive map.

theorem PresheafOfModules.ModuleColimit.smul_eq E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C]
  [inst_2 : CategoryTheory.IsCofiltered C] [inst_3 : CategoryTheory.InitiallySmall C]
  {R : CategoryTheory.Functor Cᵒᵖ RingCat} {cR : CategoryTheory.Limits.Cocone R}
  (hcR : CategoryTheory.Limits.IsColimit cR) {M : PresheafOfModules R} {cM : CategoryTheory.Limits.Cocone M.presheaf}
  (hcM : CategoryTheory.Limits.IsColimit cM) {U : Cᵒᵖ} (r : ↑(R.obj U)) (m : ↑(M.obj U)),
  (PresheafOfModules.ModuleColimit.ιR cR) r • PresheafOfModules.ModuleColimit.ιM m =
    PresheafOfModules.ModuleColimit.ιM (r • m)

theorem PresheafOfModules.ModuleColimit.ιM_jointly_surjective E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.LocallySmall.{w, v, u} C]
  [CategoryTheory.IsCofiltered C] [CategoryTheory.InitiallySmall C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  {cR : CategoryTheory.Limits.Cocone R} {hcR : CategoryTheory.Limits.IsColimit cR} {M : PresheafOfModules R}
  {cM : CategoryTheory.Limits.Cocone M.presheaf} {hcM : CategoryTheory.Limits.IsColimit cM}
  (m : PresheafOfModules.ModuleColimit hcR hcM), ∃ U x, PresheafOfModules.ModuleColimit.ιM x = m

theorem PresheafOfModules.ModuleColimit.ιM_jointly_surjective₂ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.LocallySmall.{w, v, u} C]
  [CategoryTheory.IsCofiltered C] [CategoryTheory.InitiallySmall C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  {cR : CategoryTheory.Limits.Cocone R} {hcR : CategoryTheory.Limits.IsColimit cR} {M : PresheafOfModules R}
  {cM : CategoryTheory.Limits.Cocone M.presheaf} {hcM : CategoryTheory.Limits.IsColimit cM} {M' : PresheafOfModules R}
  {cM' : CategoryTheory.Limits.Cocone M'.presheaf} {hcM' : CategoryTheory.Limits.IsColimit cM'}
  (m : PresheafOfModules.ModuleColimit hcR hcM) (m' : PresheafOfModules.ModuleColimit hcR hcM'),
  ∃ U x x', PresheafOfModules.ModuleColimit.ιM x = m ∧ PresheafOfModules.ModuleColimit.ιM x' = m'

theorem PresheafOfModules.ModuleColimit.ιM_jointly_surjective₃ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.LocallySmall.{w, v, u} C]
  [CategoryTheory.IsCofiltered C] [CategoryTheory.InitiallySmall C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  {cR : CategoryTheory.Limits.Cocone R} {hcR : CategoryTheory.Limits.IsColimit cR} {M : PresheafOfModules R}
  {cM : CategoryTheory.Limits.Cocone M.presheaf} {hcM : CategoryTheory.Limits.IsColimit cM} {M' : PresheafOfModules R}
  {cM' : CategoryTheory.Limits.Cocone M'.presheaf} {hcM' : CategoryTheory.Limits.IsColimit cM'}
  {M'' : PresheafOfModules R} {cM'' : CategoryTheory.Limits.Cocone M''.presheaf}
  {hcM'' : CategoryTheory.Limits.IsColimit cM''} (m : PresheafOfModules.ModuleColimit hcR hcM)
  (m' : PresheafOfModules.ModuleColimit hcR hcM') (m'' : PresheafOfModules.ModuleColimit hcR hcM''),
  ∃ U x x' x'',
    PresheafOfModules.ModuleColimit.ιM x = m ∧
      PresheafOfModules.ModuleColimit.ιM x' = m' ∧ PresheafOfModules.ModuleColimit.ιM x'' = m''

theorem PresheafOfModules.ModuleColimit.ιR_jointly_surjective E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.LocallySmall.{w, v, u} C]
  [CategoryTheory.IsCofiltered C] [CategoryTheory.InitiallySmall C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  {cR : CategoryTheory.Limits.Cocone R} (hcR : CategoryTheory.Limits.IsColimit cR) (r : ↑cR.pt),
  ∃ U a, (PresheafOfModules.ModuleColimit.ιR cR) a = r

theorem PresheafOfModules.ModuleColimit.jointly_surjective₂ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.LocallySmall.{w, v, u} C]
  [CategoryTheory.IsCofiltered C] [CategoryTheory.InitiallySmall C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  {cR : CategoryTheory.Limits.Cocone R} {hcR : CategoryTheory.Limits.IsColimit cR} {M : PresheafOfModules R}
  {cM : CategoryTheory.Limits.Cocone M.presheaf} {hcM : CategoryTheory.Limits.IsColimit cM} (r : ↑cR.pt)
  (m : PresheafOfModules.ModuleColimit hcR hcM),
  ∃ U a x, (PresheafOfModules.ModuleColimit.ιR cR) a = r ∧ PresheafOfModules.ModuleColimit.ιM x = m

theorem PresheafOfModules.ModuleColimit.jointly_surjective₃ E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.LocallySmall.{w, v, u} C]
  [CategoryTheory.IsCofiltered C] [CategoryTheory.InitiallySmall C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  {cR : CategoryTheory.Limits.Cocone R} {hcR : CategoryTheory.Limits.IsColimit cR} {M : PresheafOfModules R}
  {cM : CategoryTheory.Limits.Cocone M.presheaf} {hcM : CategoryTheory.Limits.IsColimit cM} (r₁ r₂ : ↑cR.pt)
  (m : PresheafOfModules.ModuleColimit hcR hcM),
  ∃ U a₁ a₂ x,
    (PresheafOfModules.ModuleColimit.ιR cR) a₁ = r₁ ∧
      (PresheafOfModules.ModuleColimit.ιR cR) a₂ = r₂ ∧ PresheafOfModules.ModuleColimit.ιM x = m

theorem PresheafOfModules.ModuleColimit.jointly_surjective₃' E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [CategoryTheory.LocallySmall.{w, v, u} C]
  [CategoryTheory.IsCofiltered C] [CategoryTheory.InitiallySmall C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  {cR : CategoryTheory.Limits.Cocone R} {hcR : CategoryTheory.Limits.IsColimit cR} {M : PresheafOfModules R}
  {cM : CategoryTheory.Limits.Cocone M.presheaf} {hcM : CategoryTheory.Limits.IsColimit cM} {M' : PresheafOfModules R}
  {cM' : CategoryTheory.Limits.Cocone M'.presheaf} {hcM' : CategoryTheory.Limits.IsColimit cM'} (r : ↑cR.pt)
  (m₁ : PresheafOfModules.ModuleColimit hcR hcM) (m₂ : PresheafOfModules.ModuleColimit hcR hcM'),
  ∃ U a x₁ x₂,
    (PresheafOfModules.ModuleColimit.ιR cR) a = r ∧
      PresheafOfModules.ModuleColimit.ιM x₁ = m₁ ∧ PresheafOfModules.ModuleColimit.ιM x₂ = m₂

instance PresheafOfModules.ModuleColimit.instModuleCarrierPtOppositeRingCat E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [CategoryTheory.LocallySmall.{w, v, u} C] →
      [CategoryTheory.IsCofiltered C] →
        [CategoryTheory.InitiallySmall C] →
          {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
            {cR : CategoryTheory.Limits.Cocone R} →
              (hcR : CategoryTheory.Limits.IsColimit cR) →
                {M : PresheafOfModules R} →
                  {cM : CategoryTheory.Limits.Cocone M.presheaf} →
                    (hcM : CategoryTheory.Limits.IsColimit cM) →
                      Module (↑cR.pt) (PresheafOfModules.ModuleColimit hcR hcM)

def PresheafOfModules.ModuleColimit.homEquiv' E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
      {cR : CategoryTheory.Limits.Cocone R} →
        (hcR : CategoryTheory.Limits.IsColimit cR) →
          {M : PresheafOfModules R} →
            {cM : CategoryTheory.Limits.Cocone M.presheaf} →
              (hcM : CategoryTheory.Limits.IsColimit cM) →
                {N : Type w} →
                  [inst_1 : AddCommGroup N] →
                    (PresheafOfModules.ModuleColimit hcR hcM →+ N) ≃+
                      (M.presheaf ⟶ (CategoryTheory.Functor.const Cᵒᵖ).obj ↧N)

Auxiliary definition for homEquiv. This is the universal property of PresheafOfModules.ModuleColimit, as an abelian group.

theorem PresheafOfModules.ModuleColimit.homEquiv'_app_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  {cR : CategoryTheory.Limits.Cocone R} (hcR : CategoryTheory.Limits.IsColimit cR) {M : PresheafOfModules R}
  {cM : CategoryTheory.Limits.Cocone M.presheaf} (hcM : CategoryTheory.Limits.IsColimit cM) {N : ModuleCat ↑cR.pt}
  (α : PresheafOfModules.ModuleColimit hcR hcM →+ ↑N) {X : Cᵒᵖ} (x : ↑(M.obj X)),
  (CategoryTheory.ConcreteCategory.hom (((PresheafOfModules.ModuleColimit.homEquiv' hcR hcM) α).app X)) x =
    α ((CategoryTheory.ConcreteCategory.hom (cM.ι.app X)) x)

theorem PresheafOfModules.ModuleColimit.homEquiv'_symm_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat}
  {cR : CategoryTheory.Limits.Cocone R} (hcR : CategoryTheory.Limits.IsColimit cR) {M : PresheafOfModules R}
  {cM : CategoryTheory.Limits.Cocone M.presheaf} (hcM : CategoryTheory.Limits.IsColimit cM) {N : ModuleCat ↑cR.pt}
  (β : M.presheaf ⟶ (CategoryTheory.Functor.const Cᵒᵖ).obj ↧↑N) {X : Cᵒᵖ} (x : ↑(M.obj X)),
  ((PresheafOfModules.ModuleColimit.homEquiv' hcR hcM).symm β) ((CategoryTheory.ConcreteCategory.hom (cM.ι.app X)) x) =
    (CategoryTheory.ConcreteCategory.hom (β.app X)) x

theorem PresheafOfModules.ModuleColimit.map_smul_homEquiv'_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C]
  [inst_2 : CategoryTheory.IsCofiltered C] [inst_3 : CategoryTheory.InitiallySmall C]
  {R : CategoryTheory.Functor Cᵒᵖ RingCat} {cR : CategoryTheory.Limits.Cocone R}
  (hcR : CategoryTheory.Limits.IsColimit cR) {M : PresheafOfModules R} {cM : CategoryTheory.Limits.Cocone M.presheaf}
  (hcM : CategoryTheory.Limits.IsColimit cM) {N : ModuleCat ↑cR.pt} (α : PresheafOfModules.ModuleColimit hcR hcM →+ ↑N),
  (∀ (U : Cᵒᵖ) (r : ↑(R.obj U)) (m : ↑(M.obj U)),
      (CategoryTheory.ConcreteCategory.hom (((PresheafOfModules.ModuleColimit.homEquiv' hcR hcM) α).app U)) (r • m) =
        (CategoryTheory.ConcreteCategory.hom (cR.ι.app U)) r •
          (CategoryTheory.ConcreteCategory.hom (((PresheafOfModules.ModuleColimit.homEquiv' hcR hcM) α).app U)) m) ↔
    ∀ (r : ↑cR.pt) (m : PresheafOfModules.ModuleColimit hcR hcM), α (r • m) = r • α m

def PresheafOfModules.ModuleColimit.homEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] →
      [inst_2 : CategoryTheory.IsCofiltered C] →
        [inst_3 : CategoryTheory.InitiallySmall C] →
          {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
            {cR : CategoryTheory.Limits.Cocone R} →
              (hcR : CategoryTheory.Limits.IsColimit cR) →
                {M : PresheafOfModules R} →
                  {cM : CategoryTheory.Limits.Cocone M.presheaf} →
                    (hcM : CategoryTheory.Limits.IsColimit cM) →
                      {N : ModuleCat ↑cR.pt} →
                        (↧(PresheafOfModules.ModuleColimit hcR hcM) ⟶ N) ≃+
                          (M ⟶ (PresheafOfModules.constFunctor cR).obj N)

This is the universal property of PresheafOfModules.ModuleColimit as a module. See also PresheafOfModules.colimitAdjunction.

theorem PresheafOfModules.ModuleColimit.homEquiv_app_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C]
  [inst_2 : CategoryTheory.IsCofiltered C] [inst_3 : CategoryTheory.InitiallySmall C]
  {R : CategoryTheory.Functor Cᵒᵖ RingCat} {cR : CategoryTheory.Limits.Cocone R}
  (hcR : CategoryTheory.Limits.IsColimit cR) {M : PresheafOfModules R} {cM : CategoryTheory.Limits.Cocone M.presheaf}
  (hcM : CategoryTheory.Limits.IsColimit cM) {N : ModuleCat ↑cR.pt} (α : ↧(PresheafOfModules.ModuleColimit hcR hcM) ⟶ N)
  {X : Cᵒᵖ} (x : ↑(M.obj X)),
  (CategoryTheory.ConcreteCategory.hom (((PresheafOfModules.ModuleColimit.homEquiv hcR hcM) α).app X)) x =
    (CategoryTheory.ConcreteCategory.hom α) ((CategoryTheory.ConcreteCategory.hom (cM.ι.app X)) x)

theorem PresheafOfModules.ModuleColimit.homEquiv_naturality_right E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C]
  [inst_2 : CategoryTheory.IsCofiltered C] [inst_3 : CategoryTheory.InitiallySmall C]
  {R : CategoryTheory.Functor Cᵒᵖ RingCat} {cR : CategoryTheory.Limits.Cocone R}
  (hcR : CategoryTheory.Limits.IsColimit cR) {M : PresheafOfModules R} {cM : CategoryTheory.Limits.Cocone M.presheaf}
  (hcM : CategoryTheory.Limits.IsColimit cM) {N N' : ModuleCat ↑cR.pt}
  (φ : ↧(PresheafOfModules.ModuleColimit hcR hcM) ⟶ N) (g : N ⟶ N'),
  (PresheafOfModules.ModuleColimit.homEquiv hcR hcM) (CategoryTheory.CategoryStruct.comp φ g) =
    CategoryTheory.CategoryStruct.comp ((PresheafOfModules.ModuleColimit.homEquiv hcR hcM) φ)
      ((PresheafOfModules.constFunctor cR).map g)

theorem PresheafOfModules.ModuleColimit.homEquiv_symm_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C]
  [inst_2 : CategoryTheory.IsCofiltered C] [inst_3 : CategoryTheory.InitiallySmall C]
  {R : CategoryTheory.Functor Cᵒᵖ RingCat} {cR : CategoryTheory.Limits.Cocone R}
  (hcR : CategoryTheory.Limits.IsColimit cR) {M : PresheafOfModules R} {cM : CategoryTheory.Limits.Cocone M.presheaf}
  (hcM : CategoryTheory.Limits.IsColimit cM) {N : ModuleCat ↑cR.pt} (β : M ⟶ (PresheafOfModules.constFunctor cR).obj N)
  {X : Cᵒᵖ} (x : ↑(M.obj X)),
  (CategoryTheory.ConcreteCategory.hom ((PresheafOfModules.ModuleColimit.homEquiv hcR hcM).symm β))
      ((CategoryTheory.ConcreteCategory.hom (cM.ι.app X)) x) =
    (CategoryTheory.ConcreteCategory.hom (β.app X)) x

def PresheafOfModules.ModuleColimit.map E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] →
      [inst_2 : CategoryTheory.IsCofiltered C] →
        [inst_3 : CategoryTheory.InitiallySmall C] →
          {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
            {cR : CategoryTheory.Limits.Cocone R} →
              (hcR : CategoryTheory.Limits.IsColimit cR) →
                {M : PresheafOfModules R} →
                  {cM : CategoryTheory.Limits.Cocone M.presheaf} →
                    (hcM : CategoryTheory.Limits.IsColimit cM) →
                      {M' : PresheafOfModules R} →
                        {cM' : CategoryTheory.Limits.Cocone M'.presheaf} →
                          (hcM' : CategoryTheory.Limits.IsColimit cM') →
                            (M ⟶ M') →
                              PresheafOfModules.ModuleColimit hcR hcM →ₗ[↑cR.pt]
                                PresheafOfModules.ModuleColimit hcR hcM'

The linear map between the colimit modules induced by a morphism of modules.

theorem PresheafOfModules.ModuleColimit.map_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C]
  [inst_2 : CategoryTheory.IsCofiltered C] [inst_3 : CategoryTheory.InitiallySmall C]
  {R : CategoryTheory.Functor Cᵒᵖ RingCat} {cR : CategoryTheory.Limits.Cocone R}
  (hcR : CategoryTheory.Limits.IsColimit cR) {M : PresheafOfModules R} {cM : CategoryTheory.Limits.Cocone M.presheaf}
  (hcM : CategoryTheory.Limits.IsColimit cM) {M' : PresheafOfModules R} {cM' : CategoryTheory.Limits.Cocone M'.presheaf}
  (hcM' : CategoryTheory.Limits.IsColimit cM') (f : M ⟶ M') {U : Cᵒᵖ} (m : ↑(M.obj U)),
  (PresheafOfModules.ModuleColimit.map hcR hcM hcM' f) (PresheafOfModules.ModuleColimit.ιM m) =
    PresheafOfModules.ModuleColimit.ιM ((CategoryTheory.ConcreteCategory.hom (f.app U)) m)

theorem PresheafOfModules.ModuleColimit.map_id E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C]
  [inst_2 : CategoryTheory.IsCofiltered C] [inst_3 : CategoryTheory.InitiallySmall C]
  {R : CategoryTheory.Functor Cᵒᵖ RingCat} {cR : CategoryTheory.Limits.Cocone R}
  (hcR : CategoryTheory.Limits.IsColimit cR) {M : PresheafOfModules R} {cM : CategoryTheory.Limits.Cocone M.presheaf}
  (hcM : CategoryTheory.Limits.IsColimit cM),
  PresheafOfModules.ModuleColimit.map hcR hcM hcM (CategoryTheory.CategoryStruct.id M) = LinearMap.id

theorem PresheafOfModules.ModuleColimit.comp_map E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C]
  [inst_2 : CategoryTheory.IsCofiltered C] [inst_3 : CategoryTheory.InitiallySmall C]
  {R : CategoryTheory.Functor Cᵒᵖ RingCat} {cR : CategoryTheory.Limits.Cocone R}
  (hcR : CategoryTheory.Limits.IsColimit cR) {M : PresheafOfModules R} {cM : CategoryTheory.Limits.Cocone M.presheaf}
  (hcM : CategoryTheory.Limits.IsColimit cM) {M' : PresheafOfModules R} {cM' : CategoryTheory.Limits.Cocone M'.presheaf}
  (hcM' : CategoryTheory.Limits.IsColimit cM') (f : M ⟶ M') {M'' : PresheafOfModules R}
  {cM'' : CategoryTheory.Limits.Cocone M''.presheaf} (hcM'' : CategoryTheory.Limits.IsColimit cM'') (g : M' ⟶ M''),
  PresheafOfModules.ModuleColimit.map hcR hcM' hcM'' g ∘ₗ PresheafOfModules.ModuleColimit.map hcR hcM hcM' f =
    PresheafOfModules.ModuleColimit.map hcR hcM hcM'' (CategoryTheory.CategoryStruct.comp f g)

theorem PresheafOfModules.ModuleColimit.homEquiv_naturality_left E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C]
  [inst_2 : CategoryTheory.IsCofiltered C] [inst_3 : CategoryTheory.InitiallySmall C]
  {R : CategoryTheory.Functor Cᵒᵖ RingCat} {cR : CategoryTheory.Limits.Cocone R}
  (hcR : CategoryTheory.Limits.IsColimit cR) {M : PresheafOfModules R} {cM : CategoryTheory.Limits.Cocone M.presheaf}
  (hcM : CategoryTheory.Limits.IsColimit cM) {M' : PresheafOfModules R} {cM' : CategoryTheory.Limits.Cocone M'.presheaf}
  (hcM' : CategoryTheory.Limits.IsColimit cM') {N : ModuleCat ↑cR.pt}
  (φ' : ↧(PresheafOfModules.ModuleColimit hcR hcM') ⟶ N) (f : M ⟶ M'),
  (PresheafOfModules.ModuleColimit.homEquiv hcR hcM)
      (CategoryTheory.CategoryStruct.comp (ModuleCat.ofHom (PresheafOfModules.ModuleColimit.map hcR hcM hcM' f)) φ') =
    CategoryTheory.CategoryStruct.comp f ((PresheafOfModules.ModuleColimit.homEquiv hcR hcM') φ')

theorem PresheafOfModules.ModuleColimit.homEquiv_naturality_left_symm E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C]
  [inst_2 : CategoryTheory.IsCofiltered C] [inst_3 : CategoryTheory.InitiallySmall C]
  {R : CategoryTheory.Functor Cᵒᵖ RingCat} {cR : CategoryTheory.Limits.Cocone R}
  (hcR : CategoryTheory.Limits.IsColimit cR) {M : PresheafOfModules R} {cM : CategoryTheory.Limits.Cocone M.presheaf}
  (hcM : CategoryTheory.Limits.IsColimit cM) {M' : PresheafOfModules R} {cM' : CategoryTheory.Limits.Cocone M'.presheaf}
  (hcM' : CategoryTheory.Limits.IsColimit cM') {N : ModuleCat ↑cR.pt} (f : M ⟶ M')
  (g : M' ⟶ (PresheafOfModules.constFunctor cR).obj N),
  (PresheafOfModules.ModuleColimit.homEquiv hcR hcM).symm (CategoryTheory.CategoryStruct.comp f g) =
    CategoryTheory.CategoryStruct.comp (ModuleCat.ofHom (PresheafOfModules.ModuleColimit.map hcR hcM hcM' f))
      ((PresheafOfModules.ModuleColimit.homEquiv hcR hcM').symm g)

def PresheafOfModules.colimitFunctor E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [CategoryTheory.LocallySmall.{w, v, u} C] →
      [CategoryTheory.IsCofiltered C] →
        [CategoryTheory.InitiallySmall C] →
          {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
            {cR : CategoryTheory.Limits.Cocone R} →
              CategoryTheory.Limits.IsColimit cR → CategoryTheory.Functor (PresheafOfModules R) (ModuleCat ↑cR.pt)

The colimit module functor from the category of presheaves of modules over a presheaf of rings R on a cofiltered category to the category of modules over a colimit of R.

def PresheafOfModules.colimitAdjunction E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C] →
      [inst_2 : CategoryTheory.IsCofiltered C] →
        [inst_3 : CategoryTheory.InitiallySmall C] →
          {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
            {cR : CategoryTheory.Limits.Cocone R} →
              (hcR : CategoryTheory.Limits.IsColimit cR) →
                PresheafOfModules.colimitFunctor hcR ⊣ PresheafOfModules.constFunctor cR

Given a presheaf of rings R on a cofiltered category, this is the adjunction between colimitFunctor : PresheafOfModules R ⥤ ModuleCat cR.pt and the constant functor.

theorem PresheafOfModules.colimitAdjunction_homEquiv E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C]
  [inst_2 : CategoryTheory.IsCofiltered C] [inst_3 : CategoryTheory.InitiallySmall C]
  {R : CategoryTheory.Functor Cᵒᵖ RingCat} {cR : CategoryTheory.Limits.Cocone R}
  (hcR : CategoryTheory.Limits.IsColimit cR) (F : PresheafOfModules R) (G : ModuleCat ↑cR.pt),
  (PresheafOfModules.colimitAdjunction hcR).homEquiv F G =
    ↑(PresheafOfModules.ModuleColimit.homEquiv hcR (CategoryTheory.Limits.colimit.isColimit F.presheaf))

theorem PresheafOfModules.colimitAdjunction_homEquiv_symm_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.LocallySmall.{w, v, u} C]
  [inst_2 : CategoryTheory.IsCofiltered C] [inst_3 : CategoryTheory.InitiallySmall C]
  {R : CategoryTheory.Functor Cᵒᵖ RingCat} {cR : CategoryTheory.Limits.Cocone R}
  (hcR : CategoryTheory.Limits.IsColimit cR) {F : PresheafOfModules R} {G : ModuleCat ↑cR.pt}
  (β : F ⟶ (PresheafOfModules.constFunctor cR).obj G) {X : Cᵒᵖ} (m : ↑(F.obj X)),
  (CategoryTheory.ConcreteCategory.hom (((PresheafOfModules.colimitAdjunction hcR).homEquiv F G).symm β))
      (PresheafOfModules.ModuleColimit.ιM m) =
    (CategoryTheory.ConcreteCategory.hom (β.app X)) m