Module

FilteredColimit.lean

Nyll.SchemeTheory.RingTheory.LocalRing.FilteredColimit
7 declarations indexed from sourceView source ↗

Local rings and residue fields of actual filtered colimits

All constructions use the supplied commutative-ring cocone and its original maps. Units lift to a later stage, so local transition maps make the original cocone maps local. The actual colimit of local rings is local, and its native residue field is the colimit of the native stage residue fields.

Imports4
  • Mathlib.Algebra.Category.Ring.FilteredColimits
  • Mathlib.Algebra.Category.Ring.Colimits
  • Mathlib.CategoryTheory.Limits.Types.Filtered
  • Mathlib.RingTheory.LocalRing.ResidueField.Basic
Imported by4

Declarations

CommRingCat.isUnit_ι_iff_of_isColimit

A unit in the actual filtered colimit is already a unit after an actual transition from its specified stage.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits
namespace CommRingCat
variable {I : Type u} [SmallCategory I] [IsFiltered I]
theorem isUnit_ι_iff_of_isColimit (D : I ⥤ CommRingCat.{u})
    (c : Cocone D) (hc : IsColimit c) (i : I) (x : D.obj i) :
    IsUnit (c.ι.app i x) ↔ ∃ (j : I) (f : i ⟶ j), IsUnit (D.map f x)
CommRingCat.isLocalHom_ι_of_isColimit

The original maps into a filtered colimit reflect units whenever the original transition maps do. No alternate colimit is introduced.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits
namespace CommRingCat
variable {I : Type u} [SmallCategory I] [IsFiltered I]
theorem isLocalHom_ι_of_isColimit (D : I ⥤ CommRingCat.{u})
    (c : Cocone D) (hc : IsColimit c)
    (hlocal : ∀ {i j : I} (f : i ⟶ j), IsLocalHom (D.map f).hom) (i : I) :
    IsLocalHom (c.ι.app i).hom
CommRingCat.isLocalRing_of_isColimit

The actual filtered colimit of local commutative rings is local. Locality of transition maps is needed for the legs, but not for this assertion.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits
namespace CommRingCat
variable {I : Type u} [SmallCategory I] [IsFiltered I]
theorem isLocalRing_of_isColimit (D : I ⥤ CommRingCat.{u})
    [∀ i, IsLocalRing (D.obj i)] (c : Cocone D) (hc : IsColimit c) :
    IsLocalRing c.pt
CommRingCat.isLocalHom_of_isColimits

A natural diagram of local maps induces a local map on the original colimits, with the supplied actual comparison triangles.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits
namespace CommRingCat
variable {I : Type u} [SmallCategory I] [IsFiltered I]
theorem isLocalHom_of_isColimits
    (A B : I ⥤ CommRingCat.{u}) (φ : A ⟶ B)
    (cA : Cocone A) (cB : Cocone B) (hA : IsColimit cA) (hB : IsColimit cB)
    (f : cA.pt ⟶ cB.pt)
    (hf : ∀ i, cA.ι.app i ≫ f = φ.app i ≫ cB.ι.app i)
    (hBlocal : ∀ {i j : I} (t : i ⟶ j), IsLocalHom (B.map t).hom)
    (hφlocal : ∀ i, IsLocalHom (φ.app i).hom) : IsLocalHom f.hom
CommRingCat.localResidueDiagram

The diagram of the actual native residue fields.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits
namespace CommRingCat
variable {I : Type u} [SmallCategory I] [IsFiltered I]
variable (D : I ⥤ CommRingCat.{u}) [∀ i, IsLocalRing (D.obj i)]
  (hlocal : ∀ {i j : I} (f : i ⟶ j), IsLocalHom (D.map f).hom)
def localResidueDiagram : I ⥤ CommRingCat.{u} where
  obj i := CommRingCat.of (IsLocalRing.ResidueField (D.obj i))
  map f :=
    let : IsLocalHom (D.map f).hom := hlocal f
    CommRingCat.ofHom (IsLocalRing.ResidueField.map (D.map f).hom)
  map_id i := by
    apply CommRingCat.hom_ext
    apply RingHom.ext
    intro x
    obtain ⟨x, rfl⟩ := IsLocalRing.residue_surjective x
    change IsLocalRing.residue (D.obj i) (D.map (𝟙 i) x) =
      IsLocalRing.residue (D.obj i) x
    exact congrArg (IsLocalRing.residue (D.obj i))
      (ConcreteCategory.congr_hom (D.map_id i) x)
  map_comp {i j k} f g := by
    apply CommRingCat.hom_ext
    apply RingHom.ext
    intro x
    obtain ⟨x, rfl⟩ := IsLocalRing.residue_surjective x
    change IsLocalRing.residue (D.obj k) (D.map (f ≫ g) x) =
      IsLocalRing.residue (D.obj k) (D.map g (D.map f x))
    exact congrArg (IsLocalRing.residue (D.obj k))
      (ConcreteCategory.congr_hom (D.map_comp f g) x)
CommRingCat.localResidueCocone

The residue cocone uses the original local cocone maps.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits
namespace CommRingCat
variable {I : Type u} [SmallCategory I] [IsFiltered I]
variable (D : I ⥤ CommRingCat.{u}) [∀ i, IsLocalRing (D.obj i)]
  (hlocal : ∀ {i j : I} (f : i ⟶ j), IsLocalHom (D.map f).hom)
variable (c : Cocone D) (hc : IsColimit c) [IsLocalRing c.pt]
def localResidueCocone : Cocone (localResidueDiagram D hlocal) where
  pt := CommRingCat.of (IsLocalRing.ResidueField c.pt)
  ι :=
    { app i :=
        let : IsLocalHom (c.ι.app i).hom := isLocalHom_ι_of_isColimit D c hc hlocal i
        CommRingCat.ofHom (IsLocalRing.ResidueField.map (c.ι.app i).hom)
      naturality i j f := by
        apply CommRingCat.hom_ext
        apply RingHom.ext
        intro x
        obtain ⟨x, rfl⟩ := IsLocalRing.residue_surjective x
        change IsLocalRing.residue c.pt (c.ι.app j (D.map f x)) =
          IsLocalRing.residue c.pt (c.ι.app i x)
        exact congrArg (IsLocalRing.residue c.pt) (ConcreteCategory.congr_hom (c.w f) x) }
CommRingCat.localResidueCoconeIsColimit

The native residue field of the actual local colimit is the colimit of the native stage residue fields, with their original transition maps.

Source context 8 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits
namespace CommRingCat
variable {I : Type u} [SmallCategory I] [IsFiltered I]
variable (D : I ⥤ CommRingCat.{u}) [∀ i, IsLocalRing (D.obj i)]
  (hlocal : ∀ {i j : I} (f : i ⟶ j), IsLocalHom (D.map f).hom)
variable (c : Cocone D) (hc : IsColimit c) [IsLocalRing c.pt]
def localResidueCoconeIsColimit : IsColimit (localResidueCocone D hlocal c hc)