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.Geometry.RingedSpace.LocallyRingedSpace

109 declarations. Mathlib docs · Source

theorem AlgebraicGeometry.LocallyRingedSpace.mk.inj E1 #

∀ {toSheafedSpace : AlgebraicGeometry.SheafedSpace CommRingCat}
  {isLocalRing : ∀ (x : ↑↑toSheafedSpace.toPresheafedSpace), IsLocalRing ↑(toSheafedSpace.presheaf.stalk x)}
  {toSheafedSpace_1 : AlgebraicGeometry.SheafedSpace CommRingCat}
  {isLocalRing_1 : ∀ (x : ↑↑toSheafedSpace_1.toPresheafedSpace), IsLocalRing ↑(toSheafedSpace_1.presheaf.stalk x)},
  { toSheafedSpace := toSheafedSpace, isLocalRing := isLocalRing } =
      { toSheafedSpace := toSheafedSpace_1, isLocalRing := isLocalRing_1 } →
    toSheafedSpace = toSheafedSpace_1

theorem AlgebraicGeometry.LocallyRingedSpace.Hom.mk.injEq E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (toHom : X.Hom Y.toPresheafedSpace)
  (prop : ∀ (x : ↑↑X.toPresheafedSpace), IsLocalHom (CommRingCat.Hom.hom (toHom.stalkMap x)))
  (toHom_1 : X.Hom Y.toPresheafedSpace)
  (prop_1 : ∀ (x : ↑↑X.toPresheafedSpace), IsLocalHom (CommRingCat.Hom.hom (toHom_1.stalkMap x))),
  ({ toHom := toHom, prop := prop } = { toHom := toHom_1, prop := prop_1 }) = (toHom = toHom_1)

def AlgebraicGeometry.LocallyRingedSpace.ctorIdx E1 #

AlgebraicGeometry.LocallyRingedSpace → ℕ

theorem AlgebraicGeometry.LocallyRingedSpace.mk.injEq E0 #

∀ (toSheafedSpace : AlgebraicGeometry.SheafedSpace CommRingCat)
  (isLocalRing : ∀ (x : ↑↑toSheafedSpace.toPresheafedSpace), IsLocalRing ↑(toSheafedSpace.presheaf.stalk x))
  (toSheafedSpace_1 : AlgebraicGeometry.SheafedSpace CommRingCat)
  (isLocalRing_1 : ∀ (x : ↑↑toSheafedSpace_1.toPresheafedSpace), IsLocalRing ↑(toSheafedSpace_1.presheaf.stalk x)),
  ({ toSheafedSpace := toSheafedSpace, isLocalRing := isLocalRing } =
      { toSheafedSpace := toSheafedSpace_1, isLocalRing := isLocalRing_1 }) =
    (toSheafedSpace = toSheafedSpace_1)

def AlgebraicGeometry.LocallyRingedSpace.Hom.ctorIdx E1 #

{X Y : AlgebraicGeometry.LocallyRingedSpace} → X.Hom Y → ℕ

theorem AlgebraicGeometry.LocallyRingedSpace.Hom.mk.inj E1 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} {toHom : X.Hom Y.toPresheafedSpace}
  {prop : ∀ (x : ↑↑X.toPresheafedSpace), IsLocalHom (CommRingCat.Hom.hom (toHom.stalkMap x))}
  {toHom_1 : X.Hom Y.toPresheafedSpace}
  {prop_1 : ∀ (x : ↑↑X.toPresheafedSpace), IsLocalHom (CommRingCat.Hom.hom (toHom_1.stalkMap x))},
  { toHom := toHom, prop := prop } = { toHom := toHom_1, prop := prop_1 } → toHom = toHom_1

structure AlgebraicGeometry.LocallyRingedSpace E3 #

Type (u + 1)

A LocallyRingedSpace is a topological space equipped with a sheaf of commutative rings such that all the stalks are local rings.

A morphism of locally ringed spaces is a morphism of ringed spaces such that the morphisms induced on stalks are local ring homomorphisms.

ctor AlgebraicGeometry.LocallyRingedSpace.mk E0 #

(toSheafedSpace : AlgebraicGeometry.SheafedSpace CommRingCat) →
  (∀ (x : ↑↑toSheafedSpace.toPresheafedSpace), IsLocalRing ↑(toSheafedSpace.presheaf.stalk x)) →
    AlgebraicGeometry.LocallyRingedSpace

abbrev AlgebraicGeometry.LocallyRingedSpace.toSheafedSpace E1 #

AlgebraicGeometry.LocallyRingedSpace → AlgebraicGeometry.SheafedSpace CommRingCat

instance AlgebraicGeometry.LocallyRingedSpace.isLocalRing E0 #

∀ (self : AlgebraicGeometry.LocallyRingedSpace) (x : ↑↑self.toPresheafedSpace), IsLocalRing ↑(self.presheaf.stalk x)

Stalks of a locally ringed space are local rings.

abbrev AlgebraicGeometry.LocallyRingedSpace.toRingedSpace E1 #

AlgebraicGeometry.LocallyRingedSpace → AlgebraicGeometry.RingedSpace

An alias for toSheafedSpace, where the result type is a RingedSpace. This allows us to use dot-notation for the RingedSpace namespace.

def AlgebraicGeometry.LocallyRingedSpace.toTopCat E1 #

AlgebraicGeometry.LocallyRingedSpace → TopCat

The underlying topological space of a locally ringed space.

instance AlgebraicGeometry.LocallyRingedSpace.instCoeSortType E0 #

