The category of schemes #
A scheme is a locally ringed space such that every point is contained in some open set
where there is an isomorphism of presheaves between the restriction to that open set,
and the structure sheaf of Spec R, for some commutative ring R.
A morphism of schemes is just a morphism of the underlying locally ringed spaces.
We define Scheme as an X : LocallyRingedSpace,
along with a proof that every point has an open neighbourhood U
so that the restriction of X to U is isomorphic,
as a locally ringed space, to Spec.toLocallyRingedSpace.obj (op R)
for some R : CommRingCat.
- local_affine (x : ↑self.toTopCat) : ∃ (U : TopologicalSpace.OpenNhds x) (R : CommRingCat), Nonempty (self.restrict ⋯ ≅ Spec.toLocallyRingedSpace.obj (Opposite.op R))
Instances For
Pretty printer for coercing schemes to types.
Instances For
The type of open sets of a scheme.
Instances For
A morphism between schemes is a morphism between the underlying locally ringed spaces.
Instances For
Cast a morphism of schemes into morphisms of local ringed spaces.
Instances For
See Note [custom simps projection]
Instances For
Schemes are a full subcategory of locally ringed spaces.
f ⁻¹ᵁ U is notation for (Opens.map f.base).obj U, the preimage of an open set U under f.
The preferred name in lemmas is preimage and it should be treated as an infix.
Instances For
Γ(X, U) is notation for X.presheaf.obj (op U).
Instances For
Pretty printer for coercing morphisms between schemes to functions.
Instances For
Pretty printer for applying morphisms of schemes to set-theoretic points.
Instances For
The structure sheaf of a scheme.
Instances For
We give schemes the specialization preorder by default.
Given a morphism of schemes f : X ⟶ Y, and open U ⊆ Y,
this is the induced map Γ(Y, U) ⟶ Γ(X, f ⁻¹ᵁ U).
This is treated as a suffix in lemma names.
Instances For
Given a morphism of schemes f : X ⟶ Y, this is the induced map Γ(Y, ⊤) ⟶ Γ(X, ⊤).
This is treated as a suffix in lemma names.
Instances For
Given a morphism of schemes f : X ⟶ Y, and open sets U ⊆ Y, V ⊆ f ⁻¹' U,
this is the induced map Γ(Y, U) ⟶ Γ(X, V).
This is treated as a suffix in lemma names.
Instances For
A morphism of schemes f : X ⟶ Y induces a local ring homomorphism from
Y.presheaf.stalk (f x) to X.presheaf.stalk x for any x : X.
Instances For
The forgetful functor from Scheme to LocallyRingedSpace.
Instances For
The forget functor Scheme ⥤ LocallyRingedSpace is fully faithful.
Instances For
An isomorphism of schemes induces a homeomorphism of the underlying topological spaces.
Instances For
Alias of AlgebraicGeometry.Scheme.homeoOfIso.
An isomorphism of schemes induces a homeomorphism of the underlying topological spaces.
Instances For
An isomorphism of schemes induces a homeomorphism of the underlying topological spaces.
Instances For
forgetful functor to TopCat is the same as coercion
Instances For
The forgetful functor from Scheme to Type.
Instances For
forgetful functor to Scheme is the same as coercion
Instances For
Copies a morphism with a different underlying map
Instances For
Alias of AlgebraicGeometry.Scheme.Hom.id_base.
Alias of AlgebraicGeometry.Scheme.Hom.id_app.
Alias of AlgebraicGeometry.Scheme.Hom.id_appTop.
Alias of AlgebraicGeometry.Scheme.Hom.comp_base.
Alias of AlgebraicGeometry.Scheme.Hom.comp_base.
Alias of AlgebraicGeometry.Scheme.Hom.comp_apply.
Alias of AlgebraicGeometry.Scheme.Hom.comp_app.
Alias of AlgebraicGeometry.Scheme.Hom.comp_appTop.
Alias of AlgebraicGeometry.Scheme.Hom.comp_appLE.
Alias of AlgebraicGeometry.Scheme.Hom.congr_app.
Alias of AlgebraicGeometry.Scheme.Hom.app_eq.
Alias of AlgebraicGeometry.Scheme.Hom.eqToHom_app.
Alias of AlgebraicGeometry.Scheme.Hom.inv_app.
Alias of AlgebraicGeometry.Scheme.Hom.inv_appTop.
Alias of CategoryTheory.eqToHom_map.
The spectrum of a commutative ring, as a scheme.
The notation Spec(R) for (R : Type*) [CommRing R] to mean Spec (CommRingCat.of R) is
enabled in the scope SpecOfNotation. Please do not use it within Mathlib, but it can be
used in downstream projects if desired. To use this, do:
import Mathlib.AlgebraicGeometry.Scheme
variable (R : Type*) [CommRing R]
open scoped SpecOfNotation
#check Spec(R)
Instances For
The spectrum of an unbundled ring as a scheme.
WARNING: This is potentially confusing as Spec (R) and Spec(R) have different meanings.
Hence we avoid using it in mathlib but leave it as a scoped instance for downstream projects.
WARNING: If R is already an element of CommRingCat, you should use Spec R instead of
Spec(R), which is secretly Spec(↑R).
Instances For
The induced map of a ring homomorphism on the ring spectra, as a morphism of schemes.
Instances For
The spectrum, as a contravariant functor from commutative rings to schemes.
Instances For
Alias of AlgebraicGeometry.Spec.map_apply.
The global sections as a functor. For the global section themselves, use Γ(X, ⊤) instead.
Instances For
The counit (SpecΓIdentity.inv.op) of the adjunction Γ ⊣ Spec as a natural isomorphism.
This is almost never needed in practical use cases. Use ΓSpecIso instead.
Instances For
The global sections of Spec R is isomorphic to R.
Instances For
The subset of the underlying space where the given section does not vanish.
Instances For
A variant of mem_basicOpen for bundled x : U.
A variant of mem_basicOpen without the x ∈ U assumption.
The zero locus of a set of sections s over an open set U is the closed set consisting of
the complement of U and of all points of U, where all elements of f vanish.
Instances For
Alias of AlgebraicGeometry.Scheme.SpecMap_presheaf_map_eqToHom.
Alias of AlgebraicGeometry.Scheme.hom_inv_apply.
Alias of AlgebraicGeometry.Scheme.inv_hom_apply.
If x = y, the stalk maps are isomorphic.
Instances For
Alias of AlgebraicGeometry.Scheme.Hom.stalkMap_id.
Alias of AlgebraicGeometry.Scheme.Hom.stalkSpecializes_stalkMap.
Alias of AlgebraicGeometry.Scheme.Hom.stalkSpecializes_stalkMap_assoc.
Alias of AlgebraicGeometry.Scheme.Hom.stalkSpecializes_stalkMap_apply.
Alias of AlgebraicGeometry.Scheme.Hom.stalkMap_congr_hom_assoc.
Alias of AlgebraicGeometry.Scheme.Hom.stalkMap_congr_point_assoc.
Alias of AlgebraicGeometry.Scheme.Hom.stalkMap_hom_inv_assoc.
Alias of AlgebraicGeometry.Scheme.Hom.stalkMap_hom_inv_apply.
Alias of AlgebraicGeometry.Scheme.Hom.stalkMap_inv_hom_assoc.
Alias of AlgebraicGeometry.Scheme.Hom.stalkMap_inv_hom_apply.
Alias of AlgebraicGeometry.Scheme.Hom.arrowStalkMapIsoOfEq.
If x = y, the stalk maps are isomorphic.