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.Ring.FilteredColimitsLocal

20 declarations. Mathlib docs · Source

Filtered colimits of local rings via local homomorphisms are local rings

In this file, we deal with filtered colimits of local rings via local homomorphisms, proving that such a colimit is again local, with maximal ideal equal to the union of the images of the maximal ideals.

Since we currently don't have the category of local rings and local homomorphisms, some parts of this file are stated in an ad hoc way. For example, in the residue field related parts, we are not able to directly write that the residue field functor preserves colimits.

Main results

  • CommRingCat.FilteredColimit.isLocalRing_of_isColimit : a filtered colimit of local rings via local homomorphisms is a local ring.

  • CommRingCat.FilteredColimit.maximalIdeal_eq_iUnion_of_isColimit : the maximal ideal of a filtered colimit of local rings via local homomorphisms is the union of the images of the maximal ideals.

  • CommRingCat.FilteredColimit.isColimitResidueFieldCocone : the residue field of a filtered colimit of local rings via local homomorphisms is the colimit of the residue fields.

theorem IsLocalRing.ResidueField.congr_simp E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsLocalRing R], IsLocalRing.ResidueField R = IsLocalRing.ResidueField R

theorem CommRingCat.FilteredColimit.isLocalHom_ι E1 #

∀ {J : Type u} [inst : CategoryTheory.SmallCategory J] [CategoryTheory.IsFiltered J]
  (F : CategoryTheory.Functor J CommRingCat) {c : CategoryTheory.Limits.Cocone F}
  [h_hom : ∀ {j j' : J} (f : j ⟶ j'), IsLocalHom (CommRingCat.Hom.hom (F.map f))]
  (hc : CategoryTheory.Limits.IsColimit c) (j : J), IsLocalHom (CommRingCat.Hom.hom (c.ι.app j))

theorem CommRingCat.FilteredColimit.nonunits_eq_iUnion_of_isColimit E1 #

∀ {J : Type u} [inst : CategoryTheory.SmallCategory J] [CategoryTheory.IsFiltered J]
  (F : CategoryTheory.Functor J CommRingCat) {c : CategoryTheory.Limits.Cocone F}
  [h_hom : ∀ {j j' : J} (f : j ⟶ j'), IsLocalHom (CommRingCat.Hom.hom (F.map f))]
  (hc : CategoryTheory.Limits.IsColimit c),
  nonunits ↑c.pt = ⋃ j, ⇑(CategoryTheory.ConcreteCategory.hom (c.ι.app j)) '' nonunits ↑(F.obj j)

theorem CommRingCat.FilteredColimit.isLocalRing_of_isColimit E3 #

∀ {J : Type u} [inst : CategoryTheory.SmallCategory J] [CategoryTheory.IsFiltered J]
  (F : CategoryTheory.Functor J CommRingCat) {c : CategoryTheory.Limits.Cocone F}
  [h_hom : ∀ {j j' : J} (f : j ⟶ j'), IsLocalHom (CommRingCat.Hom.hom (F.map f))]
  [h_obj : ∀ (j : J), IsLocalRing ↑(F.obj j)] (hc : CategoryTheory.Limits.IsColimit c), IsLocalRing ↑c.pt

theorem CommRingCat.FilteredColimit.maximalIdeal_eq_iUnion_of_isColimit E3 #

∀ {J : Type u} [inst : CategoryTheory.SmallCategory J] [inst_1 : CategoryTheory.IsFiltered J]
  (F : CategoryTheory.Functor J CommRingCat) {c : CategoryTheory.Limits.Cocone F}
  [h_hom : ∀ {j j' : J} (f : j ⟶ j'), IsLocalHom (CommRingCat.Hom.hom (F.map f))]
  [h_obj : ∀ (j : J), IsLocalRing ↑(F.obj j)] (hc : CategoryTheory.Limits.IsColimit c),
  ↑(IsLocalRing.maximalIdeal ↑c.pt) =
    ⋃ j, ⇑(CategoryTheory.ConcreteCategory.hom (c.ι.app j)) '' ↑(IsLocalRing.maximalIdeal ↑(F.obj j))

theorem CommRingCat.FilteredColimit.maximalIdeal_eq_iSup_of_isColimit E1 #