CoeSort AlgebraicGeometry.LocallyRingedSpace (Type u)

instance AlgebraicGeometry.LocallyRingedSpace.instIsLocalRingCarrierStalkCommRingCatPresheaf E0 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace) (x : ↑X.toTopCat), IsLocalRing ↑(X.presheaf.stalk x)

def AlgebraicGeometry.LocallyRingedSpace.𝒪 E1 #

(X : AlgebraicGeometry.LocallyRingedSpace) → TopCat.Sheaf CommRingCat X.toTopCat

The structure sheaf of a locally ringed space.

structure AlgebraicGeometry.LocallyRingedSpace.Hom E1 #

AlgebraicGeometry.LocallyRingedSpace → AlgebraicGeometry.LocallyRingedSpace → Type u

A morphism of locally ringed spaces is a morphism of ringed spaces such that the morphisms induced on stalks are local ring homomorphisms.

theorem AlgebraicGeometry.LocallyRingedSpace.Hom.ext_iff E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} {x y : X.Hom Y}, x = y ↔ x.base = y.base ∧ x.c ≍ y.c

theorem AlgebraicGeometry.LocallyRingedSpace.Hom.ext E1 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} {x y : X.Hom Y}, x.base = y.base → x.c ≍ y.c → x = y

abbrev AlgebraicGeometry.LocallyRingedSpace.Hom.toHom E1 #

{X Y : AlgebraicGeometry.LocallyRingedSpace} → X.Hom Y → X.Hom Y.toPresheafedSpace

ctor AlgebraicGeometry.LocallyRingedSpace.Hom.mk E0 #

{X Y : AlgebraicGeometry.LocallyRingedSpace} →
  (toHom : X.Hom Y.toPresheafedSpace) →
    (∀ (x : ↑↑X.toPresheafedSpace), IsLocalHom (CommRingCat.Hom.hom (toHom.stalkMap x))) → X.Hom Y

theorem AlgebraicGeometry.LocallyRingedSpace.Hom.prop E1 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (self : X.Hom Y) (x : ↑↑X.toPresheafedSpace),
  IsLocalHom (CommRingCat.Hom.hom (self.stalkMap x))

the underlying morphism induces a local ring homomorphism on stalks

abbrev AlgebraicGeometry.LocallyRingedSpace.Hom.toShHom E1 #

{X Y : AlgebraicGeometry.LocallyRingedSpace} → X.Hom Y → (X.toSheafedSpace ⟶ Y.toSheafedSpace)

A morphism of locally ringed spaces as a morphism of sheafed spaces.

theorem AlgebraicGeometry.LocallyRingedSpace.Hom.toShHom_mk E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f : X.Hom Y.toPresheafedSpace)
  (hf : ∀ (x : ↑↑X.toPresheafedSpace), IsLocalHom (CommRingCat.Hom.hom (f.stalkMap x))),
  { toHom := f, prop := hf }.toShHom = CategoryTheory.InducedCategory.homMk f

instance AlgebraicGeometry.LocallyRingedSpace.instQuiver E0 #

Quiver AlgebraicGeometry.LocallyRingedSpace

theorem AlgebraicGeometry.LocallyRingedSpace.Hom.ext'_iff E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} {f g : X ⟶ Y}, f = g ↔ f.toHom = g.toHom

theorem AlgebraicGeometry.LocallyRingedSpace.Hom.ext' E1 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} {f g : X ⟶ Y}, f.toHom = g.toHom → f = g

def AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap E1 #

{X Y : AlgebraicGeometry.LocallyRingedSpace} →
  (f : X ⟶ Y) →
    (x : ↑X.toTopCat) → Y.presheaf.stalk ((CategoryTheory.ConcreteCategory.hom f.base) x) ⟶ X.presheaf.stalk x

A morphism of locally ringed spaces f : X ⟶ Y induces a local ring homomorphism from Y.stalk (f x) to X.stalk x for any x : X.

instance AlgebraicGeometry.LocallyRingedSpace.isLocalHomStalkMap E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y) (x : ↑X.toTopCat),
  IsLocalHom (CommRingCat.Hom.hom (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap f x))

instance AlgebraicGeometry.LocallyRingedSpace.isLocalHomStalkMap' E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y) (x : ↑X.toTopCat),
  IsLocalHom (CommRingCat.Hom.hom (f.stalkMap x))

instance AlgebraicGeometry.LocallyRingedSpace.isLocalHomValStalkMap E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f : X.Hom Y) (x : ↑X.toTopCat),
  IsLocalHom (CommRingCat.Hom.hom (f.stalkMap x))

def AlgebraicGeometry.LocallyRingedSpace.id E1 #

(X : AlgebraicGeometry.LocallyRingedSpace) → X.Hom X

The identity morphism on a locally ringed space.

instance AlgebraicGeometry.LocallyRingedSpace.instInhabitedHom E0 #

(X : AlgebraicGeometry.LocallyRingedSpace) → Inhabited (X.Hom X)

def AlgebraicGeometry.LocallyRingedSpace.comp E1 #

{X Y Z : AlgebraicGeometry.LocallyRingedSpace} → X.Hom Y → Y.Hom Z → X.Hom Z

Composition of morphisms of locally ringed spaces.

instance AlgebraicGeometry.LocallyRingedSpace.instCategory E0 #

CategoryTheory.Category.{u, u + 1} AlgebraicGeometry.LocallyRingedSpace

The category of locally ringed spaces.

def AlgebraicGeometry.LocallyRingedSpace.forgetToSheafedSpace E1 #

