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 / V28. Algebraic geometry

Mathlib.Topology.Sheaves.CommRingCat

46 declarations. Mathlib docs · Source

Sheaves of (commutative) rings.

Results specific to sheaves of commutative rings including sheaves of continuous functions TopCat.continuousFunctions with natural operations of pullback and map and sub, quotient, and localization operations on sheaves of rings with

  • SubmonoidPresheaf : A subpresheaf with a submonoid structure on each of the components.
  • LocalizationPresheaf : The localization of a presheaf of commrings at a SubmonoidPresheaf.
  • TotalQuotientPresheaf : The presheaf of total quotient rings.

As more results accumulate, please consider splitting this file.

References

  • https://stacks.math.columbia.edu/tag/0073

As an example, we now have everything we need to check the sheaf condition for a presheaf of commutative rings, merely by checking the sheaf condition for the underlying sheaf of types.

Note that the universes for TopCat and CommRingCat must be the same for this argument to go through.

def TopCat.Presheaf.SubmonoidPresheaf.ctorIdx E1 #

{X : TopCat} → {F : TopCat.Presheaf CommRingCat X} → F.SubmonoidPresheaf → ℕ

theorem TopCat.Presheaf.SubmonoidPresheaf.mk.injEq E0 #

∀ {X : TopCat} {F : TopCat.Presheaf CommRingCat X} (obj : (U : (TopologicalSpace.Opens ↑X)ᵒᵖ) → Submonoid ↑(F.obj U))
  (map :
    ∀ {U V : (TopologicalSpace.Opens ↑X)ᵒᵖ} (i : U ⟶ V),
      obj U ≤ Submonoid.comap (CommRingCat.Hom.hom (F.map i)) (obj V))
  (obj_1 : (U : (TopologicalSpace.Opens ↑X)ᵒᵖ) → Submonoid ↑(F.obj U))
  (map_1 :
    ∀ {U V : (TopologicalSpace.Opens ↑X)ᵒᵖ} (i : U ⟶ V),
      obj_1 U ≤ Submonoid.comap (CommRingCat.Hom.hom (F.map i)) (obj_1 V)),
  ({ obj := obj, map := map } = { obj := obj_1, map := map_1 }) = (obj = obj_1)

theorem TopCat.Presheaf.SubmonoidPresheaf.mk.inj E1 #

∀ {X : TopCat} {F : TopCat.Presheaf CommRingCat X} {obj : (U : (TopologicalSpace.Opens ↑X)ᵒᵖ) → Submonoid ↑(F.obj U)}
  {map :
    ∀ {U V : (TopologicalSpace.Opens ↑X)ᵒᵖ} (i : U ⟶ V),
      obj U ≤ Submonoid.comap (CommRingCat.Hom.hom (F.map i)) (obj V)}
  {obj_1 : (U : (TopologicalSpace.Opens ↑X)ᵒᵖ) → Submonoid ↑(F.obj U)}
  {map_1 :
    ∀ {U V : (TopologicalSpace.Opens ↑X)ᵒᵖ} (i : U ⟶ V),
      obj_1 U ≤ Submonoid.comap (CommRingCat.Hom.hom (F.map i)) (obj_1 V)},
  { obj := obj, map := map } = { obj := obj_1, map := map_1 } → obj = obj_1

theorem TopCat.Presheaf.restrictOpenCommRingCat_apply E0 #

∀ {X : TopCat} {F : TopCat.Presheaf CommRingCat X} {V : TopologicalSpace.Opens ↑X} (f : ↑(F.obj (Opposite.op V)))
  (U : TopologicalSpace.Opens ↑X) (e : autoParam (U ≤ V) TopCat.Presheaf.restrictOpenCommRingCat_apply._auto_1),
  TopCat.Presheaf.restrictOpen f U e = (CategoryTheory.ConcreteCategory.hom (F.map (CategoryTheory.homOfLE e).op)) f

Unfold restrictOpen in the category of commutative rings (with the correct carrier type).

Although unification hints help with applying TopCat.Presheaf.restrictOpenCommRingCat, so it can be safely de-specialized, this lemma needs to be kept to ensure rewrites go right.

structure TopCat.Presheaf.SubmonoidPresheaf E1 #

{X : TopCat} → TopCat.Presheaf CommRingCat X → Type (max u_1 w)

A subpresheaf with a submonoid structure on each of the components.

ctor TopCat.Presheaf.SubmonoidPresheaf.mk E0 #

