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 / V25. Higher structures in categories

Mathlib.CategoryTheory.Abelian.GrothendieckCategory.EnoughInjectives

32 declarations. Mathlib docs · Source

Grothendieck abelian categories have enough injectives

Let C be a Grothendieck abelian category. In this file, we formalize the theorem by Grothendieck that C has enough injectives.

We recall that injective objects can be characterized in terms of lifting properties (see the file Preadditive.Injective.LiftingProperties): an object I : C is injective iff the morphism I ⟶ 0 has the right lifting property with respect to all monomorphisms.

The main technical lemma in this file is the lemma generatingMonomorphisms_rlp which states that if G is a generator of C, then a morphism X ⟶ Y has the right lifting property with respect to the inclusions of subobjects of G iff it has the right lifting property with respect to all monomorphisms. Then, we can apply the small object argument to the family of morphisms generatingMonomorphisms G which consists of the inclusions of subobjects of G. When it is applied to the morphism X ⟶ 0, the factorization given by the small object is a factorization X ⟶ I ⟶ 0 where I is injective (because I ⟶ 0 has the expected right lifting properties), and X ⟶ I is a monomorphism because it is a transfinite composition of monomorphisms (this uses the axiom AB5).

The proof of the technical lemma generatingMonomorphisms_rlp that was formalized is not exactly the same as in the mathematical literature. Assume that p : X ⟶ Y has the lifting property with respect to monomorphisms in the family generatingMonomorphisms G. We would like to show that p has the right lifting property with respect to any monomorphism i : A ⟶ B. In various sources, given a commutative square with i on the left and p on the right, the ordered set of subobjects A' of B containing A equipped with a lifting A' ⟶ X is introduced. The existence of a lifting B ⟶ X is usually obtained by applying Zorn's lemma in this situation. Here, we split the argument into two separate facts:

  • any monomorphism A ⟶ B is a transfinite composition of pushouts of monomorphisms in generatingMonomorphisms G (see generatingMonomorphisms.exists_transfiniteCompositionOfShape);
  • the class of morphisms that have the left lifting property with respect to p is stable under transfinite composition (see the file SmallObject.TransfiniteCompositionLifting).

References

  • [Alexander Grothendieck, Sur quelques points d'algèbre homologique][grothendieck-1957]

theorem CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.functor.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {G G_1 : C} (e_G : G = G_1) [inst_1 : CategoryTheory.Abelian C]
  (hG : CategoryTheory.IsSeparator G) {X : C} [inst_2 : CategoryTheory.IsGrothendieckAbelian.{w, v, u} C]
  (A₀ A₀_1 : CategoryTheory.Subobject X),
  A₀ = A₀_1 →
    ∀ (J : Type w) [inst_3 : LinearOrder J] [inst_4 : WellFoundedLT J],
      CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.functor hG A₀ J =
        CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.functor ⋯ A₀_1 J

theorem CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.largerSubobject.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {G G_1 : C} (e_G : G = G_1) [inst_1 : CategoryTheory.Abelian C]
  (hG : CategoryTheory.IsSeparator G) {X : C} (A A_1 : CategoryTheory.Subobject X),
  A = A_1 →
    CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.largerSubobject hG A =
      CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.largerSubobject ⋯ A_1

theorem CategoryTheory.IsGrothendieckAbelian.monoMapFactorizationDataRlp.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.IsGrothendieckAbelian.{w, v, u} C] {X Y : C} (f : X ⟶ Y),
  CategoryTheory.IsGrothendieckAbelian.monoMapFactorizationDataRlp f =
    CategoryTheory.IsGrothendieckAbelian.monoMapFactorizationDataRlp f

def CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms E1 #

{C : Type u} → [inst : CategoryTheory.Category.{v, u} C] → C → CategoryTheory.MorphismProperty C

Given an object G : C, this is the family of morphisms in C given by the inclusions of all subobjects of G. If G is a separator, and C is a Grothendieck abelian category, then any monomorphism in C is a transfinite composition of pushouts of monomorphisms in this family (see generatingMonomorphisms.exists_transfiniteCompositionOfShape).

instance CategoryTheory.IsGrothendieckAbelian.instIsSmallGeneratingMonomorphismsOfSmallSubobject E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (G : C) [Small.{w, max u v} (CategoryTheory.Subobject G)],
  CategoryTheory.MorphismProperty.IsSmall.{w, v, u} (CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms G)

theorem CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms_le_monomorphisms E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (G : C),
  CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms G ≤ CategoryTheory.MorphismProperty.monomorphisms C