CategoryTheory.Functor AlgebraicGeometry.LocallyRingedSpace (AlgebraicGeometry.SheafedSpace CommRingCat)

The forgetful functor from LocallyRingedSpace to SheafedSpace CommRing.

theorem AlgebraicGeometry.LocallyRingedSpace.forgetToSheafedSpace_map E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y),
  AlgebraicGeometry.LocallyRingedSpace.forgetToSheafedSpace.map f = CategoryTheory.InducedCategory.homMk f.toHom

theorem AlgebraicGeometry.LocallyRingedSpace.forgetToSheafedSpace_obj E0 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace),
  AlgebraicGeometry.LocallyRingedSpace.forgetToSheafedSpace.obj X = X.toSheafedSpace

instance AlgebraicGeometry.LocallyRingedSpace.instFaithfulSheafedSpaceCommRingCatForgetToSheafedSpace E0 #

AlgebraicGeometry.LocallyRingedSpace.forgetToSheafedSpace.Faithful

The canonical map X ⟶ Spec Γ(X, ⊤). This is the unit of the Γ-Spec adjunction.

def AlgebraicGeometry.LocallyRingedSpace.homMk E1 #

{X Y : AlgebraicGeometry.LocallyRingedSpace} →
  (f : X.toSheafedSpace ⟶ Y.toSheafedSpace) →
    autoParam
        (∀ (x : ↑X.toTopCat), IsLocalHom (CommRingCat.Hom.hom (AlgebraicGeometry.PresheafedSpace.Hom.stalkMap f.hom x)))
        AlgebraicGeometry.LocallyRingedSpace.homMk._auto_1 →
      (X ⟶ Y)

Constructor for morphisms in LocallyRingedSpace.

theorem AlgebraicGeometry.LocallyRingedSpace.homMk_toHom E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f : X.toSheafedSpace ⟶ Y.toSheafedSpace)
  (h :
    autoParam
      (∀ (x : ↑X.toTopCat), IsLocalHom (CommRingCat.Hom.hom (AlgebraicGeometry.PresheafedSpace.Hom.stalkMap f.hom x)))
      AlgebraicGeometry.LocallyRingedSpace.homMk._auto_1),
  (AlgebraicGeometry.LocallyRingedSpace.homMk f h).toHom = f.hom

def AlgebraicGeometry.LocallyRingedSpace.forgetToTop E1 #

CategoryTheory.Functor AlgebraicGeometry.LocallyRingedSpace TopCat

The forgetful functor from LocallyRingedSpace to Top.

theorem AlgebraicGeometry.LocallyRingedSpace.forgetToTop_map E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y),
  AlgebraicGeometry.LocallyRingedSpace.forgetToTop.map f =
    (AlgebraicGeometry.SheafedSpace.forget CommRingCat).map (CategoryTheory.InducedCategory.homMk f.toHom)

theorem AlgebraicGeometry.LocallyRingedSpace.forgetToTop_obj E0 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace),
  AlgebraicGeometry.LocallyRingedSpace.forgetToTop.obj X =
    (AlgebraicGeometry.SheafedSpace.forget CommRingCat).obj X.toSheafedSpace

theorem AlgebraicGeometry.LocallyRingedSpace.id_toHom E0 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace),
  (CategoryTheory.CategoryStruct.id X).toHom = CategoryTheory.CategoryStruct.id X.toPresheafedSpace

theorem AlgebraicGeometry.LocallyRingedSpace.comp_toHom E0 #

∀ {X Y Z : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y) (g : Y ⟶ Z),
  (CategoryTheory.CategoryStruct.comp f g).toHom = CategoryTheory.CategoryStruct.comp f.toHom g.toHom

theorem AlgebraicGeometry.LocallyRingedSpace.comp_toShHom E0 #

∀ {X Y Z : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y) (g : Y ⟶ Z),
  AlgebraicGeometry.LocallyRingedSpace.Hom.toShHom (CategoryTheory.CategoryStruct.comp f g) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.LocallyRingedSpace.Hom.toShHom f)
      (AlgebraicGeometry.LocallyRingedSpace.Hom.toShHom g)

theorem AlgebraicGeometry.LocallyRingedSpace.id_toShHom' E0 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace),
  AlgebraicGeometry.LocallyRingedSpace.Hom.toShHom (CategoryTheory.CategoryStruct.id X) =
    CategoryTheory.CategoryStruct.id X.toSheafedSpace

A variant of id_toShHom' that works with 𝟙 X instead of id X.

theorem AlgebraicGeometry.LocallyRingedSpace.comp_base E1 #

∀ {X Y Z : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y) (g : Y ⟶ Z),
  (CategoryTheory.CategoryStruct.comp f g).base = CategoryTheory.CategoryStruct.comp f.base g.base

theorem AlgebraicGeometry.LocallyRingedSpace.comp_c E1 #

∀ {X Y Z : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y) (g : Y ⟶ Z),
  (CategoryTheory.CategoryStruct.comp f g).c =
    CategoryTheory.CategoryStruct.comp g.c ((TopCat.Presheaf.pushforward CommRingCat g.base).map f.c)

theorem AlgebraicGeometry.LocallyRingedSpace.comp_c_app E1 #

∀ {X Y Z : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y) (g : Y ⟶ Z) (U : (TopologicalSpace.Opens ↑Z.toTopCat)ᵒᵖ),
  (CategoryTheory.CategoryStruct.comp f g).c.app U =
    CategoryTheory.CategoryStruct.comp (g.c.app U)
      (f.c.app (Opposite.op ((TopologicalSpace.Opens.map g.base).obj (Opposite.unop U))))

