Module

UnitStalks.lean

Nyll.SchemeTheory.Sheaves.UnitStalks
9 declarations indexed from sourceView source ↗

Units commute with the actual stalk construction

Both an element and its inverse descend to a common stage of the filtered diagram. The inverse identity then descends to a refinement. This compares actual stalks of unit presheaves with units of ring stalks.

Imports7
  • Mathlib.Algebra.Category.Grp.Adjunctions
  • Mathlib.Algebra.Category.Grp.EquivalenceGroupAddGroup
  • Mathlib.Algebra.Category.Grp.Colimits
  • Mathlib.Algebra.Category.Grp.FilteredColimits
  • Mathlib.Algebra.Category.Ring.Colimits
  • Mathlib.Algebra.Category.Ring.FilteredColimits
  • Mathlib.CategoryTheory.Sites.Point.Basic
Imported by5

Declarations

CategoryTheory.GrothendieckTopology.Point.additiveUnitsPresheaf

The unit presheaf of a ring presheaf, written additively.

Source context 6 commands

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

@[expose] public section
noncomputable section
open CategoryTheory CategoryTheory.Limits Opposite
namespace CategoryTheory.GrothendieckTopology.Point
universe u v
variable {C : Type v} [Category.{u} C] [LocallySmall.{u} C]
  {J : GrothendieckTopology C} (Φ : J.Point.{u}) (P : Cᵒᵖ ⥤ CommRingCat.{u})
def additiveUnitsPresheaf : Cᵒᵖ ⥤ AddCommGrpCat.{u}
CategoryTheory.GrothendieckTopology.Point.unitGerm

The unit homomorphism induced by a ring germ.

Source context 6 commands

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

@[expose] public section
noncomputable section
open CategoryTheory CategoryTheory.Limits Opposite
namespace CategoryTheory.GrothendieckTopology.Point
universe u v
variable {C : Type v} [Category.{u} C] [LocallySmall.{u} C]
  {J : GrothendieckTopology C} (Φ : J.Point.{u}) (P : Cᵒᵖ ⥤ CommRingCat.{u})
def unitGerm (W : C) (t : Φ.fiber.obj W) :
    (additiveUnitsPresheaf P).obj (op W) ⟶
      AddCommGrpCat.of
        (Additive ((Φ.presheafFiber (A := CommRingCat.{u})).obj P)ˣ)
CategoryTheory.GrothendieckTopology.Point.unitStalkMap

Canonical comparison from the stalk of units to units of the stalk.

Source context 6 commands

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

@[expose] public section
noncomputable section
open CategoryTheory CategoryTheory.Limits Opposite
namespace CategoryTheory.GrothendieckTopology.Point
universe u v
variable {C : Type v} [Category.{u} C] [LocallySmall.{u} C]
  {J : GrothendieckTopology C} (Φ : J.Point.{u}) (P : Cᵒᵖ ⥤ CommRingCat.{u})
def unitStalkMap :
    (Φ.presheafFiber (A := AddCommGrpCat.{u})).obj
      (additiveUnitsPresheaf P) ⟶
      AddCommGrpCat.of
        (Additive ((Φ.presheafFiber (A := CommRingCat.{u})).obj P)ˣ)
CategoryTheory.GrothendieckTopology.Point.unitStalkMap_germ

The comparison retains the literal homomorphism on unit germs.

Source context 7 commands

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

@[expose] public section
noncomputable section
open CategoryTheory CategoryTheory.Limits Opposite
namespace CategoryTheory.GrothendieckTopology.Point
universe u v
variable {C : Type v} [Category.{u} C] [LocallySmall.{u} C]
  {J : GrothendieckTopology C} (Φ : J.Point.{u}) (P : Cᵒᵖ ⥤ CommRingCat.{u})
omit [LocallySmall.{u} C] in
theorem unitStalkMap_germ (W : C) (t : Φ.fiber.obj W)
    (z : (additiveUnitsPresheaf P).obj (op W)) :
    unitStalkMap Φ P (Φ.toPresheafFiber W t (additiveUnitsPresheaf P) z) =
      unitGerm Φ P W t z
CategoryTheory.GrothendieckTopology.Point.unitStalkMap_injective

Equality of unit germs is detected in the ring stalk.

Source context 6 commands

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