{X : TopCat} →
  {F : TopCat.Presheaf CommRingCat X} →
    (obj : (U : (TopologicalSpace.Opens ↑X)ᵒᵖ) → Submonoid ↑(F.obj U)) →
      (∀ {U V : (TopologicalSpace.Opens ↑X)ᵒᵖ} (i : U ⟶ V),
          obj U ≤ Submonoid.comap (CommRingCat.Hom.hom (F.map i)) (obj V)) →
        F.SubmonoidPresheaf

abbrev TopCat.Presheaf.SubmonoidPresheaf.obj E1 #

{X : TopCat} →
  {F : TopCat.Presheaf CommRingCat X} → F.SubmonoidPresheaf → (U : (TopologicalSpace.Opens ↑X)ᵒᵖ) → Submonoid ↑(F.obj U)

The submonoid structure for each component

theorem TopCat.Presheaf.SubmonoidPresheaf.map E1 #

∀ {X : TopCat} {F : TopCat.Presheaf CommRingCat X} (self : F.SubmonoidPresheaf) {U V : (TopologicalSpace.Opens ↑X)ᵒᵖ}
  (i : U ⟶ V), self.obj U ≤ Submonoid.comap (CommRingCat.Hom.hom (F.map i)) (self.obj V)

def TopCat.Presheaf.SubmonoidPresheaf.localizationPresheaf E1 #

{X : TopCat} → {F : TopCat.Presheaf CommRingCat X} → F.SubmonoidPresheaf → TopCat.Presheaf CommRingCat X

The localization of a presheaf of CommRings with respect to a SubmonoidPresheaf.

instance TopCat.Presheaf.instAlgebraCarrierObjOppositeOpensCarrierCommRingCatLocalizationPresheaf E0 #

{X : TopCat} →
  {F : TopCat.Presheaf CommRingCat X} →
    (G : F.SubmonoidPresheaf) → (U : (TopologicalSpace.Opens ↑X)ᵒᵖ) → Algebra ↑(F.obj U) ↑(G.localizationPresheaf.obj U)

instance TopCat.Presheaf.instIsLocalizationCarrierObjOppositeOpensCarrierCommRingCatObjLocalizationPresheaf E0 #

∀ {X : TopCat} {F : TopCat.Presheaf CommRingCat X} (G : F.SubmonoidPresheaf) (U : (TopologicalSpace.Opens ↑X)ᵒᵖ),
  IsLocalization (G.obj U) ↑(G.localizationPresheaf.obj U)

def TopCat.Presheaf.SubmonoidPresheaf.toLocalizationPresheaf E1 #

{X : TopCat} → {F : TopCat.Presheaf CommRingCat X} → (G : F.SubmonoidPresheaf) → F ⟶ G.localizationPresheaf

The map into the localization presheaf.

theorem TopCat.Presheaf.SubmonoidPresheaf.toLocalizationPresheaf_app E0 #

∀ {X : TopCat} {F : TopCat.Presheaf CommRingCat X} (G : F.SubmonoidPresheaf) (U : (TopologicalSpace.Opens ↑X)ᵒᵖ),
  G.toLocalizationPresheaf.app U = CommRingCat.ofHom (algebraMap (↑(F.obj U)) (Localization (G.obj U)))

instance TopCat.Presheaf.epi_toLocalizationPresheaf E0 #

∀ {X : TopCat} {F : TopCat.Presheaf CommRingCat X} (G : F.SubmonoidPresheaf),
  CategoryTheory.Epi G.toLocalizationPresheaf

def TopCat.Presheaf.submonoidPresheafOfStalk E1 #

{X : TopCat} → (F : TopCat.Presheaf CommRingCat X) → ((x : ↑X) → Submonoid ↑(F.stalk x)) → F.SubmonoidPresheaf

Given a submonoid at each of the stalks, we may define a submonoid presheaf consisting of sections whose restriction onto each stalk falls in the given submonoid.

theorem TopCat.Presheaf.submonoidPresheafOfStalk_obj E0 #

∀ {X : TopCat} (F : TopCat.Presheaf CommRingCat X) (S : (x : ↑X) → Submonoid ↑(F.stalk x))
  (U : (TopologicalSpace.Opens ↑X)ᵒᵖ),
  (F.submonoidPresheafOfStalk S).obj U =
    ⨅ x, Submonoid.comap (CommRingCat.Hom.hom (F.germ (Opposite.unop U) ↑x ⋯)) (S ↑x)