def AlgebraicGeometry.LocallyRingedSpace.homOfSheafedSpaceHomOfIsIso E1 #

{X Y : AlgebraicGeometry.LocallyRingedSpace} →
  (f : X.toSheafedSpace ⟶ Y.toSheafedSpace) → [CategoryTheory.IsIso f] → X ⟶ Y

Given two locally ringed spaces X and Y, an isomorphism between X and Y as sheafed spaces can be lifted to a morphism X ⟶ Y as locally ringed spaces.

See also isoOfSheafedSpaceIso.

theorem AlgebraicGeometry.LocallyRingedSpace.homOfSheafedSpaceHomOfIsIso_toHom E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f : X.toSheafedSpace ⟶ Y.toSheafedSpace)
  [inst : CategoryTheory.IsIso f], (AlgebraicGeometry.LocallyRingedSpace.homOfSheafedSpaceHomOfIsIso f).toHom = f.hom

def AlgebraicGeometry.LocallyRingedSpace.isoOfSheafedSpaceIso E1 #

{X Y : AlgebraicGeometry.LocallyRingedSpace} → (X.toSheafedSpace ≅ Y.toSheafedSpace) → (X ≅ Y)

Given two locally ringed spaces X and Y, an isomorphism between X and Y as sheafed spaces can be lifted to an isomorphism X ⟶ Y as locally ringed spaces.

This is related to the property that the functor forgetToSheafedSpace reflects isomorphisms. In fact, it is slightly stronger as we do not require f to come from a morphism between locally ringed spaces.

instance AlgebraicGeometry.LocallyRingedSpace.instReflectsIsomorphismsSheafedSpaceCommRingCatForgetToSheafedSpace E0 #

AlgebraicGeometry.LocallyRingedSpace.forgetToSheafedSpace.ReflectsIsomorphisms

instance AlgebraicGeometry.LocallyRingedSpace.is_sheafedSpace_iso E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y) [CategoryTheory.IsIso f],
  CategoryTheory.IsIso (AlgebraicGeometry.LocallyRingedSpace.Hom.toShHom f)

def AlgebraicGeometry.LocallyRingedSpace.restrict E1 #

{U : TopCat} →
  (X : AlgebraicGeometry.LocallyRingedSpace) →
    {f : U ⟶ X.toTopCat} →
      Topology.IsOpenEmbedding ⇑(CategoryTheory.ConcreteCategory.hom f) → AlgebraicGeometry.LocallyRingedSpace

The restriction of a locally ringed space along an open embedding.

theorem AlgebraicGeometry.LocallyRingedSpace.restrict_presheaf_obj E0 #

∀ {U : TopCat} (X : AlgebraicGeometry.LocallyRingedSpace) {f : U ⟶ X.toTopCat}
  (h : Topology.IsOpenEmbedding ⇑(CategoryTheory.ConcreteCategory.hom f)) (X_1 : (TopologicalSpace.Opens ↑U)ᵒᵖ),
  (X.restrict h).presheaf.obj X_1 = X.presheaf.obj (Opposite.op (h.functor.obj (Opposite.unop X_1)))

theorem AlgebraicGeometry.LocallyRingedSpace.restrict_carrier E0 #

∀ {U : TopCat} (X : AlgebraicGeometry.LocallyRingedSpace) {f : U ⟶ X.toTopCat}
  (h : Topology.IsOpenEmbedding ⇑(CategoryTheory.ConcreteCategory.hom f)), ↑(X.restrict h).toPresheafedSpace = U

theorem AlgebraicGeometry.LocallyRingedSpace.restrict_presheaf_map E0 #

∀ {U : TopCat} (X : AlgebraicGeometry.LocallyRingedSpace) {f : U ⟶ X.toTopCat}
  (h : Topology.IsOpenEmbedding ⇑(CategoryTheory.ConcreteCategory.hom f)) {X_1 Y : (TopologicalSpace.Opens ↑U)ᵒᵖ}
  (f_1 : X_1 ⟶ Y), (X.restrict h).presheaf.map f_1 = X.presheaf.map (h.functor.map f_1.unop).op

def AlgebraicGeometry.LocallyRingedSpace.ofRestrict E1 #

{U : TopCat} →
  (X : AlgebraicGeometry.LocallyRingedSpace) →
    {f : U ⟶ X.toTopCat} → (h : Topology.IsOpenEmbedding ⇑(CategoryTheory.ConcreteCategory.hom f)) → X.restrict h ⟶ X

The canonical map from the restriction to the subspace.

def AlgebraicGeometry.LocallyRingedSpace.restrictTopIso E1 #

(X : AlgebraicGeometry.LocallyRingedSpace) → X.restrict ⋯ ≅ X

The restriction of a locally ringed space X to the top subspace is isomorphic to X itself.

def AlgebraicGeometry.LocallyRingedSpace.Γ E1 #

CategoryTheory.Functor AlgebraicGeometry.LocallyRingedSpaceᵒᵖ CommRingCat

The global sections, notated Gamma.

theorem AlgebraicGeometry.LocallyRingedSpace.Γ_def E0 #

AlgebraicGeometry.LocallyRingedSpace.Γ =
  AlgebraicGeometry.LocallyRingedSpace.forgetToSheafedSpace.op.comp AlgebraicGeometry.SheafedSpace.Γ

theorem AlgebraicGeometry.LocallyRingedSpace.Γ_obj E0 #