@[expose] public section
noncomputable section
open CategoryTheory CategoryTheory.Limits Opposite
namespace CategoryTheory.GrothendieckTopology.Point
universe u v
variable {C : Type v} [Category.{u} C] [LocallySmall.{u} C]
  {J : GrothendieckTopology C} (Φ : J.Point.{u}) (P : Cᵒᵖ ⥤ CommRingCat.{u})
theorem unitStalkMap_injective : Function.Injective (unitStalkMap Φ P)
CategoryTheory.GrothendieckTopology.Point.unitStalkMap_surjective

A unit and its inverse, including their inverse relation, descend to one stage of the filtered stalk diagram.

Source context 6 commands

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

@[expose] public section
noncomputable section
open CategoryTheory CategoryTheory.Limits Opposite
namespace CategoryTheory.GrothendieckTopology.Point
universe u v
variable {C : Type v} [Category.{u} C] [LocallySmall.{u} C]
  {J : GrothendieckTopology C} (Φ : J.Point.{u}) (P : Cᵒᵖ ⥤ CommRingCat.{u})
theorem unitStalkMap_surjective : Function.Surjective (unitStalkMap Φ P)
CategoryTheory.GrothendieckTopology.Point.unitStalkEquiv

The actual stalk of the additive unit presheaf is the additive unit group of the actual ring stalk.

Source context 6 commands

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

@[expose] public section
noncomputable section
open CategoryTheory CategoryTheory.Limits Opposite
namespace CategoryTheory.GrothendieckTopology.Point
universe u v
variable {C : Type v} [Category.{u} C] [LocallySmall.{u} C]
  {J : GrothendieckTopology C} (Φ : J.Point.{u}) (P : Cᵒᵖ ⥤ CommRingCat.{u})
def unitStalkEquiv :
    (Φ.presheafFiber (A := AddCommGrpCat.{u})).obj
      (additiveUnitsPresheaf P) ≃+
      Additive ((Φ.presheafFiber (A := CommRingCat.{u})).obj P)ˣ
CategoryTheory.GrothendieckTopology.Point.additiveUnitsMap

The map on additive unit presheaves induced by an actual ring map.

Source context 6 commands

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

@[expose] public section
noncomputable section
open CategoryTheory CategoryTheory.Limits Opposite
namespace CategoryTheory.GrothendieckTopology.Point
universe u v
variable {C : Type v} [Category.{u} C] [LocallySmall.{u} C]
  {J : GrothendieckTopology C} (Φ : J.Point.{u}) (P : Cᵒᵖ ⥤ CommRingCat.{u})
def additiveUnitsMap {Q : Cᵒᵖ ⥤ CommRingCat.{u}} (f : P ⟶ Q) :
    additiveUnitsPresheaf P ⟶ additiveUnitsPresheaf Q where
  app W := AddCommGrpCat.ofHom
    (Units.map (f.app W).hom.toMonoidHom).toAdditive
  naturality W V g := by
    apply AddCommGrpCat.ext
    intro z
    apply Additive.toMul.injective
    apply Units.ext
    exact ConcreteCategory.congr_hom (f.naturality g) z.toMul.val
CategoryTheory.GrothendieckTopology.Point.unitStalkEquiv_naturality

The unit-stalk comparison intertwines the actual induced ring map; its compatibility is derived from the colimit germ maps.

Source context 6 commands

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

@[expose] public section
noncomputable section
open CategoryTheory CategoryTheory.Limits Opposite
namespace CategoryTheory.GrothendieckTopology.Point
universe u v
variable {C : Type v} [Category.{u} C] [LocallySmall.{u} C]
  {J : GrothendieckTopology C} (Φ : J.Point.{u}) (P : Cᵒᵖ ⥤ CommRingCat.{u})
theorem unitStalkEquiv_naturality {Q : Cᵒᵖ ⥤ CommRingCat.{u}} (f : P ⟶ Q)
    (x : (Φ.presheafFiber (A := AddCommGrpCat.{u})).obj
      (additiveUnitsPresheaf P)) :
    unitStalkEquiv Φ Q
      (((Φ.presheafFiber (A := AddCommGrpCat.{u})).map (additiveUnitsMap P f)) x) =
      (Units.map (((Φ.presheafFiber (A := CommRingCat.{u})).map f).hom.toMonoidHom)).toAdditive
        (unitStalkEquiv Φ P x)