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.AlgebraicGeometry.GammaSpecAdjunction

95 declarations. Mathlib docs · Source

theorem IsLocalRing.closedPoint.congr_simp E1 #

∀ (R : Type u) [inst : CommSemiring R] [inst_1 : IsLocalRing R], IsLocalRing.closedPoint R = IsLocalRing.closedPoint R

def AlgebraicGeometry.LocallyRingedSpace.toΓSpecFun E1 #

(X : AlgebraicGeometry.LocallyRingedSpace) →
  ↑X.toTopCat → PrimeSpectrum ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))

The canonical map from the underlying set to the prime spectrum of Γ(X).

theorem AlgebraicGeometry.LocallyRingedSpace.notMem_prime_iff_unit_in_stalk E1 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace) (r : ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X)))
  (x : ↑X.toTopCat),
  r ∉ (X.toΓSpecFun x).asIdeal ↔ IsUnit ((CategoryTheory.ConcreteCategory.hom (X.presheaf.Γgerm x)) r)

theorem AlgebraicGeometry.LocallyRingedSpace.toΓSpec_preimage_basicOpen_eq E0 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace) (r : ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))),
  X.toΓSpecFun ⁻¹' ↑(PrimeSpectrum.basicOpen r) = ↑(X.toRingedSpace.basicOpen r)

The preimage of a basic open in Spec Γ(X) under the unit is the basic open in X defined by the same element (they are equal as sets).

theorem AlgebraicGeometry.LocallyRingedSpace.toΓSpec_continuous E1 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace), Continuous X.toΓSpecFun

toΓSpecFun is continuous.

def AlgebraicGeometry.LocallyRingedSpace.toΓSpecBase E1 #

(X : AlgebraicGeometry.LocallyRingedSpace) →
  X.toTopCat ⟶ AlgebraicGeometry.Spec.topObj (AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))

The canonical (bundled) continuous map from the underlying topological space of X to the prime spectrum of its global sections.

abbrev AlgebraicGeometry.LocallyRingedSpace.toΓSpecMapBasicOpen E1 #

(X : AlgebraicGeometry.LocallyRingedSpace) →
  ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X)) → TopologicalSpace.Opens ↑X.toTopCat

The preimage in X of a basic open in Spec Γ(X) (as an open set).

theorem AlgebraicGeometry.LocallyRingedSpace.toΓSpecMapBasicOpen_eq E0 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace) (r : ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))),
  X.toΓSpecMapBasicOpen r = X.toRingedSpace.basicOpen r

The preimage is the basic open in X defined by the same element r.

abbrev AlgebraicGeometry.LocallyRingedSpace.toToΓSpecMapBasicOpen E1 #

(X : AlgebraicGeometry.LocallyRingedSpace) →
  (r : ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))) →
    X.presheaf.obj (Opposite.op ⊤) ⟶ X.presheaf.obj (Opposite.op (X.toΓSpecMapBasicOpen r))

The map from the global sections Γ(X) to the sections on the (preimage of) a basic open.

theorem AlgebraicGeometry.LocallyRingedSpace.isUnit_res_toΓSpecMapBasicOpen E1 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace) (r : ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))),
  IsUnit ((CategoryTheory.ConcreteCategory.hom (X.toToΓSpecMapBasicOpen r)) r)

r is a unit as a section on the basic open defined by r.

def AlgebraicGeometry.LocallyRingedSpace.toΓSpecCApp E1 #

(X : AlgebraicGeometry.LocallyRingedSpace) →
  (r : ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))) →
    (AlgebraicGeometry.Spec.structureSheaf ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))).obj.obj
        (Opposite.op (PrimeSpectrum.basicOpen r)) ⟶
      X.presheaf.obj (Opposite.op (X.toΓSpecMapBasicOpen r))

Define the sheaf hom on individual basic opens for the unit.

theorem AlgebraicGeometry.LocallyRingedSpace.toΓSpecCApp_iff E0 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace) (r : ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X)))
  (f :
    (AlgebraicGeometry.Spec.structureSheaf ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))).obj.obj
        (Opposite.op (PrimeSpectrum.basicOpen r)) ⟶
      X.presheaf.obj (Opposite.op (X.toΓSpecMapBasicOpen r))),
  CategoryTheory.CategoryStruct.comp
        (CommRingCat.ofHom
          (algebraMap (↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X)))
            ((AlgebraicGeometry.structureSheafInType ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))
                    ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))).obj.obj
              (Opposite.op (PrimeSpectrum.basicOpen r)))))
        f =
      X.toToΓSpecMapBasicOpen r ↔
    f = X.toΓSpecCApp r

Characterization of the sheaf hom on basic opens, direction ← (next lemma) is used at various places, but → is not used in this file.