∀ (X : AlgebraicGeometry.LocallyRingedSpaceᵒᵖ),
  AlgebraicGeometry.LocallyRingedSpace.Γ.obj X = (Opposite.unop X).presheaf.obj (Opposite.op ⊤)

theorem AlgebraicGeometry.LocallyRingedSpace.Γ_obj_op E1 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace),
  AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X) = X.presheaf.obj (Opposite.op ⊤)

theorem AlgebraicGeometry.LocallyRingedSpace.Γ_map E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpaceᵒᵖ} (f : X ⟶ Y),
  AlgebraicGeometry.LocallyRingedSpace.Γ.map f = f.unop.c.app (Opposite.op ⊤)

theorem AlgebraicGeometry.LocallyRingedSpace.Γ_map_op E1 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y),
  AlgebraicGeometry.LocallyRingedSpace.Γ.map f.op = f.c.app (Opposite.op ⊤)

def AlgebraicGeometry.LocallyRingedSpace.empty E1 #

AlgebraicGeometry.LocallyRingedSpace

The empty locally ringed space.

instance AlgebraicGeometry.LocallyRingedSpace.instEmptyCollection E0 #

EmptyCollection AlgebraicGeometry.LocallyRingedSpace

def AlgebraicGeometry.LocallyRingedSpace.emptyTo E1 #

(X : AlgebraicGeometry.LocallyRingedSpace) → ∅ ⟶ X

The canonical map from the empty locally ringed space.

instance AlgebraicGeometry.LocallyRingedSpace.instUniqueHomEmptyCollection E0 #

{X : AlgebraicGeometry.LocallyRingedSpace} → Unique (∅ ⟶ X)

def AlgebraicGeometry.LocallyRingedSpace.emptyIsInitial E1 #

CategoryTheory.Limits.IsInitial ∅

The empty space is initial in LocallyRingedSpace.

theorem AlgebraicGeometry.LocallyRingedSpace.basicOpen_zero E1 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace) (U : TopologicalSpace.Opens ↑↑X.toPresheafedSpace),
  X.toRingedSpace.basicOpen 0 = ⊥

theorem AlgebraicGeometry.LocallyRingedSpace.basicOpen_eq_bot_of_isNilpotent E0 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace) (U : TopologicalSpace.Opens ↑↑X.toPresheafedSpace)
  (f : ↑(X.presheaf.obj (Opposite.op U))), IsNilpotent f → X.toRingedSpace.basicOpen f = ⊥

instance AlgebraicGeometry.LocallyRingedSpace.component_nontrivial E0 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace) (U : TopologicalSpace.Opens ↑↑X.toPresheafedSpace) [hU : Nonempty ↥U],
  Nontrivial ↑(X.presheaf.obj (Opposite.op U))

theorem AlgebraicGeometry.LocallyRingedSpace.iso_hom_base_inv_base E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (e : X ≅ Y),
  CategoryTheory.CategoryStruct.comp e.hom.base e.inv.base = CategoryTheory.CategoryStruct.id ↑X.toPresheafedSpace

theorem AlgebraicGeometry.LocallyRingedSpace.iso_hom_base_inv_base_apply E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (e : X ≅ Y) (x : ↑X.toTopCat),
  (CategoryTheory.ConcreteCategory.hom e.inv.base) ((CategoryTheory.ConcreteCategory.hom e.hom.base) x) = x

theorem AlgebraicGeometry.LocallyRingedSpace.iso_inv_base_hom_base E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (e : X ≅ Y),
  CategoryTheory.CategoryStruct.comp e.inv.base e.hom.base = CategoryTheory.CategoryStruct.id ↑Y.toPresheafedSpace

theorem AlgebraicGeometry.LocallyRingedSpace.iso_inv_base_hom_base_apply E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (e : X ≅ Y) (y : ↑Y.toTopCat),
  (CategoryTheory.ConcreteCategory.hom e.hom.base) ((CategoryTheory.ConcreteCategory.hom e.inv.base) y) = y

theorem AlgebraicGeometry.LocallyRingedSpace.stalkMap_id E0 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace) (x : ↑X.toTopCat),
  AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap (CategoryTheory.CategoryStruct.id X) x =
    CategoryTheory.CategoryStruct.id (X.presheaf.stalk x)

theorem AlgebraicGeometry.LocallyRingedSpace.stalkMap_comp E1 #

∀ {X Y Z : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y) (g : Y ⟶ Z) (x : ↑X.toTopCat),
  AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap (CategoryTheory.CategoryStruct.comp f g) x =
    CategoryTheory.CategoryStruct.comp
      (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap g ((CategoryTheory.ConcreteCategory.hom f.base) x))
      (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap f x)

theorem AlgebraicGeometry.LocallyRingedSpace.stalkSpecializes_stalkMap E1 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y) (x x' : ↑X.toTopCat) (h : x ⤳ x'),
  CategoryTheory.CategoryStruct.comp (Y.presheaf.stalkSpecializes ⋯)
      (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap f x) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap f x')
      (X.presheaf.stalkSpecializes h)

theorem AlgebraicGeometry.LocallyRingedSpace.stalkSpecializes_stalkMap_assoc E1 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y) (x x' : ↑X.toTopCat) (h : x ⤳ x') {Z : CommRingCat}
  (h_1 : X.presheaf.stalk x ⟶ Z),
  CategoryTheory.CategoryStruct.comp (Y.presheaf.stalkSpecializes ⋯)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap f x) h_1) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap f x')
      (CategoryTheory.CategoryStruct.comp (X.presheaf.stalkSpecializes h) h_1)