∀ {J : Type u} [inst : CategoryTheory.SmallCategory J] [inst_1 : CategoryTheory.IsFiltered J]
  (F : CategoryTheory.Functor J CommRingCat) {c : CategoryTheory.Limits.Cocone F}
  [h_hom : ∀ {j j' : J} (f : j ⟶ j'), IsLocalHom (CommRingCat.Hom.hom (F.map f))]
  [h_obj : ∀ (j : J), IsLocalRing ↑(F.obj j)] (hc : CategoryTheory.Limits.IsColimit c),
  IsLocalRing.maximalIdeal ↑c.pt =
    ⨆ j, Ideal.map (CommRingCat.Hom.hom (c.ι.app j)) (IsLocalRing.maximalIdeal ↑(F.obj j))

instance CommRingCat.FilteredColimit.instIsLocalRingCarrierColimit E0 #

∀ {J : Type u} [inst : CategoryTheory.SmallCategory J] [CategoryTheory.IsFiltered J]
  (F : CategoryTheory.Functor J CommRingCat)
  [h_hom : ∀ {j j' : J} (f : j ⟶ j'), IsLocalHom (CommRingCat.Hom.hom (F.map f))]
  [h_obj : ∀ (j : J), IsLocalRing ↑(F.obj j)], IsLocalRing ↑(CategoryTheory.Limits.colimit F)

instance CommRingCat.FilteredColimit.instIsLocalHomCarrierObjColimitRingHomHomι E0 #

∀ {J : Type u} [inst : CategoryTheory.SmallCategory J] [CategoryTheory.IsFiltered J]
  (F : CategoryTheory.Functor J CommRingCat)
  [h_hom : ∀ {j j' : J} (f : j ⟶ j'), IsLocalHom (CommRingCat.Hom.hom (F.map f))] (j : J),
  IsLocalHom (CommRingCat.Hom.hom (CategoryTheory.Limits.colimit.ι F j))

theorem CommRingCat.FilteredColimit.residueField_exists_rep E1 #

∀ {J : Type u} [inst : CategoryTheory.SmallCategory J] [CategoryTheory.IsFiltered J]
  (F : CategoryTheory.Functor J CommRingCat) {c : CategoryTheory.Limits.Cocone F}
  [h_obj : ∀ (j : J), IsLocalRing ↑(F.obj j)] (hc : CategoryTheory.Limits.IsColimit c) [inst_2 : IsLocalRing ↑c.pt]
  [inst_3 : ∀ (j : J), IsLocalHom (CommRingCat.Hom.hom (c.ι.app j))] (x : IsLocalRing.ResidueField ↑c.pt),
  ∃ j y, x = (IsLocalRing.ResidueField.map (CommRingCat.Hom.hom (c.ι.app j))) y

theorem CommRingCat.FilteredColimit.residueField_eq_iUnion_fieldRange_of_isColimit E1 #

∀ {J : Type u} [inst : CategoryTheory.SmallCategory J] [CategoryTheory.IsFiltered J]
  (F : CategoryTheory.Functor J CommRingCat) {c : CategoryTheory.Limits.Cocone F}
  [h_obj : ∀ (j : J), IsLocalRing ↑(F.obj j)] (hc : CategoryTheory.Limits.IsColimit c) [inst_2 : IsLocalRing ↑c.pt]
  [inst_3 : ∀ (j : J), IsLocalHom (CommRingCat.Hom.hom (c.ι.app j))],
  ⋃ j, ↑(IsLocalRing.ResidueField.map (CommRingCat.Hom.hom (c.ι.app j))).fieldRange = Set.univ

def CommRingCat.FilteredColimit.residueFieldFunctor E1 #

{J : Type u} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J CommRingCat) →
      [h_obj : ∀ (j : J), IsLocalRing ↑(F.obj j)] →
        [h_hom : ∀ {j j' : J} (f : j ⟶ j'), IsLocalHom (CommRingCat.Hom.hom (F.map f))] →
          CategoryTheory.Functor J CommRingCat

The functor of taking residue fields from a functor F : J ⥤ CommRingCat, when the F.obj are local rings and F.map are local ring homomorphisms.

