Varieties and Schemes for Dummies, Part I
Posted by Urs Schreiber
I volunteered to produce a survey of the relation between varietes and schemes. Here are some notes.
The main goal of my exposition shall be to
describe how schemes are a generalization of varieties
or, more precisely, how varieties are a special case of schemes,
or, more precisely, how the category of varieties is a subcategory of that of schemes,
or, to be really precise, how there is a fully faithful functor
from the category of varieties over a field , into that of schemes over a field .
In order to be even able to state this result, I will need to say a few words about what varieties and schemes actually are.
Doing so already goes a long way towards proving the above statement, since the definition of a scheme is precisely motivated by the desire to generalize that of a variety.
What is it all about?
The main premise of algebraic geometry (as the study of varieties and schemes is called) is to regard (generalized) spaces as spectra.
If you feel like a physicist, you might want to regard this as a way of understanding observables like positions in terms of spectra of certain operators.
This point of view is clearly more pronounced in Alain Connes’ notion of spectral geometry (“NCG”), which is to algebraic geometry roughly like Riemannian geometry is to topology.
In both cases, the starting point is the basic observation that the information contained in ordinary spaces may be encoded in the (rings and/or algebras of) functions on these spaces.
In fact, both fit into the following dictionary
As the table indicates, algebraic geometry is motivated by the desire to understand the geometry of the spectrum of rings of polynomials. In this case, this “spectrum” is essentially the space of zeros of these polynomials. A more precise definition is given below.
Hence, (historically) much of the motivation for algebraic geometry comes from pure number theory, and the desire to understand it in geometrical terms. Accordingly, some of the more prominent examples of algebraic “spaces” are extremely exotic from the point of view of ordinary geometry.
Of course, the nice thing is that much more genuinely geometric objects, like complex manifolds, are also examples of schemes, which allows us to consider all these phenomena on the same footing.
So what is a variety?
Like a manifold is defined as being anything that locally looks like , an
affine variety is defined to be anything that looks like the set of common zeros of a collection of polynomials.
Example. Let be the ring of polynomials in with complex coefficients. Let be one such polynomial. Its set of zeros contains precisely one element, the number . This a point, which is an example of an affine variety.
More generally, every polynomial with complex coefficients is of the form , for fixed complex numbers. So the set of zeros is the disjoint collection of these points. This, too, is an affine variety.
But we said above that we want to think of spaces in terms of the functions living over them. So we need to find a sensible notion of functions on sets of common zeros of a collection of polynomials.
Assume the polynomial defining our affine variety is the 0-polynomial in , for some algebraically closed field (for instance ). Then the set of zeros is everything. In this context, this set is denoted and given the fancy name affine -space over .
The suitable ring of functions over is clearly nothing but the ring of polynomials itself. Moreover, we see that the points of are in 1-1 correspondence with the prime ideals of .
Essentially the same remains true if we look at an affine variety inside , i.e. at the set of common zeros of some plynomials .
From the point of view of the “space” , every polynomial in which vanishes on is indistuingishable from the zero polynomial. Equivalently, any two polynomials which coincide on are indistinguishable from within .
Hence, the relevant space of polynomial functions on is not quite the original , but the quotient of by the ideal of all those polynomials which vanish on , i.e. we identify two polynomials in if their difference lies in .
We call
the affine coordinate ring of .
The only possibly troubling aspect of all this is that we seem to be about to build a theory of geometry which relies heavily on coordinates.
But this is an illusion.
As a first step towards getting rid of this illusion, we do what we have done before in , but now inside : we look at subsets of functions that vanish at certain points. Such subsets are always ideals, in that the product of any function with one that vanishes at a given point also vanishes at that point. So we define
Definition. Given an affine variety , and given a point , we denote by the maximal ideal (and hence prime ideal) of coordinate functions on which vanish at .
Good. So far this is just a bunch of fancy terminology. But next, here is a little result which is, morally speaking, at the very heart of the spectral way of thinking about geometry.
Fact. ([Hart, Th. 3.2]) Let be an affine variety with coordinate ring . Then the assignment of points in to maximal ideals in is a bijection.
So we see that an affine variety can alternatively be described as something that locally looks like a collection of prime ideals of some ring of coordinate functions. This observation seamlessly leads to the generalization that we are after.
All we have to do is to pass from collections of prime ideals in coordinate rings to prime ideals in arbitrary rings . The collection of all such prime ideals is called the spectrum of .
And what is a scheme?
In brief,
a scheme is anything that locally looks like the spectrum of some ring.
If the scheme even globally looks like the spectrum of some ring, it is called an affine scheme.
Stated in this somewhat sloppy way, this is the most straightforward idea in the world. The only technical subtlety that needs to be taken care of is the precise definition of what it means for some object to locally look like some other entity.
But there is a standard, general nonsense answer to this. Sheaves.
The idea is this:
1) We equip our collections of points/prime ideals with a topology in order to be able to say what an open neighbourhood of a point/prime ideal could be.
2) Given that, we assign to each open set something like the corresponding coordinate ring of that set, pretty much (details below) like we did assign coordinate rings to affine variaties above.
3) We do this in such a way that restricting to smaller subsets corresponds suitably to a restriction of the corresponding coordinate rings.
Let’s first see how this works for our motivating example, the affine varieties.
This is a slight variation on the construction of the coordinate ring above.
So let be any affine variety in . Consider arbitrary functions from the variety into the ground field .
Definition. ([Hart, p. 15]) A function is regular if in the vicinity of every point of it looks like a quotient in . More precisely, if every point has a neightbourhood such that with and both in and nonvanishing on .
Clearly, the last condition on is necessary for the condition to make any sense. For the following generalization of this statement to a more algebraic formulation, notice that we can equivalently demand that is not an element of any of the ideals for .
Let us denote the collection of all regular functions on by . As the notation suggests, we can similarly associate to every open subset the regular functions on . This assignment gives a sheaf of rings.
For that to make sense, I need to say what an open set in an affine variety looks like.
Essentially, closed sets are sets of common zeros of polynomials and open sets are hence the complements thereof. More precisely, we have the following definitions:
Definition.([Hart, p. 2])
an algebraic subset of is a set of common zeros of a collection of polynomials .
the Zariski topology on is given by taking the open subsets to be the complements of the algebraic subsets.
the Zariski topology on an affine variety in is simply the subset topology induced by the Zariski topology on .
(Notice that the Zariski topology is quite different from the topology one might image intuitively. For instance, it is not Hausdorff. As far as I understand, it justifies itself by being well suited for the algebraic formulation.)
For moving from varieties to schemes, all we need to do is to take these definitions and rephrase them in a more algebraic way, that still applies if the ring of polynomials is replaced by any other ring.
So, given any ring , we now define the collection of all its points, equipped with a certain topology.
Definition.([Hart, p. 70]) Given any ring , its spectrum, is
as a set, the collection of all prime ideals in
equipped with the topology in which closed sets are collections of all those prime ideals that contain a specified ideal of ,
and equipped with the sheaf of rings of regular functions on , to be defined below.
Notice how this reproduces the definition for affine varieties above in the case where is a ring of polynomials, the ideal of polynomials vanishing on an algebraic subset and the collection of all prime ideals consisting of polynomials that vanish at any given point of .
There is now only one ingredient left, which we need to generalize from varieties to schemes: given an abstract spectrum of some ring , we need to have a notion of regular functions on .
Essentially, a regular function on the spectrum of a ring will, as for varieties, be a function on the spectrum which is locally given by the quotient of two elements of the ring.
The only technical subtlety to be taken care of is hence the precise notion of quotient in an arbitrary ring.
We need some basic notions of ring theory:
What distinguishes a ring from a field is of course that a ring need not have multiplicative inverses. But given some ring , we may want to add in formal multiplicative inverses to at least some of its elements (for instance for forming the sort of quotients that we are after).
If we declare some element to be invertible, we clearly have, for consistency, also to take any powers to be invertible. More generally, we may invert any subset which contains the unit 1 and is closed under multiplication. Such a subset is called a multiplicative subset, for obvious reasons.
Inverting elements of in then means that we form formal fractions with and and multiply them componentwise , where the product in the numerator and in the denominator is that in . Of course we want to identify fractions that are reducible. This is done in a fashion slightly more sophisticated than one might expect:
We take not just if , but if there exists any such that
Passing to equivalence classes of fractions this way gives rise to a new ring denoted and called the localization of at .
For our application, we always need two special cases of multiplicative systems.
1) For any prime ideal of , is a multiplicative system. The corresponding localization is denoted
(It’s clear, but worth emphasizing, that is obtained by inverting everything that is not in .)
Given our identification of prime ideals with points in generalized spaces, we can understand the terminology localization of the ring geometrically: prime ideals correspond to sets of functions all vanishing at a given point . Taking every function to be invertible that is not in this ideal, hence does not vanish at is like restricting all functions to the point , since its precisely in this restriction that all functions not in become invertible. Hence inverting corresponds to localizing functions to a given point.
Accordingly, the ring is a local ring, namely one which contains precisely one maximal ideal. This maximal ideal is precisely itself.
2) Sometimes, though, we just have a single element and feel like inverting it. So we also invert all its powers , which together form a multiplicative system . Maybe somewhat confusingly, the resulting ring of fractions
is also denoted by a subscript. Beware that now the subscript indicates what has to be inverted, while in the other example it indicated elements that were not to be inverted.
All right, so much for rings of fractions. Recall that I recalled this in order to be able to give an abstract definition of regular functions on a spectrum, which should locally look like such fractions.
More precisely, a regular function should locally look like a fraction whose denominator is locally nonvanishing, in some sense. Ultimately, this means that at every point, the regular function must be a quotient whose denominator is nonvanishing, at that point.
That we can easily rephrase algebraically:
Over every point (to be thought of as a prime ideal of functions vanishing at that point), we require the regular function to take values in the ring of fractions obtained by localizing to that point, as described above, i.e. in . There, its value is a formal fraction of the form , with and .
Instead of rambling on, I could just as well state the precise
Definition. ([Hart, p. 70]) Over each open set of the spectrum , the ring of regular functions on the spectrum, restricted to , is the ring of all maps with and .
I tried to indicate the simple idea behind this definition. In as far as it looks awkward, this is due to the fact that in the abstract (intrinsic) setup of schemes, we have no global, ambient coordinate ring in which everything takes place, like we had for affine varieties. As a consequence, a regular functions maps each point to a different ring.
But if we don’t like this, we can easily get something nice by forgetting some information.
Namely, in the above, we still distinguish, at every point of the spectrum, functions that coincide at that given point if they disagree away from that point. That’s not what you’d usually expect when comparing functions restricted to a point.
Hence, as we did above for polynomial coordinate functions on varieties, we may want to identify elements of if they differ by an element that “is zero” at . As before, this corresponds to dividing out the prime ideal and passing to
Since this is a quotient by a maximal ideal it is in fact a field, and the same field for each . When schemes and varieties are related below, this quotienting out by ideals allows us to identify regular functions on spectra with regular functions on affine varieties.
Anyway, for the moment we shall be content with recording that the assignment of regular functions to open sets of a spectrum
is a sheaf of commutative rings with units.
We hence find, that both affine varienties as well as spectra of rings come to us as pairs
of a topological space
together with a sheaf of rings on .
In fact, these sheaves have the special property (as I vaguely indicated above) that the stalk over each point is a local ring (and hence something that we may interpret as a ring of coordinate functions regarded at a given point).
So let’s give this structure a name:
Definition.([Hart, p. 72]) A ringed space is a a pair consisting of a topological space and a sheaf of rings on .
If each stalk is a local ring, this is called a locally ringed space.
For example, supermanifolds are naturally regarded as ringed spaces, whose rings are the rings of “bosonic” and “fermionic” coordinate functions over them ().
There is an obvious notion of morphisms between ringed spaces: a morphism
is a pair of a continuous map and a morphism of sheaves
There is a more or less obvious refinement of this definition to morphisms of locally ringed spaces.
( denotes the pushforward of sheaves along . For more on pushing and pulling of sheaves see this recent entry.)
To conclude, all these considerations, we have found
that sets of common zeros of polynomials come with regular function on them such that they form a locally ringed space.
By more or less straightforwardly generalizing this construction away from rings of polynomials to arbitrary rings, we have equipped the collection of prime ideals of any arbitrary ring with a notion of regular functions on it and hence, too, with the structure of a locally ringed space.
The first item describes (up to some conditions) affine varieties. The second is a generalization thereof and called an affine scheme.
Essentially. This is a slight lie. Since there is a category of ringed spaces, we want to be careful with identifying them on the nose. So instead of saying that an affine variety is a spectrum , we say that an affine variety is anything ismorphic (in the category of locally ringed spaces) to , for some .
When we are even more relaxed about identifying structures, we will identify by isomorphisms only locally. A scheme is something that locally looks like an affine scheme:
Definition.([Hart, p. 74])
An affine scheme is a locally ringed space which is isomorphic to the spectrum of some ring
A scheme is a locally ringed space in which every point has a neighbourhood that is an affine scheme.
In particular, schemes form a subcategory of that of locally ringed spaces.
The answer to the following question is now almost obvious:
How are varieties a special case of schemes?
The way schemes were defined as a generalization of varieties makes this almost a tautology. But in order to do it properly one has to take care of the technicalities.
Fact (roughly)([Hart, prop. 2.6]) Varieties are fully faithfully embedded into the category of schemes.
The idea of the proof is this: given any variety with coordinate ring , we construct an isomorphism
from the variety to the spectrum of its coordinate ring.
This isomorphism consists of
the homeomorphism
which sends every point of the variety to the prime ideal of regular functions that vanish at this point,
the isomorphism of sheaves
which simply sends every regular function on (which, recall, takes values in a disjoint union of local rings instead of in a field) to the regular function on obtained by identifying over each point sections that agree on that point.
As I have tried to discuss in some detail above, this corresponds to quotienting over each point by .
That this makes good sense is a consequence of the following
Fact.([Hart, prop. 2.2]) On the locally ringed space , the stalk over any point is isomorphic to the local ring , There are more details, which I have glossed over here.
Re: Varieties and Schemes for Dummies, Part I
Thank you so much for this site. I appreciate the clear, plain-English exposition.