theorem AlgebraicGeometry.LocallyRingedSpace.stalkSpecializes_stalkMap_apply E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y) (x x' : ↑X.toTopCat) (h : x ⤳ x')
  (y : ↑(Y.presheaf.stalk ((TopCat.Hom.hom f.base) x'))),
  (CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap f x))
      ((CategoryTheory.ConcreteCategory.hom (Y.presheaf.stalkSpecializes ⋯)) y) =
    (CategoryTheory.ConcreteCategory.hom (X.presheaf.stalkSpecializes h))
      ((CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap f x')) y)

theorem AlgebraicGeometry.LocallyRingedSpace.stalkMap_congr E1 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f g : X ⟶ Y) (hfg : f = g) (x x' : ↑X.toTopCat) (hxx' : x = x'),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap f x)
      (X.presheaf.stalkSpecializes ⋯) =
    CategoryTheory.CategoryStruct.comp (Y.presheaf.stalkSpecializes ⋯)
      (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap g x')

theorem AlgebraicGeometry.LocallyRingedSpace.stalkMap_congr_assoc E1 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f g : X ⟶ Y) (hfg : f = g) (x x' : ↑X.toTopCat) (hxx' : x = x')
  {Z : CommRingCat} (h : X.presheaf.stalk x' ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap f x)
      (CategoryTheory.CategoryStruct.comp (X.presheaf.stalkSpecializes ⋯) h) =
    CategoryTheory.CategoryStruct.comp (Y.presheaf.stalkSpecializes ⋯)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap g x') h)

theorem AlgebraicGeometry.LocallyRingedSpace.stalkMap_congr_hom_assoc E1 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f g : X ⟶ Y) (hfg : f = g) (x : ↑X.toTopCat) {Z : CommRingCat}
  (h : X.presheaf.stalk x ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap f x) h =
    CategoryTheory.CategoryStruct.comp (Y.presheaf.stalkSpecializes ⋯)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap g x) h)

theorem AlgebraicGeometry.LocallyRingedSpace.stalkMap_congr_hom E1 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f g : X ⟶ Y) (hfg : f = g) (x : ↑X.toTopCat),
  AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap f x =
    CategoryTheory.CategoryStruct.comp (Y.presheaf.stalkSpecializes ⋯)
      (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap g x)

theorem AlgebraicGeometry.LocallyRingedSpace.stalkMap_congr_point_assoc E1 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y) (x x' : ↑X.toTopCat) (hxx' : x = x') {Z : CommRingCat}
  (h : X.presheaf.stalk x' ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap f x)
      (CategoryTheory.CategoryStruct.comp (X.presheaf.stalkSpecializes ⋯) h) =
    CategoryTheory.CategoryStruct.comp (Y.presheaf.stalkSpecializes ⋯)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap f x') h)

theorem AlgebraicGeometry.LocallyRingedSpace.stalkMap_congr_point E1 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y) (x x' : ↑X.toTopCat) (hxx' : x = x'),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap f x)
      (X.presheaf.stalkSpecializes ⋯) =
    CategoryTheory.CategoryStruct.comp (Y.presheaf.stalkSpecializes ⋯)
      (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap f x')

theorem AlgebraicGeometry.LocallyRingedSpace.stalkMap_hom_inv_assoc E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (e : X ≅ Y) (y : ↑Y.toTopCat) {Z : CommRingCat}
  (h : Y.presheaf.stalk y ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap e.hom ((CategoryTheory.ConcreteCategory.hom e.inv.base) y))
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap e.inv y) h) =
    CategoryTheory.CategoryStruct.comp (Y.presheaf.stalkSpecializes ⋯) h

theorem AlgebraicGeometry.LocallyRingedSpace.stalkMap_hom_inv E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (e : X ≅ Y) (y : ↑Y.toTopCat),
  CategoryTheory.CategoryStruct.comp
      (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap e.hom ((CategoryTheory.ConcreteCategory.hom e.inv.base) y))
      (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap e.inv y) =
    Y.presheaf.stalkSpecializes ⋯

theorem AlgebraicGeometry.LocallyRingedSpace.stalkMap_hom_inv_apply E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (e : X ≅ Y) (y : ↑Y.toTopCat)
  (z :
    ↑(Y.presheaf.stalk
        ((CategoryTheory.ConcreteCategory.hom e.hom.base) ((CategoryTheory.ConcreteCategory.hom e.inv.base) y)))),
  (CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap e.inv y))
      ((CategoryTheory.ConcreteCategory.hom
          (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap e.hom
            ((CategoryTheory.ConcreteCategory.hom e.inv.base) y)))
        z) =
    (CategoryTheory.ConcreteCategory.hom (Y.presheaf.stalkSpecializes ⋯)) z

theorem AlgebraicGeometry.LocallyRingedSpace.stalkMap_inv_hom E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (e : X ≅ Y) (x : ↑X.toTopCat),
  CategoryTheory.CategoryStruct.comp
      (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap e.inv ((CategoryTheory.ConcreteCategory.hom e.hom.base) x))
      (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap e.hom x) =
    X.presheaf.stalkSpecializes ⋯

theorem AlgebraicGeometry.LocallyRingedSpace.stalkMap_inv_hom_assoc E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (e : X ≅ Y) (x : ↑X.toTopCat) {Z : CommRingCat}
  (h : X.presheaf.stalk x ⟶ Z),
  CategoryTheory.CategoryStruct.comp
      (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap e.inv ((CategoryTheory.ConcreteCategory.hom e.hom.base) x))
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap e.hom x) h) =
    CategoryTheory.CategoryStruct.comp (X.presheaf.stalkSpecializes ⋯) h