theorem AlgebraicGeometry.LocallyRingedSpace.toΓSpecCApp_spec E1 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace) (r : ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))),
  CategoryTheory.CategoryStruct.comp
      (CommRingCat.ofHom
        (algebraMap (↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X)))
          ((AlgebraicGeometry.structureSheafInType ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))
                  ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))).obj.obj
            (Opposite.op (PrimeSpectrum.basicOpen r)))))
      (X.toΓSpecCApp r) =
    X.toToΓSpecMapBasicOpen r

def AlgebraicGeometry.LocallyRingedSpace.toΓSpecCBasicOpens E1 #

(X : AlgebraicGeometry.LocallyRingedSpace) →
  (CategoryTheory.inducedFunctor PrimeSpectrum.basicOpen).op.comp
      (AlgebraicGeometry.Spec.structureSheaf ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))).obj ⟶
    (CategoryTheory.inducedFunctor PrimeSpectrum.basicOpen).op.comp
      ((TopCat.Sheaf.pushforward CommRingCat X.toΓSpecBase).obj X.𝒪).obj

The sheaf hom on all basic opens, commuting with restrictions.

theorem AlgebraicGeometry.LocallyRingedSpace.toΓSpecCBasicOpens_app E0 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace)
  (r :
    (CategoryTheory.InducedCategory
        (TopologicalSpace.Opens (PrimeSpectrum ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))))
        PrimeSpectrum.basicOpen)ᵒᵖ),
  X.toΓSpecCBasicOpens.app r = X.toΓSpecCApp (Opposite.unop r)

def AlgebraicGeometry.LocallyRingedSpace.toΓSpecSheafedSpace E1 #

(X : AlgebraicGeometry.LocallyRingedSpace) →
  X.toSheafedSpace ⟶
    AlgebraicGeometry.Spec.toSheafedSpace.obj (Opposite.op (AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X)))

The canonical morphism of sheafed spaces from X to the spectrum of its global sections.

theorem AlgebraicGeometry.LocallyRingedSpace.coe_toΓSpecSheafedSpace_hom_base_hom_apply_asIdeal E0 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace) (a : ↑X.toTopCat),
  ↑((TopCat.Hom.hom X.toΓSpecSheafedSpace.hom.base) a).asIdeal =
    ⇑(CommRingCat.Hom.hom (X.presheaf.Γgerm a)) ⁻¹' ↑(IsLocalRing.closedPoint ↑(X.presheaf.stalk a)).asIdeal

theorem AlgebraicGeometry.LocallyRingedSpace.toΓSpecSheafedSpace_hom_c_app E1 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace)
  (X_1 :
    (TopologicalSpace.Opens
        ↑(AlgebraicGeometry.PrimeSpectrum.Top ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))))ᵒᵖ),
  X.toΓSpecSheafedSpace.hom.c.app X_1 =
    CategoryTheory.yoneda.preimage ((CategoryTheory.Functor.IsCoverDense.sheafYonedaHom X.toΓSpecCBasicOpens).app X_1)

theorem AlgebraicGeometry.LocallyRingedSpace.toΓSpecSheafedSpace_app_eq E0 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace) (r : ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))),
  X.toΓSpecSheafedSpace.hom.c.app (Opposite.op (PrimeSpectrum.basicOpen r)) = X.toΓSpecCApp r

theorem AlgebraicGeometry.LocallyRingedSpace.toΓSpecSheafedSpace_app_spec E1 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace) (r : ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))),
  CategoryTheory.CategoryStruct.comp
      (CommRingCat.ofHom
        (algebraMap (↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X)))
          ((AlgebraicGeometry.structureSheafInType
                  ↑(Opposite.unop (Opposite.op (AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))))
                  ↑(Opposite.unop (Opposite.op (AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))))).obj.obj
            (Opposite.op (PrimeSpectrum.basicOpen r)))))
      (X.toΓSpecSheafedSpace.hom.c.app (Opposite.op (PrimeSpectrum.basicOpen r))) =
    X.toToΓSpecMapBasicOpen r

theorem AlgebraicGeometry.LocallyRingedSpace.toΓSpecSheafedSpace_app_spec_assoc E1 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace) (r : ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X)))
  {Z : CommRingCat}
  (h :
    ((TopCat.Presheaf.pushforward CommRingCat X.toΓSpecSheafedSpace.hom.base).obj X.presheaf).obj
        (Opposite.op (PrimeSpectrum.basicOpen r)) ⟶
      Z),
  CategoryTheory.CategoryStruct.comp
      (CommRingCat.ofHom
        (algebraMap (↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X)))
          ((AlgebraicGeometry.structureSheafInType ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))
                  ↑(AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))).obj.obj
            (Opposite.op (PrimeSpectrum.basicOpen r)))))
      (CategoryTheory.CategoryStruct.comp (X.toΓSpecSheafedSpace.hom.c.app (Opposite.op (PrimeSpectrum.basicOpen r)))
        h) =
    CategoryTheory.CategoryStruct.comp (X.toToΓSpecMapBasicOpen r) h