theorem CategoryTheory.IsGrothendieckAbelian.isomorphisms_le_pushouts_generatingMonomorphisms E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] (G : C) [CategoryTheory.Limits.HasZeroMorphisms C],
  CategoryTheory.MorphismProperty.isomorphisms C ≤
    (CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms G).pushouts

theorem CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.exists_pushouts E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {G : C} [CategoryTheory.Abelian C],
  CategoryTheory.IsSeparator G →
    ∀ {X Y : C} (p : X ⟶ Y) [CategoryTheory.Mono p],
      ¬CategoryTheory.IsIso p →
        ∃ X' i p',
          ∃ (_ : (CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms G).pushouts i) (_ :
            ¬CategoryTheory.IsIso i) (_ : CategoryTheory.Mono p'), CategoryTheory.CategoryStruct.comp i p' = p

If p : X ⟶ Y is a monomorphism that is not an isomorphism, there exists a subobject X' of Y containing X (but different from X) such that the inclusion X ⟶ X' is a pushout of a monomorphism in the family generatingMonomorphisms G.

theorem CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.exists_larger_subobject E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {G : C} [CategoryTheory.Abelian C],
  CategoryTheory.IsSeparator G →
    ∀ {X : C} (A : CategoryTheory.Subobject X),
      A ≠ ⊤ →
        ∃ A', ∃ (h : A < A'), (CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms G).pushouts (A.ofLE A' ⋯)

def CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.largerSubobject E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {G : C} →
      [CategoryTheory.Abelian C] →
        CategoryTheory.IsSeparator G → {X : C} → CategoryTheory.Subobject X → CategoryTheory.Subobject X

Assuming G : C is a generator, X : C, and A : Subobject X, this is a subobject of X which is ⊤ if A = ⊤, and otherwise it is a larger subobject given by the lemma exists_larger_subobject. The inclusion of A in largerSubobject hG A is a pushout of a monomorphism in the family generatingMonomorphisms G (see pushouts_ofLE_le_largerSubobject).

theorem CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.largerSubobject_top E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {G : C} [inst_1 : CategoryTheory.Abelian C]
  (hG : CategoryTheory.IsSeparator G) (X : C),
  CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.largerSubobject hG ⊤ = ⊤

theorem CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.lt_largerSubobject E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {G : C} [inst_1 : CategoryTheory.Abelian C]
  (hG : CategoryTheory.IsSeparator G) {X : C} (A : CategoryTheory.Subobject X),
  A ≠ ⊤ → A < CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.largerSubobject hG A

theorem CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.le_largerSubobject E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {G : C} [inst_1 : CategoryTheory.Abelian C]
  (hG : CategoryTheory.IsSeparator G) {X : C} (A : CategoryTheory.Subobject X),
  A ≤ CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.largerSubobject hG A

theorem CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.pushouts_ofLE_le_largerSubobject E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {G : C} [inst_1 : CategoryTheory.Abelian C]
  (hG : CategoryTheory.IsSeparator G) {X : C} (A : CategoryTheory.Subobject X),
  (CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms G).pushouts
    (A.ofLE (CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.largerSubobject hG A) ⋯)

theorem CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.top_mem_range E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {G : C} [inst_1 : CategoryTheory.Abelian C]
  (hG : CategoryTheory.IsSeparator G) {X : C} [inst_2 : CategoryTheory.IsGrothendieckAbelian.{w, v, u} C]
  (A₀ : CategoryTheory.Subobject X) {J : Type w} [inst_3 : LinearOrder J] [inst_4 : WellFoundedLT J],
  HasCardinalLT (CategoryTheory.Subobject X) (Cardinal.mk J) →
    ∃ j,
      supTransfiniteIterate (CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.largerSubobject hG) j A₀ = ⊤

theorem CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.exists_ordinal E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {G : C} [inst_1 : CategoryTheory.Abelian C]
  (hG : CategoryTheory.IsSeparator G) {X : C} [inst_2 : CategoryTheory.IsGrothendieckAbelian.{w, v, u} C]
  (A₀ : CategoryTheory.Subobject X),
  ∃ o j,
    supTransfiniteIterate (CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.largerSubobject hG) j A₀ = ⊤

def CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.functorToMonoOver E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {G : C} →
      [inst_1 : CategoryTheory.Abelian C] →
        CategoryTheory.IsSeparator G →
          {X : C} →
            [CategoryTheory.IsGrothendieckAbelian.{w, v, u} C] →
              CategoryTheory.Subobject X →
                (J : Type w) →
                  [inst_3 : LinearOrder J] → [WellFoundedLT J] → CategoryTheory.Functor J (CategoryTheory.MonoOver X)

Let C be a Grothendieck abelian category with a generator (hG), X : C, A₀ : Subobject X. Let J be a well-ordered type. This is the functor J ⥤ MonoOver X which corresponds to the evaluation at A₀ of the transfinite iteration of the map largerSubobject hG : Subobject X → Subobject X.

theorem CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.functorToMonoOver_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {G : C} [inst_1 : CategoryTheory.Abelian C]
  (hG : CategoryTheory.IsSeparator G) {X : C} [inst_2 : CategoryTheory.IsGrothendieckAbelian.{w, v, u} C]
  (A₀ : CategoryTheory.Subobject X) (J : Type w) [inst_3 : LinearOrder J] [inst_4 : WellFoundedLT J] {j j' : J}
  (f : j ⟶ j'),
  (CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.functorToMonoOver hG A₀ J).map f =
    CategoryTheory.MonoOver.homMk
      ((supTransfiniteIterate (CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.largerSubobject hG) j
            A₀).ofLE
        (supTransfiniteIterate (CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.largerSubobject hG) j' A₀)
        ⋯)
      ⋯

theorem CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.functorToMonoOver_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {G : C} [inst_1 : CategoryTheory.Abelian C]
  (hG : CategoryTheory.IsSeparator G) {X : C} [inst_2 : CategoryTheory.IsGrothendieckAbelian.{w, v, u} C]
  (A₀ : CategoryTheory.Subobject X) (J : Type w) [inst_3 : LinearOrder J] [inst_4 : WellFoundedLT J] (j : J),
  (CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.functorToMonoOver hG A₀ J).obj j =
    CategoryTheory.MonoOver.mk
      (supTransfiniteIterate (CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.largerSubobject hG) j
          A₀).arrow

abbrev CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.functor E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {G : C} →
      [inst_1 : CategoryTheory.Abelian C] →
        CategoryTheory.IsSeparator G →
          {X : C} →
            [CategoryTheory.IsGrothendieckAbelian.{w, v, u} C] →
              CategoryTheory.Subobject X →
                (J : Type w) → [inst_3 : LinearOrder J] → [WellFoundedLT J] → CategoryTheory.Functor J C

The functor J ⥤ C induced by functorToMonoOver hG A₀ J : J ⥤ MonoOver X.

instance CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.instIsWellOrderContinuousFunctor E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {G : C} [inst_1 : CategoryTheory.Abelian C]
  (hG : CategoryTheory.IsSeparator G) {X : C} [inst_2 : CategoryTheory.IsGrothendieckAbelian.{w, v, u} C]
  (A₀ : CategoryTheory.Subobject X) (J : Type w) [inst_3 : LinearOrder J] [inst_4 : WellFoundedLT J],
  (CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.functor hG A₀ J).IsWellOrderContinuous

def CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.transfiniteCompositionOfShapeMapFromBot E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {G : C} →
      [inst_1 : CategoryTheory.Abelian C] →
        (hG : CategoryTheory.IsSeparator G) →
          {X : C} →
            [inst_2 : CategoryTheory.IsGrothendieckAbelian.{w, v, u} C] →
              (A₀ : CategoryTheory.Subobject X) →
                {J : Type w} →
                  [inst_3 : LinearOrder J] →
                    [inst_4 : WellFoundedLT J] →
                      [inst_5 : OrderBot J] →
                        [inst_6 : SuccOrder J] →
                          (j : J) →
                            (CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms
                                    G).pushouts.TransfiniteCompositionOfShape
                              (↑(Set.Iic j))
                              ((CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.functor hG A₀ J).map
                                (CategoryTheory.homOfLE ⋯))

For any j, the map (functor hG A₀ J).map (homOfLE bot_le : ⊥ ⟶ j) is a transfinite composition of pushouts of monomorphisms in the family generatingMonomorphisms G.

def CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.transfiniteCompositionOfShapeOfEqTop E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    {G : C} →
      [inst_1 : CategoryTheory.Abelian C] →
        (hG : CategoryTheory.IsSeparator G) →
          {X : C} →
            [inst_2 : CategoryTheory.IsGrothendieckAbelian.{w, v, u} C] →
              {A : C} →
                {f : A ⟶ X} →
                  [inst_3 : CategoryTheory.Mono f] →
                    {J : Type w} →
                      [inst_4 : LinearOrder J] →
                        [inst_5 : OrderBot J] →
                          [inst_6 : SuccOrder J] →
                            [inst_7 : WellFoundedLT J] →
                              {j : J} →
                                supTransfiniteIterate
                                      (CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.largerSubobject hG)
                                      j (CategoryTheory.Subobject.mk f) =
                                    ⊤ →
                                  (CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms
                                          G).pushouts.TransfiniteCompositionOfShape
                                    (↑(Set.Iic j)) f

If supTransfiniteIterate (largerSubobject hG) j (Subobject.mk f) = ⊤, then the monomorphism f is a transfinite composition of pushouts of monomorphisms in the family generatingMonomorphisms G.

theorem CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms.exists_transfiniteCompositionOfShape E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {G : C} [inst_1 : CategoryTheory.Abelian C],
  CategoryTheory.IsSeparator G →
    ∀ {X : C} [CategoryTheory.IsGrothendieckAbelian.{w, v, u} C] {A : C} (f : A ⟶ X) [CategoryTheory.Mono f],
      ∃ J x x_1 x_2,
        ∃ (x_3 : WellFoundedLT J),
          Nonempty
            ((CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms G).pushouts.TransfiniteCompositionOfShape J
              f)

Let C be a Grothendieck abelian category. Assume that G : C is a generator of C. Then, any morphism in C is a transfinite composition of pushouts of monomorphisms in the family generatingMonomorphisms G which consists of the inclusions of the subobjects of G.

theorem CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms_rlp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {G : C} [inst_1 : CategoryTheory.Abelian C]
  [CategoryTheory.IsGrothendieckAbelian.{w, v, u} C],
  CategoryTheory.IsSeparator G →
    (CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms G).rlp =
      (CategoryTheory.MorphismProperty.monomorphisms C).rlp

instance CategoryTheory.IsGrothendieckAbelian.instHasSmallObjectArgumentGeneratingMonomorphisms E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {G : C} [inst_1 : CategoryTheory.Abelian C]
  [CategoryTheory.IsGrothendieckAbelian.{w, v, u} C],
  (CategoryTheory.IsGrothendieckAbelian.generatingMonomorphisms G).HasSmallObjectArgument

theorem CategoryTheory.IsGrothendieckAbelian.llp_rlp_monomorphisms E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] {G : C} [inst_1 : CategoryTheory.Abelian C]
  [CategoryTheory.IsGrothendieckAbelian.{w, v, u} C],
  CategoryTheory.IsSeparator G →
    (CategoryTheory.MorphismProperty.monomorphisms C).rlp.llp = CategoryTheory.MorphismProperty.monomorphisms C

instance CategoryTheory.IsGrothendieckAbelian.instHasFunctorialFactorizationMonomorphismsRlp E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [CategoryTheory.IsGrothendieckAbelian.{w, v, u} C],
  (CategoryTheory.MorphismProperty.monomorphisms C).HasFunctorialFactorization
    (CategoryTheory.MorphismProperty.monomorphisms C).rlp

abbrev CategoryTheory.IsGrothendieckAbelian.monoMapFactorizationDataRlp E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [CategoryTheory.IsGrothendieckAbelian.{w, v, u} C] →
        {X Y : C} →
          (f : X ⟶ Y) →
            (CategoryTheory.MorphismProperty.monomorphisms C).MapFactorizationData
              (CategoryTheory.MorphismProperty.monomorphisms C).rlp f

A (functorial) factorization of any morphisms in a Grothendieck abelian category as a monomorphism followed by a morphism which has the right lifting property with respect to all monomorphisms.

instance CategoryTheory.IsGrothendieckAbelian.instMonoIMonomorphismsRlpMonoMapFactorizationDataRlp E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.IsGrothendieckAbelian.{w, v, u} C] {X Y : C} (f : X ⟶ Y),
  CategoryTheory.Mono (CategoryTheory.IsGrothendieckAbelian.monoMapFactorizationDataRlp f).i

instance CategoryTheory.IsGrothendieckAbelian.instInjectiveZMonomorphismsRlpMonoMapFactorizationDataRlpOfNatHom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.IsGrothendieckAbelian.{w, v, u} C] {X : C},
  CategoryTheory.Injective (CategoryTheory.IsGrothendieckAbelian.monoMapFactorizationDataRlp 0).Z

instance CategoryTheory.IsGrothendieckAbelian.enoughInjectives E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [CategoryTheory.IsGrothendieckAbelian.{w, v, u} C], CategoryTheory.EnoughInjectives C

A Grothendieck abelian category has enough injectives.