theorem AlgebraicGeometry.LocallyRingedSpace.stalkMap_inv_hom_apply E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (e : X ≅ Y) (x : ↑X.toTopCat)
  (y :
    ↑(X.presheaf.stalk
        ((CategoryTheory.ConcreteCategory.hom e.inv.base) ((CategoryTheory.ConcreteCategory.hom e.hom.base) x)))),
  (CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap e.hom x))
      ((CategoryTheory.ConcreteCategory.hom
          (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap e.inv
            ((CategoryTheory.ConcreteCategory.hom e.hom.base) x)))
        y) =
    (CategoryTheory.ConcreteCategory.hom (X.presheaf.stalkSpecializes ⋯)) y

theorem AlgebraicGeometry.LocallyRingedSpace.stalkMap_germ_assoc E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y) (U : TopologicalSpace.Opens ↑Y.toTopCat) (x : ↑X.toTopCat)
  (hx : (CategoryTheory.ConcreteCategory.hom f.base) x ∈ U) {Z : CommRingCat} (h : X.presheaf.stalk x ⟶ Z),
  CategoryTheory.CategoryStruct.comp (Y.presheaf.germ U ((CategoryTheory.ConcreteCategory.hom f.base) x) hx)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap f x) h) =
    CategoryTheory.CategoryStruct.comp (f.c.app (Opposite.op U))
      (CategoryTheory.CategoryStruct.comp (X.presheaf.germ ((TopologicalSpace.Opens.map f.base).obj U) x hx) h)

theorem AlgebraicGeometry.LocallyRingedSpace.stalkMap_germ E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y) (U : TopologicalSpace.Opens ↑Y.toTopCat) (x : ↑X.toTopCat)
  (hx : (CategoryTheory.ConcreteCategory.hom f.base) x ∈ U),
  CategoryTheory.CategoryStruct.comp (Y.presheaf.germ U ((CategoryTheory.ConcreteCategory.hom f.base) x) hx)
      (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap f x) =
    CategoryTheory.CategoryStruct.comp (f.c.app (Opposite.op U))
      (X.presheaf.germ ((TopologicalSpace.Opens.map f.base).obj U) x hx)

theorem AlgebraicGeometry.LocallyRingedSpace.stalkMap_germ_apply E0 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y) (U : TopologicalSpace.Opens ↑Y.toTopCat) (x : ↑X.toTopCat)
  (hx : (CategoryTheory.ConcreteCategory.hom f.base) x ∈ U) (y : ↑(Y.presheaf.obj (Opposite.op U))),
  (CategoryTheory.ConcreteCategory.hom (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap f x))
      ((CategoryTheory.ConcreteCategory.hom (Y.presheaf.germ U ((CategoryTheory.ConcreteCategory.hom f.base) x) hx))
        y) =
    (CategoryTheory.ConcreteCategory.hom (X.presheaf.germ ((TopologicalSpace.Opens.map f.base).obj U) x hx))
      ((CategoryTheory.ConcreteCategory.hom (f.c.app (Opposite.op U))) y)

theorem AlgebraicGeometry.LocallyRingedSpace.preimage_basicOpen E1 #

∀ {X Y : AlgebraicGeometry.LocallyRingedSpace} (f : X ⟶ Y) {U : TopologicalSpace.Opens ↑Y.toTopCat}
  (s : ↑(Y.presheaf.obj (Opposite.op U))),
  (TopologicalSpace.Opens.map f.base).obj (Y.toRingedSpace.basicOpen s) =
    X.toRingedSpace.basicOpen ((CategoryTheory.ConcreteCategory.hom (f.c.app (Opposite.op U))) s)

def AlgebraicGeometry.LocallyRingedSpace.restrictStalkIso E1 #

{U : TopCat} →
  (X : AlgebraicGeometry.LocallyRingedSpace) →
    {f : U ⟶ X.toTopCat} →
      (h : Topology.IsOpenEmbedding ⇑(CategoryTheory.ConcreteCategory.hom f)) →
        (x : ↑U) → (X.restrict h).presheaf.stalk x ≅ X.presheaf.stalk ((CategoryTheory.ConcreteCategory.hom f) x)

For an open embedding f : U ⟶ X and a point x : U, we get an isomorphism between the stalk of X at f x and the stalk of the restriction of X along f at x.

theorem AlgebraicGeometry.LocallyRingedSpace.restrictStalkIso_hom_eq_germ E0 #

∀ {U : TopCat} (X : AlgebraicGeometry.LocallyRingedSpace) {f : U ⟶ X.toTopCat}
  (h : Topology.IsOpenEmbedding ⇑(CategoryTheory.ConcreteCategory.hom f)) (V : TopologicalSpace.Opens ↑U) (x : ↑U)
  (hx : x ∈ V),
  CategoryTheory.CategoryStruct.comp ((X.restrict h).presheaf.germ V x hx) (X.restrictStalkIso h x).hom =
    X.presheaf.germ (h.functor.obj V) ((CategoryTheory.ConcreteCategory.hom f) x) ⋯

theorem AlgebraicGeometry.LocallyRingedSpace.restrictStalkIso_hom_eq_germ_assoc E0 #