theorem AlgebraicGeometry.LocallyRingedSpace.toStalk_stalkMap_toΓSpec E1 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace) (x : ↑X.toTopCat),
  CategoryTheory.CategoryStruct.comp
      (AlgebraicGeometry.StructureSheaf.toStalk
        (↑(Opposite.unop (Opposite.op (AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X)))))
        ((CategoryTheory.ConcreteCategory.hom X.toΓSpecSheafedSpace.hom.base) x))
      (AlgebraicGeometry.PresheafedSpace.Hom.stalkMap X.toΓSpecSheafedSpace.hom x) =
    X.presheaf.Γgerm x

The map on stalks induced by the unit commutes with maps from Γ(X) to stalks (in Spec Γ(X) and in X).

def AlgebraicGeometry.LocallyRingedSpace.toΓSpec E1 #

(X : AlgebraicGeometry.LocallyRingedSpace) →
  X ⟶ AlgebraicGeometry.Spec.locallyRingedSpaceObj (AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))

The canonical morphism from X to the spectrum of its global sections.

theorem AlgebraicGeometry.LocallyRingedSpace.toΓSpec_base E0 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace), X.toΓSpec.base = X.toΓSpecBase

theorem AlgebraicGeometry.LocallyRingedSpace.toΓSpec_preimage_zeroLocus_eq E0 #

∀ {X : AlgebraicGeometry.LocallyRingedSpace} (s : Set ↑(X.presheaf.obj (Opposite.op ⊤))),
  ⇑(CategoryTheory.ConcreteCategory.hom X.toΓSpec.base) ⁻¹' PrimeSpectrum.zeroLocus s = X.toRingedSpace.zeroLocus s

On a locally ringed space X, the preimage of the zero locus of the prime spectrum of Γ(X, ⊤) under toΓSpec agrees with the associated zero locus on X.

theorem AlgebraicGeometry.LocallyRingedSpace.comp_ring_hom_ext E1 #

∀ {X : AlgebraicGeometry.LocallyRingedSpace} {R : CommRingCat}
  {f : R ⟶ AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X)}
  {β : X ⟶ AlgebraicGeometry.Spec.locallyRingedSpaceObj R},
  CategoryTheory.CategoryStruct.comp X.toΓSpec.base (AlgebraicGeometry.Spec.locallyRingedSpaceMap f).base = β.base →
    (∀ (r : ↑R),
        CategoryTheory.CategoryStruct.comp f (X.presheaf.map (CategoryTheory.homOfLE ⋯).op) =
          CategoryTheory.CategoryStruct.comp
            (CommRingCat.ofHom
              (algebraMap (↑R)
                ((AlgebraicGeometry.structureSheafInType ↑R ↑R).obj.obj (Opposite.op (PrimeSpectrum.basicOpen r)))))
            (β.c.app (Opposite.op (PrimeSpectrum.basicOpen r)))) →
      CategoryTheory.CategoryStruct.comp X.toΓSpec (AlgebraicGeometry.Spec.locallyRingedSpaceMap f) = β

theorem AlgebraicGeometry.LocallyRingedSpace.Γ_Spec_left_triangle E1 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace),
  CategoryTheory.CategoryStruct.comp
      (AlgebraicGeometry.toSpecΓ (AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X)))
      (X.toΓSpec.c.app (Opposite.op ⊤)) =
    CategoryTheory.CategoryStruct.id (AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X))

toSpecΓ _ is an isomorphism so these are mutually two-sided inverses.

def AlgebraicGeometry.identityToΓSpec E1 #

CategoryTheory.Functor.id AlgebraicGeometry.LocallyRingedSpace ⟶
  AlgebraicGeometry.LocallyRingedSpace.Γ.rightOp.comp AlgebraicGeometry.Spec.toLocallyRingedSpace

The unit as a natural transformation.

theorem AlgebraicGeometry.ΓSpec.left_triangle E1 #

∀ (X : AlgebraicGeometry.LocallyRingedSpace),
  CategoryTheory.CategoryStruct.comp
      (AlgebraicGeometry.LocallyRingedSpace.SpecΓIdentity.inv.app
        (AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X)))
      ((AlgebraicGeometry.identityToΓSpec.app X).c.app (Opposite.op ⊤)) =
    CategoryTheory.CategoryStruct.id
      ((CategoryTheory.Functor.id CommRingCat).obj (AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X)))

theorem AlgebraicGeometry.ΓSpec.right_triangle E1 #

∀ (R : CommRingCat),
  CategoryTheory.CategoryStruct.comp
      (AlgebraicGeometry.identityToΓSpec.app (AlgebraicGeometry.Spec.toLocallyRingedSpace.obj (Opposite.op R)))
      (AlgebraicGeometry.Spec.toLocallyRingedSpace.map
        (AlgebraicGeometry.LocallyRingedSpace.SpecΓIdentity.inv.app R).op) =
    CategoryTheory.CategoryStruct.id
      ((CategoryTheory.Functor.id AlgebraicGeometry.LocallyRingedSpace).obj
        (AlgebraicGeometry.Spec.toLocallyRingedSpace.obj (Opposite.op R)))

