Affine schemes #
We define the category of AffineSchemes as the essential image of Spec.
We also define predicates about affine schemes and affine open sets.
Main definitions #
AlgebraicGeometry.AffineScheme: The category of affine schemes.AlgebraicGeometry.IsAffine: A scheme is affine if the canonical mapX ⟶ Spec Γ(X)is an isomorphism.AlgebraicGeometry.Scheme.isoSpec: The canonical isomorphismX ≅ Spec Γ(X)for an affine scheme.AlgebraicGeometry.AffineScheme.equivCommRingCat: The equivalence of categoriesAffineScheme ≌ CommRingᵒᵖgiven byAffineScheme.Spec : CommRingᵒᵖ ⥤ AffineSchemeandAffineScheme.Γ : AffineSchemeᵒᵖ ⥤ CommRingCat.AlgebraicGeometry.IsAffineOpen: An open subset of a scheme is affine if the open subscheme is affine.AlgebraicGeometry.IsAffineOpen.fromSpec: The immersionSpec 𝒪ₓ(U) ⟶ Xfor an affineU.
The category of affine schemes
A Scheme is affine if the canonical map X ⟶ Spec Γ(X) is an isomorphism.
- affine : CategoryTheory.IsIso X.toSpecΓ
Instances
The canonical isomorphism X ≅ Spec Γ(X) for an affine scheme.
Equations
Construct an affine scheme from a scheme and the information that it is affine.
Also see AffineScheme.of for a typeclass version.
Equations
- AlgebraicGeometry.AffineScheme.mk X x✝ = { obj := X, property := ⋯ }
Construct an affine scheme from a scheme. Also see AffineScheme.mk for a non-typeclass
version.
Equations
Type check a morphism of schemes as a morphism in AffineScheme.
Equations
Alias of AlgebraicGeometry.essImage_Spec.
Alias of AlgebraicGeometry.IsAffine.of_isIso.
If f : X ⟶ Y is a morphism between affine schemes, the corresponding arrow is isomorphic
to the arrow of the morphism on prime spectra induced by the map on global sections.
Equations
If f : A ⟶ B is a ring homomorphism, the corresponding arrow is isomorphic
to the arrow of the morphism induced on global sections by the map on prime spectra.
Equations
- One or more equations did not get rendered due to their size.
The Spec functor into the category of affine schemes.
We copy over instances from Scheme.Spec.toEssImage.
The forgetful functor AffineScheme ⥤ Scheme.
We copy over instances from Scheme.Spec.essImageInclusion.
The global section functor of an affine scheme.
The category of affine schemes is equivalent to the category of commutative rings.
An open subset of a scheme is affine if the open subscheme is affine.
Equations
The set of affine opens as a subset of opens X.
Equations
- X.affineOpens = {U : X.Opens | AlgebraicGeometry.IsAffineOpen U}
The canonical map U ⟶ Spec Γ(X, U) for an open U ⊆ X.
Equations
The isomorphism U ≅ Spec Γ(X, U) for an affine U.
The open immersion Spec Γ(X, U) ⟶ X for an affine U.
The affine open sets of an open subscheme corresponds to the affine open sets containing in the image.
Equations
- One or more equations did not get rendered due to their size.
The affine open sets of an open subscheme corresponds to the affine open sets containing in the subset.
Equations
- One or more equations did not get rendered due to their size.
Given an affine open U and some f : U,
this is the canonical map Γ(𝒪ₓ, D(f)) ⟶ Γ(Spec 𝒪ₓ(U), D(f))
This is an isomorphism, as witnessed by an IsIso instance.
Equations
- One or more equations did not get rendered due to their size.
f.app (Y.basicOpen r) is isomorphic to map induced on localizations
Γ(Y, Y.basicOpen r) ⟶ Γ(X, X.basicOpen (f.app U r))
Equations
- One or more equations did not get rendered due to their size.
The prime ideal of 𝒪ₓ(U) corresponding to a point x : U.
Equations
- hU.primeIdealOf x = (CategoryTheory.ConcreteCategory.hom hU.isoSpec.hom.base) x
The basic open set of a section f on an affine open as an X.affineOpens.
Equations
- X.affineBasicOpen f = ⟨X.basicOpen f, ⋯⟩
In an affine open set U, a family of basic open covers U iff the sections span Γ(X, U).
See iSup_basicOpen_of_span_eq_top for the inverse direction without the affine-ness assumption.
The restriction of Spec.map f to a basic open D(r) is isomorphic to Spec.map of the
localization of f away from r.
Equations
- One or more equations did not get rendered due to their size.
Given a spanning set of Γ(X, U), the corresponding basic open sets cover U.
See IsAffineOpen.basicOpen_union_eq_self_iff for the inverse direction for affine open sets.
Let P be a predicate on the affine open sets of X satisfying
- If
Pholds onU, thenPholds on the basic open set of every section onU. - If
Pholds for a family of basic open sets coveringU, thenPholds forU. - There exists an affine open cover of
Xeach satisfyingP.
Then P holds for every affine open of X.
This is also known as the Affine communication lemma in [The rising sea][RisingSea].
On a scheme X, the preimage of the zero locus of the prime spectrum
of Γ(X, ⊤) under X.toSpecΓ : X ⟶ Spec Γ(X, ⊤) agrees with the associated zero locus on X.
Alias of AlgebraicGeometry.Scheme.toSpecΓ_preimage_zeroLocus.
On a scheme X, the preimage of the zero locus of the prime spectrum
of Γ(X, ⊤) under X.toSpecΓ : X ⟶ Spec Γ(X, ⊤) agrees with the associated zero locus on X.
If X is affine, the image of the zero locus of global sections of X under X.isoSpec
is the zero locus in terms of the prime spectrum of Γ(X, ⊤).
Alias of AlgebraicGeometry.Scheme.isoSpec_image_zeroLocus.
If X is affine, the image of the zero locus of global sections of X under X.isoSpec
is the zero locus in terms of the prime spectrum of Γ(X, ⊤).
Given f : X ⟶ Spec A and some ideal I ≤ ker(A ⟶ Γ(X, ⊤)),
this is the lift to X ⟶ Spec (A ⧸ I).
Equations
- One or more equations did not get rendered due to their size.
If X ⟶ Spec A is a morphism of schemes, then Spec of A ⧸ specTargetImage f
is the scheme-theoretic image of f. For this quotient as an object of CommRingCat see
specTargetImage below.
Equations
If X ⟶ Spec A is a morphism of schemes, then Spec of specTargetImage f is the
scheme-theoretic image of f and f factors as
specTargetImageFactorization f ≫ Spec.map (specTargetImageRingHom f)
(see specTargetImageFactorization_comp).
Equations
If f : X ⟶ Spec A is a morphism of schemes, then f factors via
the inclusion of Spec (specTargetImage f) into X.
If f : X ⟶ Spec A is a morphism of schemes, the induced morphism on spectra of
specTargetImageRingHom f is the inclusion of the scheme-theoretic image of f into Spec A.
Variant of AlgebraicGeometry.localRingHom_comp_stalkIso for Spec.map.
Given a morphism of rings f : R ⟶ S, the stalk map of Spec S ⟶ Spec R at
a prime of S is isomorphic to the localized ring homomorphism.
Equations
- One or more equations did not get rendered due to their size.