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

21 declarations. Mathlib docs · Source

Limits in categories of presheaves of modules

In this file, it is shown that under suitable assumptions, limits exist in the category PresheafOfModules R.

def PresheafOfModules.evaluationJointlyReflectsLimits E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
      {J : Type u₂} →
        [inst_1 : CategoryTheory.Category.{v₂, u₂} J] →
          (F : CategoryTheory.Functor J (PresheafOfModules R)) →
            [∀ (X : Cᵒᵖ),
                  Small.{v, max u₂ v}
                    ↑((F.comp (PresheafOfModules.evaluation R X)).comp
                          (CategoryTheory.forget (ModuleCat ↑(R.obj X)))).sections] →
              (c : CategoryTheory.Limits.Cone F) →
                ((X : Cᵒᵖ) → CategoryTheory.Limits.IsLimit ((PresheafOfModules.evaluation R X).mapCone c)) →
                  CategoryTheory.Limits.IsLimit c

A cone in the category PresheafOfModules R is limit if it is so after the application of the functors evaluation R X for all X.

instance PresheafOfModules.instHasLimitModuleCatCarrierObjOppositeRingCatCompEvaluationRestrictScalarsHomMap E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat} {J : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} J] (F : CategoryTheory.Functor J (PresheafOfModules R))
  [∀ (X : Cᵒᵖ),
      Small.{v, max u₂ v}
        ↑((F.comp (PresheafOfModules.evaluation R X)).comp (CategoryTheory.forget (ModuleCat ↑(R.obj X)))).sections]
  {X Y : Cᵒᵖ} (f : X ⟶ Y),
  CategoryTheory.Limits.HasLimit
    (F.comp ((PresheafOfModules.evaluation R Y).comp (ModuleCat.restrictScalars (RingCat.Hom.hom (R.map f)))))

def PresheafOfModules.limitPresheafOfModules E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
      {J : Type u₂} →
        [inst_1 : CategoryTheory.Category.{v₂, u₂} J] →
          (F : CategoryTheory.Functor J (PresheafOfModules R)) →
            [∀ (X : Cᵒᵖ),
                  Small.{v, max u₂ v}
                    ↑((F.comp (PresheafOfModules.evaluation R X)).comp
                          (CategoryTheory.forget (ModuleCat ↑(R.obj X)))).sections] →
              PresheafOfModules R

Given F : J ⥤ PresheafOfModules.{v} R, this is the presheaf of modules obtained by taking a limit in the category of modules over R.obj X for all X.

theorem PresheafOfModules.limitPresheafOfModules_map E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat} {J : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} J] (F : CategoryTheory.Functor J (PresheafOfModules R))
  [inst_2 :
    ∀ (X : Cᵒᵖ),
      Small.{v, max u₂ v}
        ↑((F.comp (PresheafOfModules.evaluation R X)).comp (CategoryTheory.forget (ModuleCat ↑(R.obj X)))).sections]
  {x Y : Cᵒᵖ} (f : x ⟶ Y),
  (PresheafOfModules.limitPresheafOfModules F).map f =
    CategoryTheory.CategoryStruct.comp
      (CategoryTheory.Limits.limMap (F.whiskerLeft (PresheafOfModules.restriction R f)))
      (CategoryTheory.preservesLimitIso (ModuleCat.restrictScalars (RingCat.Hom.hom (R.map f)))
          (F.comp (PresheafOfModules.evaluation R Y))).inv

theorem PresheafOfModules.limitPresheafOfModules_obj E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat} {J : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} J] (F : CategoryTheory.Functor J (PresheafOfModules R))
  [inst_2 :
    ∀ (X : Cᵒᵖ),
      Small.{v, max u₂ v}
        ↑((F.comp (PresheafOfModules.evaluation R X)).comp (CategoryTheory.forget (ModuleCat ↑(R.obj X)))).sections]
  (X : Cᵒᵖ),
  (PresheafOfModules.limitPresheafOfModules F).obj X =
    CategoryTheory.Limits.limit (F.comp (PresheafOfModules.evaluation R X))

def PresheafOfModules.limitCone E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
      {J : Type u₂} →
        [inst_1 : CategoryTheory.Category.{v₂, u₂} J] →
          (F : CategoryTheory.Functor J (PresheafOfModules R)) →
            [∀ (X : Cᵒᵖ),
                  Small.{v, max u₂ v}
                    ↑((F.comp (PresheafOfModules.evaluation R X)).comp
                          (CategoryTheory.forget (ModuleCat ↑(R.obj X)))).sections] →
              CategoryTheory.Limits.Cone F

The (limit) cone for F : J ⥤ PresheafOfModules.{v} R that is constructed from the limit of F ⋙ evaluation R X for all X.

theorem PresheafOfModules.limitCone_π_app_app E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat} {J : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} J] (F : CategoryTheory.Functor J (PresheafOfModules R))
  [inst_2 :
    ∀ (X : Cᵒᵖ),
      Small.{v, max u₂ v}
        ↑((F.comp (PresheafOfModules.evaluation R X)).comp (CategoryTheory.forget (ModuleCat ↑(R.obj X)))).sections]
  (j : J) (X : Cᵒᵖ),
  ((PresheafOfModules.limitCone F).π.app j).app X =
    CategoryTheory.Limits.limit.π (F.comp (PresheafOfModules.evaluation R X)) j