SpecΓIdentity is iso so these are mutually two-sided inverses.

def AlgebraicGeometry.ΓSpec.locallyRingedSpaceAdjunction E1 #

AlgebraicGeometry.LocallyRingedSpace.Γ.rightOp ⊣ AlgebraicGeometry.Spec.toLocallyRingedSpace

The adjunction Γ ⊣ Spec from CommRingᵒᵖ to LocallyRingedSpace.

theorem AlgebraicGeometry.ΓSpec.locallyRingedSpaceAdjunction_unit E0 #

AlgebraicGeometry.ΓSpec.locallyRingedSpaceAdjunction.unit = AlgebraicGeometry.identityToΓSpec

theorem AlgebraicGeometry.ΓSpec.locallyRingedSpaceAdjunction_counit E0 #

AlgebraicGeometry.ΓSpec.locallyRingedSpaceAdjunction.counit =
  (CategoryTheory.NatIso.op AlgebraicGeometry.LocallyRingedSpace.SpecΓIdentity).inv

theorem AlgebraicGeometry.ΓSpec.toSpecΓ_unop E1 #

∀ (R : CommRingCatᵒᵖ),
  AlgebraicGeometry.toSpecΓ (Opposite.unop R) =
    CommRingCat.ofHom
      (algebraMap (↑R.1)
        ((AlgebraicGeometry.structureSheafInType ↑(Opposite.unop (Opposite.op (Opposite.unop R)))
                ↑(Opposite.unop (Opposite.op (Opposite.unop R)))).obj.obj
          (Opposite.op ⊤)))

theorem AlgebraicGeometry.ΓSpec.toSpecΓ_of E0 #

∀ (R : Type u) [inst : CommRing R],
  AlgebraicGeometry.toSpecΓ ↧R =
    CommRingCat.ofHom
      (algebraMap R
        ((AlgebraicGeometry.structureSheafInType ↑(Opposite.unop (Opposite.op ↧R))
                ↑(Opposite.unop (Opposite.op ↧R))).obj.obj
          (Opposite.op ⊤)))

@[simp]-normal form of locallyRingedSpaceAdjunction_counit_app'.

theorem AlgebraicGeometry.ΓSpec.locallyRingedSpaceAdjunction_counit_app E1 #

∀ (R : CommRingCatᵒᵖ),
  AlgebraicGeometry.ΓSpec.locallyRingedSpaceAdjunction.counit.app R =
    (CommRingCat.ofHom
        (algebraMap (↑R.1)
          ((AlgebraicGeometry.structureSheafInType ↑(Opposite.unop R) ↑(Opposite.unop R)).obj.obj (Opposite.op ⊤)))).op

theorem AlgebraicGeometry.ΓSpec.locallyRingedSpaceAdjunction_counit_app' E1 #

∀ (R : Type u) [inst : CommRing R],
  AlgebraicGeometry.ΓSpec.locallyRingedSpaceAdjunction.counit.app (Opposite.op ↧R) =
    (CommRingCat.ofHom
        (algebraMap R
          ((AlgebraicGeometry.structureSheafInType ↑(Opposite.unop (Opposite.op ↧R))
                  ↑(Opposite.unop (Opposite.op ↧R))).obj.obj
            (Opposite.op ⊤)))).op

theorem AlgebraicGeometry.ΓSpec.unop_locallyRingedSpaceAdjunction_counit_app' E1 #

∀ (R : Type u) [inst : CommRing R],
  (AlgebraicGeometry.ΓSpec.locallyRingedSpaceAdjunction.counit.app (Opposite.op ↧R)).unop =
    CommRingCat.ofHom
      (algebraMap R
        ((AlgebraicGeometry.structureSheafInType ↑(Opposite.unop (Opposite.op ↧R))
                ↑(Opposite.unop (Opposite.op ↧R))).obj.obj
          (Opposite.op ⊤)))

theorem AlgebraicGeometry.ΓSpec.locallyRingedSpaceAdjunction_homEquiv_apply E0 #

∀ {X : AlgebraicGeometry.LocallyRingedSpace} {R : CommRingCatᵒᵖ}
  (f : AlgebraicGeometry.LocallyRingedSpace.Γ.rightOp.obj X ⟶ R),
  (AlgebraicGeometry.ΓSpec.locallyRingedSpaceAdjunction.homEquiv X R) f =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.identityToΓSpec.app X)
      (AlgebraicGeometry.Spec.locallyRingedSpaceMap f.unop)

theorem AlgebraicGeometry.ΓSpec.locallyRingedSpaceAdjunction_homEquiv_apply' E1 #

∀ {X : AlgebraicGeometry.LocallyRingedSpace} {R : Type u} [inst : CommRing R]
  (f : ↧R ⟶ AlgebraicGeometry.LocallyRingedSpace.Γ.obj (Opposite.op X)),
  (AlgebraicGeometry.ΓSpec.locallyRingedSpaceAdjunction.homEquiv X (Opposite.op ↧R)) (Opposite.op f) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.identityToΓSpec.app X)
      (AlgebraicGeometry.Spec.locallyRingedSpaceMap f)