The purpose of this functor is to describe the residue field of colimit of local rings via local homomorphisms is colimit of the residue fields. It is currently only implemented on diagrams, since we don't have the category of local rings.

theorem CommRingCat.FilteredColimit.residueFieldFunctor_obj_carrier E0 #

∀ {J : Type u} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J CommRingCat)
  [h_obj : ∀ (j : J), IsLocalRing ↑(F.obj j)]
  [h_hom : ∀ {j j' : J} (f : j ⟶ j'), IsLocalHom (CommRingCat.Hom.hom (F.map f))] (j : J),
  ↑((CommRingCat.FilteredColimit.residueFieldFunctor F).obj j) = IsLocalRing.ResidueField ↑(F.obj j)

theorem CommRingCat.FilteredColimit.residueFieldFunctor_map E0 #

∀ {J : Type u} [inst : CategoryTheory.SmallCategory J] (F : CategoryTheory.Functor J CommRingCat)
  [h_obj : ∀ (j : J), IsLocalRing ↑(F.obj j)]
  [h_hom : ∀ {j j' : J} (f : j ⟶ j'), IsLocalHom (CommRingCat.Hom.hom (F.map f))] {X Y : J} (f : X ⟶ Y),
  (CommRingCat.FilteredColimit.residueFieldFunctor F).map f =
    CommRingCat.ofHom (IsLocalRing.ResidueField.map (CommRingCat.Hom.hom (F.map f)))

def CommRingCat.FilteredColimit.residueFieldCocone' E1 #

{J : Type u} →
  [inst : CategoryTheory.SmallCategory J] →
    (F : CategoryTheory.Functor J CommRingCat) →
      (c : CategoryTheory.Limits.Cocone F) →
        [h_obj : ∀ (j : J), IsLocalRing ↑(F.obj j)] →
          [h_hom : ∀ {j j' : J} (f : j ⟶ j'), IsLocalHom (CommRingCat.Hom.hom (F.map f))] →
            [c_pt : IsLocalRing ↑c.pt] →
              [c_ι : ∀ (j : J), IsLocalHom (CommRingCat.Hom.hom (c.ι.app j))] →
                CategoryTheory.Limits.Cocone (CommRingCat.FilteredColimit.residueFieldFunctor F)

The cocone of residue fields from a cocone of local homomorphisms between local rings.

def CommRingCat.FilteredColimit.residueFieldCocone E1 #

{J : Type u} →
  [inst : CategoryTheory.SmallCategory J] →
    [CategoryTheory.IsFiltered J] →
      (F : CategoryTheory.Functor J CommRingCat) →
        {c : CategoryTheory.Limits.Cocone F} →
          [h_obj : ∀ (j : J), IsLocalRing ↑(F.obj j)] →
            [h_hom : ∀ {j j' : J} (f : j ⟶ j'), IsLocalHom (CommRingCat.Hom.hom (F.map f))] →
              CategoryTheory.Limits.IsColimit c →
                CategoryTheory.Limits.Cocone (CommRingCat.FilteredColimit.residueFieldFunctor F)

The cocone of residue fields from a filtered colimit cocone of local homomorphisms between local rings.

def CommRingCat.FilteredColimit.isColimitResidueFieldCocone E3 #

{J : Type u} →
  [inst : CategoryTheory.SmallCategory J] →
    [inst_1 : CategoryTheory.IsFiltered J] →
      (F : CategoryTheory.Functor J CommRingCat) →
        {c : CategoryTheory.Limits.Cocone F} →
          [h_obj : ∀ (j : J), IsLocalRing ↑(F.obj j)] →
            [h_hom : ∀ {j j' : J} (f : j ⟶ j'), IsLocalHom (CommRingCat.Hom.hom (F.map f))] →
              (hc : CategoryTheory.Limits.IsColimit c) →
                CategoryTheory.Limits.IsColimit (CommRingCat.FilteredColimit.residueFieldCocone F hc)

For a filtered colimit cocone c of local homomorphisms between local rings, the residueFieldCocone constructed from c is also a colimit cocone, i.e. the residue field of colimit of local rings (and local homomorphisms) is a colimit of the residue field of these local rings.