instance TopCat.Presheaf.instInhabitedSubmonoidPresheaf E0 #

{X : TopCat} → (F : TopCat.Presheaf CommRingCat X) → Inhabited F.SubmonoidPresheaf

def TopCat.Presheaf.totalQuotientPresheaf E1 #

{X : TopCat} → TopCat.Presheaf CommRingCat X → TopCat.Presheaf CommRingCat X

The localization of a presheaf of CommRings at locally non-zero-divisor sections.

def TopCat.Presheaf.toTotalQuotientPresheaf E1 #

{X : TopCat} → (F : TopCat.Presheaf CommRingCat X) → F ⟶ F.totalQuotientPresheaf

The map into the presheaf of total quotient rings

instance TopCat.Presheaf.instEpiCommRingCatToTotalQuotientPresheaf E0 #

∀ {X : TopCat} (F : TopCat.Presheaf CommRingCat X), CategoryTheory.Epi F.toTotalQuotientPresheaf

instance TopCat.Presheaf.instMonoCommRingCatToTotalQuotientPresheafPresheaf E0 #

∀ {X : TopCat} (F : TopCat.Sheaf CommRingCat X), CategoryTheory.Mono F.presheaf.toTotalQuotientPresheaf

instance TopCat.instNatCastHomObjTopCommRingCatForget₂SubtypeRingHomαContinuousCoeContinuousMapCarrier E0 #

(X : TopCat) → (R : TopCommRingCat) → NatCast (X ⟶ (CategoryTheory.forget₂ TopCommRingCat TopCat).obj R)

instance TopCat.instIntCastHomObjTopCommRingCatForget₂SubtypeRingHomαContinuousCoeContinuousMapCarrier E0 #

(X : TopCat) → (R : TopCommRingCat) → IntCast (X ⟶ (CategoryTheory.forget₂ TopCommRingCat TopCat).obj R)

instance TopCat.instZeroHomObjTopCommRingCatForget₂SubtypeRingHomαContinuousCoeContinuousMapCarrier E0 #

(X : TopCat) → (R : TopCommRingCat) → Zero (X ⟶ (CategoryTheory.forget₂ TopCommRingCat TopCat).obj R)

instance TopCat.instOneHomObjTopCommRingCatForget₂SubtypeRingHomαContinuousCoeContinuousMapCarrier E0 #

(X : TopCat) → (R : TopCommRingCat) → One (X ⟶ (CategoryTheory.forget₂ TopCommRingCat TopCat).obj R)

instance TopCat.instNegHomObjTopCommRingCatForget₂SubtypeRingHomαContinuousCoeContinuousMapCarrier E0 #

(X : TopCat) → (R : TopCommRingCat) → Neg (X ⟶ (CategoryTheory.forget₂ TopCommRingCat TopCat).obj R)

instance TopCat.instSubHomObjTopCommRingCatForget₂SubtypeRingHomαContinuousCoeContinuousMapCarrier E0 #

(X : TopCat) → (R : TopCommRingCat) → Sub (X ⟶ (CategoryTheory.forget₂ TopCommRingCat TopCat).obj R)

instance TopCat.instAddHomObjTopCommRingCatForget₂SubtypeRingHomαContinuousCoeContinuousMapCarrier E0 #

(X : TopCat) → (R : TopCommRingCat) → Add (X ⟶ (CategoryTheory.forget₂ TopCommRingCat TopCat).obj R)

instance TopCat.instMulHomObjTopCommRingCatForget₂SubtypeRingHomαContinuousCoeContinuousMapCarrier E0 #

(X : TopCat) → (R : TopCommRingCat) → Mul (X ⟶ (CategoryTheory.forget₂ TopCommRingCat TopCat).obj R)

instance TopCat.instSMulNatHomObjTopCommRingCatForget₂SubtypeRingHomαContinuousCoeContinuousMapCarrier E0 #

(X : TopCat) → (R : TopCommRingCat) → SMul ℕ (X ⟶ (CategoryTheory.forget₂ TopCommRingCat TopCat).obj R)

instance TopCat.instSMulIntHomObjTopCommRingCatForget₂SubtypeRingHomαContinuousCoeContinuousMapCarrier E0 #

(X : TopCat) → (R : TopCommRingCat) → SMul ℤ (X ⟶ (CategoryTheory.forget₂ TopCommRingCat TopCat).obj R)

instance TopCat.instPowHomObjTopCommRingCatForget₂SubtypeRingHomαContinuousCoeContinuousMapCarrierNat E0 #