theorem AlgebraicGeometry.ΓSpec.toOpen_comp_locallyRingedSpaceAdjunction_homEquiv_app E1 #

∀ {X : AlgebraicGeometry.LocallyRingedSpace} {R : Type u} [inst : CommRing R]
  (f : AlgebraicGeometry.LocallyRingedSpace.Γ.rightOp.obj X ⟶ Opposite.op ↧R)
  (U :
    (TopologicalSpace.Opens ↑↑(AlgebraicGeometry.Spec.toLocallyRingedSpace.obj (Opposite.op ↧R)).toPresheafedSpace)ᵒᵖ),
  CategoryTheory.CategoryStruct.comp
      (CommRingCat.ofHom
        (algebraMap R
          ((AlgebraicGeometry.structureSheafInType ↑(Opposite.unop (Opposite.op ↧R))
                  ↑(Opposite.unop (Opposite.op ↧R))).obj.obj
            U)))
      (((AlgebraicGeometry.ΓSpec.locallyRingedSpaceAdjunction.homEquiv X (Opposite.op ↧R)) f).c.app U) =
    CategoryTheory.CategoryStruct.comp f.unop (X.presheaf.map (CategoryTheory.homOfLE ⋯).op)

def AlgebraicGeometry.ΓSpec.adjunction E1 #

AlgebraicGeometry.Scheme.Γ.rightOp ⊣ AlgebraicGeometry.Scheme.Spec

The adjunction Γ ⊣ Spec from CommRingᵒᵖ to Scheme.

theorem AlgebraicGeometry.ext_to_Spec E1 #

∀ {X : AlgebraicGeometry.Scheme} {R : Type u_1} [inst : CommRing R] {f g : X ⟶ AlgebraicGeometry.Spec ↧R},
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.ΓSpecIso ↧R).inv (AlgebraicGeometry.Scheme.Γ.map f.op) =
      CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.ΓSpecIso ↧R).inv
        (AlgebraicGeometry.Scheme.Γ.map g.op) →
    f = g

Given f, g : X ⟶ Spec(R), if the two induced maps R ⟶ Γ(X) are equal, then f = g.

theorem AlgebraicGeometry.ΓSpec.adjunction_homEquiv_apply E0 #

∀ {X : AlgebraicGeometry.Scheme} {R : CommRingCatᵒᵖ}
  (f : Opposite.op (AlgebraicGeometry.Scheme.Γ.obj (Opposite.op X)) ⟶ R),
  (AlgebraicGeometry.ΓSpec.adjunction.homEquiv X R) f =
    { toLRSHom' := (AlgebraicGeometry.ΓSpec.locallyRingedSpaceAdjunction.homEquiv X.toLocallyRingedSpace R) f }

theorem AlgebraicGeometry.ΓSpec.adjunction_homEquiv_symm_apply E0 #

∀ {X : AlgebraicGeometry.Scheme} {R : CommRingCatᵒᵖ} (f : X ⟶ AlgebraicGeometry.Scheme.Spec.obj R),
  (AlgebraicGeometry.ΓSpec.adjunction.homEquiv X R).symm f =
    (AlgebraicGeometry.ΓSpec.locallyRingedSpaceAdjunction.homEquiv X.toLocallyRingedSpace R).symm
      (AlgebraicGeometry.Scheme.Hom.toLRSHom f)

theorem AlgebraicGeometry.ΓSpec.adjunction_counit_app' E1 #

∀ {R : CommRingCatᵒᵖ},
  AlgebraicGeometry.ΓSpec.adjunction.counit.app R = AlgebraicGeometry.ΓSpec.locallyRingedSpaceAdjunction.counit.app R

theorem AlgebraicGeometry.ΓSpec.adjunction_counit_app E0 #

∀ {R : CommRingCatᵒᵖ},
  AlgebraicGeometry.ΓSpec.adjunction.counit.app R = (AlgebraicGeometry.Scheme.ΓSpecIso (Opposite.unop R)).inv.op

def AlgebraicGeometry.Scheme.toSpecΓ E1 #

(X : AlgebraicGeometry.Scheme) → X ⟶ AlgebraicGeometry.Spec (X.presheaf.obj (Opposite.op ⊤))

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

theorem AlgebraicGeometry.ΓSpec.adjunction_unit_app E0 #

∀ {X : AlgebraicGeometry.Scheme}, AlgebraicGeometry.ΓSpec.adjunction.unit.app X = X.toSpecΓ

instance AlgebraicGeometry.ΓSpec.isIso_locallyRingedSpaceAdjunction_counit E0 #

CategoryTheory.IsIso AlgebraicGeometry.ΓSpec.locallyRingedSpaceAdjunction.counit

instance AlgebraicGeometry.ΓSpec.isIso_adjunction_counit E0 #

CategoryTheory.IsIso AlgebraicGeometry.ΓSpec.adjunction.counit

theorem AlgebraicGeometry.Scheme.toSpecΓ_apply E0 #

∀ (X : AlgebraicGeometry.Scheme) (x : ↥X),
  X.toSpecΓ x = (AlgebraicGeometry.Spec.map (X.presheaf.Γgerm x)) (IsLocalRing.closedPoint ↑(X.presheaf.stalk x))

theorem AlgebraicGeometry.Scheme.toSpecΓ_naturality_assoc E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y) {Z : AlgebraicGeometry.Scheme}
  (h : AlgebraicGeometry.Spec (Y.presheaf.obj (Opposite.op ⊤)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp Y.toSpecΓ h) =
    CategoryTheory.CategoryStruct.comp X.toSpecΓ
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec.map (AlgebraicGeometry.Scheme.Hom.appTop f)) h)