theorem CommRingCat.FilteredColimit.isLocalHom_desc E1 #

∀ {J : Type u} [inst : CategoryTheory.SmallCategory J] [CategoryTheory.IsFiltered J]
  (F : CategoryTheory.Functor J CommRingCat) {c : CategoryTheory.Limits.Cocone F}
  [h_obj : ∀ (j : J), IsLocalRing ↑(F.obj j)]
  [h_hom : ∀ {j j' : J} (f : j ⟶ j'), IsLocalHom (CommRingCat.Hom.hom (F.map f))] (s : CategoryTheory.Limits.Cocone F)
  [s_pt : IsLocalRing ↑s.pt] [s_ι : ∀ (j : J), IsLocalHom (CommRingCat.Hom.hom (s.ι.app j))]
  (hc : CategoryTheory.Limits.IsColimit c), IsLocalHom (CommRingCat.Hom.hom (hc.desc s))

instance CommRingCat.FilteredColimit.instIsLocalHomCarrierColimitPtRingHomHomDesc E0 #

∀ {J : Type u} [inst : CategoryTheory.SmallCategory J] [CategoryTheory.IsFiltered J]
  (F : CategoryTheory.Functor J CommRingCat) [h_obj : ∀ (j : J), IsLocalRing ↑(F.obj j)]
  [h_hom : ∀ {j j' : J} (f : j ⟶ j'), IsLocalHom (CommRingCat.Hom.hom (F.map f))] (s : CategoryTheory.Limits.Cocone F)
  [s_pt : IsLocalRing ↑s.pt] [s_ι : ∀ (j : J), IsLocalHom (CommRingCat.Hom.hom (s.ι.app j))],
  IsLocalHom (CommRingCat.Hom.hom (CategoryTheory.Limits.colimit.desc F s))

theorem CommRingCat.FilteredColimit.residueField_map_desc_eq_isColimitResidueFieldCocone_desc E1 #

∀ {J : Type u} [inst : CategoryTheory.SmallCategory J] [inst_1 : CategoryTheory.IsFiltered J]
  (F : CategoryTheory.Functor J CommRingCat) {c : CategoryTheory.Limits.Cocone F}
  [h_obj : ∀ (j : J), IsLocalRing ↑(F.obj j)]
  [h_hom : ∀ {j j' : J} (f : j ⟶ j'), IsLocalHom (CommRingCat.Hom.hom (F.map f))] (s : CategoryTheory.Limits.Cocone F)
  [s_pt : IsLocalRing ↑s.pt] [s_ι : ∀ (j : J), IsLocalHom (CommRingCat.Hom.hom (s.ι.app j))]
  (hc : CategoryTheory.Limits.IsColimit c),
  (CommRingCat.FilteredColimit.isColimitResidueFieldCocone F hc).desc
      (CommRingCat.FilteredColimit.residueFieldCocone' F s) =
    CommRingCat.ofHom (IsLocalRing.ResidueField.map (CommRingCat.Hom.hom (hc.desc s)))

theorem CommRingCat.FilteredColimit.residueField_map_desc_eq_isColimitResidueFieldCocone_desc' E1 #

∀ {J : Type u} [inst : CategoryTheory.SmallCategory J] [inst_1 : CategoryTheory.IsFiltered J]
  (F : CategoryTheory.Functor J CommRingCat) {c : CategoryTheory.Limits.Cocone F}
  [h_obj : ∀ (j : J), IsLocalRing ↑(F.obj j)]
  [h_hom : ∀ {j j' : J} (f : j ⟶ j'), IsLocalHom (CommRingCat.Hom.hom (F.map f))] (s : CategoryTheory.Limits.Cocone F)
  [s_pt : IsLocalRing ↑s.pt] [s_ι : ∀ (j : J), IsLocalHom (CommRingCat.Hom.hom (s.ι.app j))]
  (hc : CategoryTheory.Limits.IsColimit c),
  CommRingCat.Hom.hom
      ((CommRingCat.FilteredColimit.isColimitResidueFieldCocone F hc).desc
        (CommRingCat.FilteredColimit.residueFieldCocone' F s)) =
    IsLocalRing.ResidueField.map (CommRingCat.Hom.hom (hc.desc s))