(X : TopCat) → (R : TopCommRingCat) → Pow (X ⟶ (CategoryTheory.forget₂ TopCommRingCat TopCat).obj R) ℕ

instance TopCat.instCommRingHomObjTopCommRingCatForget₂SubtypeRingHomαContinuousCoeContinuousMapCarrier E0 #

(X : TopCat) → (R : TopCommRingCat) → CommRing (X ⟶ (CategoryTheory.forget₂ TopCommRingCat TopCat).obj R)

def TopCat.continuousFunctions E1 #

TopCatᵒᵖ → TopCommRingCat → CommRingCat

The (bundled) commutative ring of continuous functions from a topological space to a topological commutative ring, with pointwise multiplication.

def TopCat.continuousFunctions.pullback E1 #

{X Y : TopCatᵒᵖ} → (X ⟶ Y) → (R : TopCommRingCat) → TopCat.continuousFunctions X R ⟶ TopCat.continuousFunctions Y R

Pulling back functions into a topological ring along a continuous map is a ring homomorphism.

def TopCat.continuousFunctions.map E1 #

(X : TopCatᵒᵖ) → {R S : TopCommRingCat} → (R ⟶ S) → (TopCat.continuousFunctions X R ⟶ TopCat.continuousFunctions X S)

A homomorphism of topological rings can be postcomposed with functions from a source space X; this is a ring homomorphism (with respect to the pointwise ring operations on functions).

def TopCat.commRingYoneda E1 #

CategoryTheory.Functor TopCommRingCat (CategoryTheory.Functor TopCatᵒᵖ CommRingCat)

An upgraded version of the Yoneda embedding, observing that the continuous maps from X : TopCat to R : TopCommRingCat form a commutative ring, functorial in both X and R.

def TopCat.presheafToTopCommRing E1 #

(X : TopCat) → TopCommRingCat → TopCat.Presheaf CommRingCat X

The presheaf (of commutative rings), consisting of functions on an open set U ⊆ X with values in some topological commutative ring T.

For example, we could construct the presheaf of continuous complex-valued functions of X as

presheafToTopCommRing X (TopCommRingCat.of ℂ)

(this requires import Topology.Instances.Complex).

instance TopCat.Presheaf.algebra_section_stalk E0 #

{X : TopCat} →
  (F : TopCat.Presheaf CommRingCat X) →
    {U : TopologicalSpace.Opens ↑X} → (x : ↥U) → Algebra ↑(F.obj (Opposite.op U)) ↑(F.stalk ↑x)

theorem TopCat.Presheaf.stalk_open_algebraMap E0 #

∀ {X : TopCat} (F : TopCat.Presheaf CommRingCat X) {U : TopologicalSpace.Opens ↑X} (x : ↥U),
  algebraMap ↑(F.obj (Opposite.op U)) ↑(F.stalk ↑x) = CommRingCat.Hom.hom (F.germ U ↑x ⋯)

def TopCat.Sheaf.objSupIsoProdEqLocus E1 #

{X : TopCat} →
  (F : TopCat.Sheaf CommRingCat X) →
    (U V : TopologicalSpace.Opens ↑X) →
      F.obj.obj (Opposite.op (U ⊔ V)) ≅
        ↧↥(((CommRingCat.Hom.hom (F.obj.map (CategoryTheory.homOfLE ⋯).op)).comp
                  (RingHom.fst ↑(F.obj.obj (Opposite.op U)) ↑(F.obj.obj (Opposite.op V)))).eqLocus
              ((CommRingCat.Hom.hom (F.obj.map (CategoryTheory.homOfLE ⋯).op)).comp
                (RingHom.snd ↑(F.obj.obj (Opposite.op U)) ↑(F.obj.obj (Opposite.op V)))))

F(U ⊔ V) is isomorphic to the eq_locus of the two maps F(U) × F(V) ⟶ F(U ⊓ V).

theorem TopCat.Sheaf.objSupIsoProdEqLocus_hom_fst E1 #

∀ {X : TopCat} (F : TopCat.Sheaf CommRingCat X) (U V : TopologicalSpace.Opens ↑X)
  (x : ↑(F.obj.obj (Opposite.op (U ⊔ V)))),
  (↑((CategoryTheory.ConcreteCategory.hom (F.objSupIsoProdEqLocus U V).hom) x)).1 =
    (CategoryTheory.ConcreteCategory.hom (F.obj.map (CategoryTheory.homOfLE ⋯).op)) x