theorem AlgebraicGeometry.Scheme.toSpecΓ_naturality E1 #

∀ {X Y : AlgebraicGeometry.Scheme} (f : X ⟶ Y),
  CategoryTheory.CategoryStruct.comp f Y.toSpecΓ =
    CategoryTheory.CategoryStruct.comp X.toSpecΓ (AlgebraicGeometry.Spec.map (AlgebraicGeometry.Scheme.Hom.appTop f))

theorem AlgebraicGeometry.Scheme.toSpecΓ_appTop E0 #

∀ (X : AlgebraicGeometry.Scheme),
  AlgebraicGeometry.Scheme.Hom.appTop X.toSpecΓ =
    (AlgebraicGeometry.Scheme.ΓSpecIso (X.presheaf.obj (Opposite.op ⊤))).hom

theorem AlgebraicGeometry.SpecMap_ΓSpecIso_hom E0 #

∀ (R : CommRingCat),
  AlgebraicGeometry.Spec.map (AlgebraicGeometry.Scheme.ΓSpecIso R).hom = (AlgebraicGeometry.Spec R).toSpecΓ

theorem AlgebraicGeometry.SpecMap_ΓSpecIso_inv_toSpecΓ E0 #

∀ (R : CommRingCat),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec.map (AlgebraicGeometry.Scheme.ΓSpecIso R).inv)
      (AlgebraicGeometry.Spec R).toSpecΓ =
    CategoryTheory.CategoryStruct.id (AlgebraicGeometry.Spec ((AlgebraicGeometry.Spec R).presheaf.obj (Opposite.op ⊤)))

theorem AlgebraicGeometry.SpecMap_ΓSpecIso_inv_toSpecΓ_assoc E0 #

∀ (R : CommRingCat) {Z : AlgebraicGeometry.Scheme}
  (h : AlgebraicGeometry.Spec ((AlgebraicGeometry.Spec R).presheaf.obj (Opposite.op ⊤)) ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec.map (AlgebraicGeometry.Scheme.ΓSpecIso R).inv)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec R).toSpecΓ h) =
    h

theorem AlgebraicGeometry.toSpecΓ_SpecMap_ΓSpecIso_inv_assoc E0 #

∀ (R : CommRingCat) {Z : AlgebraicGeometry.Scheme} (h : AlgebraicGeometry.Spec R ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec R).toSpecΓ
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec.map (AlgebraicGeometry.Scheme.ΓSpecIso R).inv) h) =
    h

theorem AlgebraicGeometry.toSpecΓ_SpecMap_ΓSpecIso_inv E0 #

∀ (R : CommRingCat),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec R).toSpecΓ
      (AlgebraicGeometry.Spec.map (AlgebraicGeometry.Scheme.ΓSpecIso R).inv) =
    CategoryTheory.CategoryStruct.id (AlgebraicGeometry.Spec R)

theorem AlgebraicGeometry.Scheme.toSpecΓ_preimage_basicOpen E1 #

∀ (X : AlgebraicGeometry.Scheme) (r : ↑(X.presheaf.obj (Opposite.op ⊤))),
  (TopologicalSpace.Opens.map X.toSpecΓ.base).obj (PrimeSpectrum.basicOpen r) = X.basicOpen r

theorem AlgebraicGeometry.ΓSpecIso_inv_ΓSpec_adjunction_homEquiv E1 #

∀ {X : AlgebraicGeometry.Scheme} {B : CommRingCat} (φ : B ⟶ X.presheaf.obj (Opposite.op ⊤)),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.ΓSpecIso B).inv
      (AlgebraicGeometry.Scheme.Hom.appTop ((AlgebraicGeometry.ΓSpec.adjunction.homEquiv X (Opposite.op B)) φ.op)) =
    φ

theorem AlgebraicGeometry.ΓSpec_adjunction_homEquiv_eq E0 #