∀ {U : TopCat} (X : AlgebraicGeometry.LocallyRingedSpace) {f : U ⟶ X.toTopCat}
  (h : Topology.IsOpenEmbedding ⇑(CategoryTheory.ConcreteCategory.hom f)) (V : TopologicalSpace.Opens ↑U) (x : ↑U)
  (hx : x ∈ V) {Z : CommRingCat} (h_1 : X.presheaf.stalk ((CategoryTheory.ConcreteCategory.hom f) x) ⟶ Z),
  CategoryTheory.CategoryStruct.comp ((X.restrict h).presheaf.germ V x hx)
      (CategoryTheory.CategoryStruct.comp (X.restrictStalkIso h x).hom h_1) =
    CategoryTheory.CategoryStruct.comp (X.presheaf.germ (h.functor.obj V) ((CategoryTheory.ConcreteCategory.hom f) x) ⋯)
      h_1

theorem AlgebraicGeometry.LocallyRingedSpace.restrictStalkIso_hom_eq_germ_apply E0 #

∀ {U : TopCat} (X : AlgebraicGeometry.LocallyRingedSpace) {f : U ⟶ X.toTopCat}
  (h : Topology.IsOpenEmbedding ⇑(CategoryTheory.ConcreteCategory.hom f)) (V : TopologicalSpace.Opens ↑U) (x : ↑U)
  (hx : x ∈ V) (y : ↑((X.restrict h).presheaf.obj (Opposite.op V))),
  (CategoryTheory.ConcreteCategory.hom (X.restrictStalkIso h x).hom)
      ((CategoryTheory.ConcreteCategory.hom ((X.restrict h).presheaf.germ V x hx)) y) =
    (CategoryTheory.ConcreteCategory.hom
        (X.presheaf.germ (h.functor.obj V) ((CategoryTheory.ConcreteCategory.hom f) x) ⋯))
      y

theorem AlgebraicGeometry.LocallyRingedSpace.restrictStalkIso_inv_eq_germ_assoc E0 #

∀ {U : TopCat} (X : AlgebraicGeometry.LocallyRingedSpace) {f : U ⟶ X.toTopCat}
  (h : Topology.IsOpenEmbedding ⇑(CategoryTheory.ConcreteCategory.hom f)) (V : TopologicalSpace.Opens ↑U) (x : ↑U)
  (hx : x ∈ V) {Z : CommRingCat} (h_1 : (X.restrict h).presheaf.stalk x ⟶ Z),
  CategoryTheory.CategoryStruct.comp (X.presheaf.germ (h.functor.obj V) ((CategoryTheory.ConcreteCategory.hom f) x) ⋯)
      (CategoryTheory.CategoryStruct.comp (X.restrictStalkIso h x).inv h_1) =
    CategoryTheory.CategoryStruct.comp ((X.restrict h).presheaf.germ V x hx) h_1

theorem AlgebraicGeometry.LocallyRingedSpace.restrictStalkIso_inv_eq_germ E0 #

∀ {U : TopCat} (X : AlgebraicGeometry.LocallyRingedSpace) {f : U ⟶ X.toTopCat}
  (h : Topology.IsOpenEmbedding ⇑(CategoryTheory.ConcreteCategory.hom f)) (V : TopologicalSpace.Opens ↑U) (x : ↑U)
  (hx : x ∈ V),
  CategoryTheory.CategoryStruct.comp (X.presheaf.germ (h.functor.obj V) ((CategoryTheory.ConcreteCategory.hom f) x) ⋯)
      (X.restrictStalkIso h x).inv =
    (X.restrict h).presheaf.germ V x hx

theorem AlgebraicGeometry.LocallyRingedSpace.restrictStalkIso_inv_eq_germ_apply E0 #

∀ {U : TopCat} (X : AlgebraicGeometry.LocallyRingedSpace) {f : U ⟶ X.toTopCat}
  (h : Topology.IsOpenEmbedding ⇑(CategoryTheory.ConcreteCategory.hom f)) (V : TopologicalSpace.Opens ↑U) (x : ↑U)
  (hx : x ∈ V) (y : ↑(X.presheaf.obj (Opposite.op (h.functor.obj V)))),
  (CategoryTheory.ConcreteCategory.hom (X.restrictStalkIso h x).inv)
      ((CategoryTheory.ConcreteCategory.hom
          (X.presheaf.germ (h.functor.obj V) ((CategoryTheory.ConcreteCategory.hom f) x) ⋯))
        y) =
    (CategoryTheory.ConcreteCategory.hom ((X.restrict h).presheaf.germ V x hx)) y

theorem AlgebraicGeometry.LocallyRingedSpace.restrictStalkIso_inv_eq_ofRestrict E1 #

∀ {U : TopCat} (X : AlgebraicGeometry.LocallyRingedSpace) {f : U ⟶ X.toTopCat}
  (h : Topology.IsOpenEmbedding ⇑(CategoryTheory.ConcreteCategory.hom f)) (x : ↑U),
  (X.restrictStalkIso h x).inv = AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap (X.ofRestrict h) x

instance AlgebraicGeometry.LocallyRingedSpace.ofRestrict_stalkMap_isIso E0 #

∀ {U : TopCat} (X : AlgebraicGeometry.LocallyRingedSpace) {f : U ⟶ X.toTopCat}
  (h : Topology.IsOpenEmbedding ⇑(CategoryTheory.ConcreteCategory.hom f)) (x : ↑U),
  CategoryTheory.IsIso (AlgebraicGeometry.LocallyRingedSpace.Hom.stalkMap (X.ofRestrict h) x)