theorem TopCat.Sheaf.objSupIsoProdEqLocus_hom_snd E1 #

∀ {X : TopCat} (F : TopCat.Sheaf CommRingCat X) (U V : TopologicalSpace.Opens ↑X)
  (x : ↑(F.obj.obj (Opposite.op (U ⊔ V)))),
  (↑((CategoryTheory.ConcreteCategory.hom (F.objSupIsoProdEqLocus U V).hom) x)).2 =
    (CategoryTheory.ConcreteCategory.hom (F.obj.map (CategoryTheory.homOfLE ⋯).op)) x

theorem TopCat.Sheaf.objSupIsoProdEqLocus_inv_fst E1 #

∀ {X : TopCat} (F : TopCat.Sheaf CommRingCat X) (U V : TopologicalSpace.Opens ↑X)
  (x :
    ↑↧↥(((CommRingCat.Hom.hom (F.obj.map (CategoryTheory.homOfLE ⋯).op)).comp
                (RingHom.fst ↑(F.obj.obj (Opposite.op U)) ↑(F.obj.obj (Opposite.op V)))).eqLocus
            ((CommRingCat.Hom.hom (F.obj.map (CategoryTheory.homOfLE ⋯).op)).comp
              (RingHom.snd ↑(F.obj.obj (Opposite.op U)) ↑(F.obj.obj (Opposite.op V)))))),
  (CategoryTheory.ConcreteCategory.hom (F.obj.map (CategoryTheory.homOfLE ⋯).op))
      ((CategoryTheory.ConcreteCategory.hom (F.objSupIsoProdEqLocus U V).inv) x) =
    (↑x).1

theorem TopCat.Sheaf.objSupIsoProdEqLocus_inv_snd E1 #

∀ {X : TopCat} (F : TopCat.Sheaf CommRingCat X) (U V : TopologicalSpace.Opens ↑X)
  (x :
    ↑↧↥(((CommRingCat.Hom.hom (F.obj.map (CategoryTheory.homOfLE ⋯).op)).comp
                (RingHom.fst ↑(F.obj.obj (Opposite.op U)) ↑(F.obj.obj (Opposite.op V)))).eqLocus
            ((CommRingCat.Hom.hom (F.obj.map (CategoryTheory.homOfLE ⋯).op)).comp
              (RingHom.snd ↑(F.obj.obj (Opposite.op U)) ↑(F.obj.obj (Opposite.op V)))))),
  (CategoryTheory.ConcreteCategory.hom (F.obj.map (CategoryTheory.homOfLE ⋯).op))
      ((CategoryTheory.ConcreteCategory.hom (F.objSupIsoProdEqLocus U V).inv) x) =
    (↑x).2

theorem TopCat.Sheaf.objSupIsoProdEqLocus_inv_eq_iff E0 #

∀ {X : TopCat} (F : TopCat.Sheaf CommRingCat X) {U V W UW VW : TopologicalSpace.Opens ↑X} (e : W ≤ U ⊔ V)
  (x :
    ↑↧↥(((CommRingCat.Hom.hom (F.obj.map (CategoryTheory.homOfLE ⋯).op)).comp
                (RingHom.fst ↑(F.obj.obj (Opposite.op U)) ↑(F.obj.obj (Opposite.op V)))).eqLocus
            ((CommRingCat.Hom.hom (F.obj.map (CategoryTheory.homOfLE ⋯).op)).comp
              (RingHom.snd ↑(F.obj.obj (Opposite.op U)) ↑(F.obj.obj (Opposite.op V))))))
  (y : ↑(F.obj.obj (Opposite.op W))) (h₁ : UW = U ⊓ W) (h₂ : VW = V ⊓ W),
  (CategoryTheory.ConcreteCategory.hom (F.obj.map (CategoryTheory.homOfLE e).op))
        ((CategoryTheory.ConcreteCategory.hom (F.objSupIsoProdEqLocus U V).inv) x) =
      y ↔
    (CategoryTheory.ConcreteCategory.hom (F.obj.map (CategoryTheory.homOfLE ⋯).op)) (↑x).1 =
        (CategoryTheory.ConcreteCategory.hom (F.obj.map (CategoryTheory.homOfLE ⋯).op)) y ∧
      (CategoryTheory.ConcreteCategory.hom (F.obj.map (CategoryTheory.homOfLE ⋯).op)) (↑x).2 =
        (CategoryTheory.ConcreteCategory.hom (F.obj.map (CategoryTheory.homOfLE ⋯).op)) y