∀ {X : AlgebraicGeometry.Scheme} {B : CommRingCat} (φ : B ⟶ X.presheaf.obj (Opposite.op ⊤)),
  AlgebraicGeometry.Scheme.Hom.appTop ((AlgebraicGeometry.ΓSpec.adjunction.homEquiv X (Opposite.op B)) φ.op) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.ΓSpecIso B).hom φ

theorem AlgebraicGeometry.ΓSpecIso_obj_hom E1 #

∀ {X : AlgebraicGeometry.Scheme} (U : X.Opens),
  (AlgebraicGeometry.Scheme.ΓSpecIso (X.presheaf.obj (Opposite.op U))).hom =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.appTop (AlgebraicGeometry.Spec.map U.topIso.inv))
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Scheme.Hom.appTop (↑U).toSpecΓ) U.topIso.hom)

def AlgebraicGeometry.Spec.fullyFaithfulToLocallyRingedSpace E1 #

AlgebraicGeometry.Spec.toLocallyRingedSpace.FullyFaithful

The functor Spec.toLocallyRingedSpace : CommRingCatᵒᵖ ⥤ LocallyRingedSpace is fully faithful.

instance AlgebraicGeometry.instFullOppositeCommRingCatLocallyRingedSpaceToLocallyRingedSpace E0 #

AlgebraicGeometry.Spec.toLocallyRingedSpace.Full

Spec is a full functor.

instance AlgebraicGeometry.instFaithfulOppositeCommRingCatLocallyRingedSpaceToLocallyRingedSpace E0 #

AlgebraicGeometry.Spec.toLocallyRingedSpace.Faithful

Spec is a faithful functor.

def AlgebraicGeometry.Spec.fullyFaithful E1 #

AlgebraicGeometry.Scheme.Spec.FullyFaithful

The functor Spec : CommRingCatᵒᵖ ⥤ Scheme is fully faithful.

instance AlgebraicGeometry.Spec.full E0 #

AlgebraicGeometry.Scheme.Spec.Full

Spec is a full functor.

instance AlgebraicGeometry.Spec.faithful E0 #

AlgebraicGeometry.Scheme.Spec.Faithful

Spec is a faithful functor.

theorem AlgebraicGeometry.Spec.map_inj E0 #

∀ {R S : CommRingCat} {φ ψ : R ⟶ S}, AlgebraicGeometry.Spec.map φ = AlgebraicGeometry.Spec.map ψ ↔ φ = ψ

theorem AlgebraicGeometry.Spec.map_injective E0 #

∀ {R S : CommRingCat}, Function.Injective AlgebraicGeometry.Spec.map

theorem AlgebraicGeometry.Spec.map_eq_id E0 #

∀ {R : CommRingCat} {ϕ : R ⟶ R},
  AlgebraicGeometry.Spec.map ϕ = CategoryTheory.CategoryStruct.id (AlgebraicGeometry.Spec R) ↔
    ϕ = CategoryTheory.CategoryStruct.id R

def AlgebraicGeometry.Spec.preimage E1 #

{R S : CommRingCat} → (AlgebraicGeometry.Spec S ⟶ AlgebraicGeometry.Spec R) → (R ⟶ S)

The preimage under Spec.

theorem AlgebraicGeometry.Spec.map_preimage E0 #

∀ {R S : CommRingCat} (f : AlgebraicGeometry.Spec S ⟶ AlgebraicGeometry.Spec R),
  AlgebraicGeometry.Spec.map (AlgebraicGeometry.Spec.preimage f) = f

theorem AlgebraicGeometry.Spec.map_preimage_unop E0 #

∀ {R S : CommRingCat} (f : AlgebraicGeometry.Spec R ⟶ AlgebraicGeometry.Spec S),
  AlgebraicGeometry.Spec.map (AlgebraicGeometry.Spec.fullyFaithful.preimage f).unop = f

theorem AlgebraicGeometry.Spec.preimage_map E0 #

∀ {R S : CommRingCat} (φ : R ⟶ S), AlgebraicGeometry.Spec.preimage (AlgebraicGeometry.Spec.map φ) = φ

theorem AlgebraicGeometry.Spec.map_surjective E0 #

∀ {R S : CommRingCat}, Function.Surjective AlgebraicGeometry.Spec.map

Useful for replacing f by Spec.map φ everywhere in proofs.

def AlgebraicGeometry.Spec.homEquiv E1 #

{R S : CommRingCat} → (AlgebraicGeometry.Spec S ⟶ AlgebraicGeometry.Spec R) ≃ (R ⟶ S)

The Spec functor is fully faithful.

theorem AlgebraicGeometry.Spec.homEquiv_apply E0 #

∀ {R S : CommRingCat} (f : AlgebraicGeometry.Spec S ⟶ AlgebraicGeometry.Spec R),
  AlgebraicGeometry.Spec.homEquiv f = AlgebraicGeometry.Spec.preimage f

theorem AlgebraicGeometry.Spec.homEquiv_symm_apply E0 #

∀ {R S : CommRingCat} (f : R ⟶ S), AlgebraicGeometry.Spec.homEquiv.symm f = AlgebraicGeometry.Spec.map f