theorem PresheafOfModules.limitCone_pt E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat} {J : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} J] (F : CategoryTheory.Functor J (PresheafOfModules R))
  [inst_2 :
    ∀ (X : Cᵒᵖ),
      Small.{v, max u₂ v}
        ↑((F.comp (PresheafOfModules.evaluation R X)).comp (CategoryTheory.forget (ModuleCat ↑(R.obj X)))).sections],
  (PresheafOfModules.limitCone F).pt = PresheafOfModules.limitPresheafOfModules F

def PresheafOfModules.isLimitLimitCone E1 #

{C : Type u₁} →
  [inst : CategoryTheory.Category.{v₁, u₁} C] →
    {R : CategoryTheory.Functor Cᵒᵖ RingCat} →
      {J : Type u₂} →
        [inst_1 : CategoryTheory.Category.{v₂, u₂} J] →
          (F : CategoryTheory.Functor J (PresheafOfModules R)) →
            [inst_2 :
                ∀ (X : Cᵒᵖ),
                  Small.{v, max u₂ v}
                    ↑((F.comp (PresheafOfModules.evaluation R X)).comp
                          (CategoryTheory.forget (ModuleCat ↑(R.obj X)))).sections] →
              CategoryTheory.Limits.IsLimit (PresheafOfModules.limitCone F)

The cone limitCone F is limit for any F : J ⥤ PresheafOfModules.{v} R.

instance PresheafOfModules.hasLimit E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat} {J : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} J] (F : CategoryTheory.Functor J (PresheafOfModules R))
  [∀ (X : Cᵒᵖ),
      Small.{v, max u₂ v}
        ↑((F.comp (PresheafOfModules.evaluation R X)).comp (CategoryTheory.forget (ModuleCat ↑(R.obj X)))).sections],
  CategoryTheory.Limits.HasLimit F

instance PresheafOfModules.evaluation_preservesLimit E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat} {J : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} J] (F : CategoryTheory.Functor J (PresheafOfModules R))
  [∀ (X : Cᵒᵖ),
      Small.{v, max u₂ v}
        ↑((F.comp (PresheafOfModules.evaluation R X)).comp (CategoryTheory.forget (ModuleCat ↑(R.obj X)))).sections]
  (X : Cᵒᵖ), CategoryTheory.Limits.PreservesLimit F (PresheafOfModules.evaluation R X)

instance PresheafOfModules.toPresheaf_preservesLimit E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {R : CategoryTheory.Functor Cᵒᵖ RingCat} {J : Type u₂}
  [inst_1 : CategoryTheory.Category.{v₂, u₂} J] (F : CategoryTheory.Functor J (PresheafOfModules R))
  [∀ (X : Cᵒᵖ),
      Small.{v, max u₂ v}
        ↑((F.comp (PresheafOfModules.evaluation R X)).comp (CategoryTheory.forget (ModuleCat ↑(R.obj X)))).sections],
  CategoryTheory.Limits.PreservesLimit F (PresheafOfModules.toPresheaf R)

instance PresheafOfModules.hasLimitsOfShape E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (R : CategoryTheory.Functor Cᵒᵖ RingCat) (J : Type u₂)
  [inst_1 : CategoryTheory.Category.{v₂, u₂} J] [Small.{v, u₂} J],
  CategoryTheory.Limits.HasLimitsOfShape J (PresheafOfModules R)

instance PresheafOfModules.hasLimitsOfSize E0 #

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

instance PresheafOfModules.instPreservesLimitsOfShapeModuleCatCarrierObjOppositeRingCatEvaluation E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (R : CategoryTheory.Functor Cᵒᵖ RingCat) (J : Type u₂)
  [inst_1 : CategoryTheory.Category.{v₂, u₂} J] [Small.{v, u₂} J] (X : Cᵒᵖ),
  CategoryTheory.Limits.PreservesLimitsOfShape J (PresheafOfModules.evaluation R X)

instance PresheafOfModules.instPreservesLimitsOfSizeModuleCatCarrierObjOppositeRingCatEvaluation E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (R : CategoryTheory.Functor Cᵒᵖ RingCat) (X : Cᵒᵖ),
  CategoryTheory.Limits.PreservesLimitsOfSize.{v, v, max u₁ v, v, max (max (max u u₁) (v + 1)) v₁, max u (v + 1)}
    (PresheafOfModules.evaluation R X)

instance PresheafOfModules.instPreservesLimitsOfShapeFunctorOppositeAbToPresheaf E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (R : CategoryTheory.Functor Cᵒᵖ RingCat) (J : Type u₂)
  [inst_1 : CategoryTheory.Category.{v₂, u₂} J] [Small.{v, u₂} J],
  CategoryTheory.Limits.PreservesLimitsOfShape J (PresheafOfModules.toPresheaf R)

instance PresheafOfModules.instPreservesLimitsOfSizeFunctorOppositeAbToPresheaf E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (R : CategoryTheory.Functor Cᵒᵖ RingCat),
  CategoryTheory.Limits.PreservesLimitsOfSize.{v, v, max u₁ v, max u₁ v, max (max (max u u₁) (v + 1)) v₁,
      max (max u₁ (v + 1)) v₁}
    (PresheafOfModules.toPresheaf R)

instance PresheafOfModules.hasFiniteLimits E0 #

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

instance PresheafOfModules.evaluation_preservesFiniteLimits E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (R : CategoryTheory.Functor Cᵒᵖ RingCat) (X : Cᵒᵖ),
  CategoryTheory.Limits.PreservesFiniteLimits (PresheafOfModules.evaluation R X)

instance PresheafOfModules.toPresheaf_preservesFiniteLimits E0 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] (R : CategoryTheory.Functor Cᵒᵖ RingCat),
  CategoryTheory.Limits.PreservesFiniteLimits (PresheafOfModules.toPresheaf R)