theorem AlgebraicGeometry.Spec.preimage_id E0 #

∀ {R : CommRingCat},
  AlgebraicGeometry.Spec.preimage (CategoryTheory.CategoryStruct.id (AlgebraicGeometry.Spec R)) =
    CategoryTheory.CategoryStruct.id R

theorem AlgebraicGeometry.Spec.preimage_comp_assoc E1 #

∀ {R S T : CommRingCat} (f : AlgebraicGeometry.Spec R ⟶ AlgebraicGeometry.Spec S)
  (g : AlgebraicGeometry.Spec S ⟶ AlgebraicGeometry.Spec T) {Z : CommRingCat} (h : R ⟶ Z),
  CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec.preimage (CategoryTheory.CategoryStruct.comp f g)) h =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec.preimage g)
      (CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec.preimage f) h)

theorem AlgebraicGeometry.Spec.preimage_comp E0 #

∀ {R S T : CommRingCat} (f : AlgebraicGeometry.Spec R ⟶ AlgebraicGeometry.Spec S)
  (g : AlgebraicGeometry.Spec S ⟶ AlgebraicGeometry.Spec T),
  AlgebraicGeometry.Spec.preimage (CategoryTheory.CategoryStruct.comp f g) =
    CategoryTheory.CategoryStruct.comp (AlgebraicGeometry.Spec.preimage g) (AlgebraicGeometry.Spec.preimage f)

theorem AlgebraicGeometry.Spec.preimage_injective E1 #

∀ {R S : CommRingCat}, Function.Injective AlgebraicGeometry.Spec.preimage

theorem AlgebraicGeometry.Spec.preimage_inj E0 #

∀ {R S : CommRingCat} (f g : AlgebraicGeometry.Spec S ⟶ AlgebraicGeometry.Spec R),
  AlgebraicGeometry.Spec.preimage f = AlgebraicGeometry.Spec.preimage g ↔ f = g

theorem AlgebraicGeometry.Spec.preimage_surjective E1 #

∀ {R S : CommRingCat}, Function.Surjective AlgebraicGeometry.Spec.preimage

def AlgebraicGeometry.Spec.homEquivRingHom E1 #

{R S : Type u} →
  [inst : CommRing R] → [inst_1 : CommRing S] → (AlgebraicGeometry.Spec ↧S ⟶ AlgebraicGeometry.Spec ↧R) ≃ (R →+* S)

A version of AlgebraicGeometry.Spec.homEquiv for concrete RingHom.

theorem AlgebraicGeometry.Spec.homEquivRingHom_apply E0 #

∀ {R S : Type u} [inst : CommRing R] [inst_1 : CommRing S] (a : AlgebraicGeometry.Spec ↧S ⟶ AlgebraicGeometry.Spec ↧R),
  AlgebraicGeometry.Spec.homEquivRingHom a =
    CategoryTheory.ConcreteCategory.homEquiv (AlgebraicGeometry.Spec.preimage a)

theorem AlgebraicGeometry.Spec.homEquivRingHom_symm_apply E0 #

∀ {R S : Type u} [inst : CommRing R] [inst_1 : CommRing S] (a : R →+* S),
  AlgebraicGeometry.Spec.homEquivRingHom.symm a =
    AlgebraicGeometry.Spec.map (CategoryTheory.ConcreteCategory.homEquiv.symm a)

def AlgebraicGeometry.Spec.homEquivAlgHom E1 #

{R : Type u} →
  [inst : CommRing R] →
    {A B : Type u} →
      [inst_1 : CommRing A] →
        [inst_2 : CommRing B] →
          [inst_3 : Algebra R A] →
            [inst_4 : Algebra R B] →
              { f //
                  CategoryTheory.CategoryStruct.comp f (AlgebraicGeometry.Spec.algebraMap R A) =
                    AlgebraicGeometry.Spec.algebraMap R B } ≃
                (A →ₐ[R] B)

The bijection between the set of scheme morphisms Spec B ⟶ Spec A commuting with their scheme morphisms to Spec R and the set of concrete algebra homomorphisms A →ₐ[R] B.

instance AlgebraicGeometry.instReflectiveLocallyRingedSpaceOppositeCommRingCatToLocallyRingedSpace E0 #

CategoryTheory.Reflective AlgebraicGeometry.Spec.toLocallyRingedSpace

instance AlgebraicGeometry.Spec.reflective E0 #

CategoryTheory.Reflective AlgebraicGeometry.Scheme.Spec

instance AlgebraicGeometry.instIsRightAdjointCommRingCatOppositeLocallyRingedSpaceΓ E0 #

AlgebraicGeometry.LocallyRingedSpace.Γ.IsRightAdjoint

instance AlgebraicGeometry.instIsRightAdjointCommRingCatOppositeSchemeΓ E0 #

AlgebraicGeometry.Scheme.Γ.IsRightAdjoint