Ring Theory 05: Structure Sheaf and Affine Schemes
Ring theory / 05
Structure sheaf and affine schemes
The structure sheaf assigns to \(D(f)\) the localization \(A_f\). This single formula explains why localization is restriction to an open set and why an affine scheme is a locally ringed space.
The structure sheaf becomes natural only after localization and the basic open sets \(D(f)\) are understood. The formula for regular functions on \(D(f)\) is not an isolated definition; it is the geometric meaning of \(A_f\).
The defining formula on basic opens
Let \(X=\operatorname{Spec}A\). For every \(f\in A\), define
\[\mathcal O_X(D(f))=A_f.\]If \(D(g)\subseteq D(f)\), then \(V(f)\subseteq V(g)\). Using the standard identity
\[\sqrt{(f)}=\bigcap_{\mathfrak p\supseteq(f)}\mathfrak p,\]this is equivalent to \(g\in\sqrt{(f)}\). Thus some power of \(g\) lies in \((f)\), so \(f\) becomes invertible in \(A_g\). The restriction from \(D(f)\) to \(D(g)\) is therefore induced by the universal property of localization:
\[A_f\to A_g.\]Explicitly, if \(g^N=hf\), then in \(A_g\) the element \(g^N\) is a unit, and
\[f\cdot hg^{-N}=1.\]Hence \(f\) is a unit in \(A_g\), so any fraction with powers of \(f\) in the denominator restricts to a valid element of \(A_g\).
In practice, restricting functions means allowing more denominators. The identity
\[D(f)\cap D(g)=D(fg)\]means overlaps are controlled by the localization \(A_{fg}\).
Sections over arbitrary opens
For an arbitrary open set \(U\subseteq X\), a section \(s\in\mathcal O_X(U)\) can be described as a function assigning to each \(\mathfrak p\in U\) an element
\[s_{\mathfrak p}\in A_{\mathfrak p}\]such that locally near every \(\mathfrak p\), the section is represented by a single fraction in a localization of \(A\). More explicitly, for every \(\mathfrak p\in U\), there is a basic open \(D(f)\subseteq U\) containing \(\mathfrak p\) and elements \(a\in A\), \(n\ge0\), such that
\[s_{\mathfrak q}=\frac a{f^n}\in A_{\mathfrak q}\]for all \(\mathfrak q\in D(f)\).
Here \(s_{\mathfrak p}\) denotes the germ in the local ring. Compatible families of such germs glue, and local representability is preserved under gluing, so this construction satisfies the sheaf axioms.
Values of sections at points
If \(\mathfrak p\in U\) and \(s\in\mathcal O_X(U)\), the germ of \(s\) at \(\mathfrak p\) lies in the local ring
\[\mathcal O_{X,\mathfrak p}\cong A_{\mathfrak p}.\]Composing with the quotient map to the residue field gives a value
\[s(\mathfrak p)\in\kappa(\mathfrak p).\]For a global section \(a\in A=\Gamma(X,\mathcal O_X)\), this value is exactly the image of \(a\) in \(\kappa(\mathfrak p)\). Hence the residue-field value map
\[\mathfrak p\mapsto a(\mathfrak p)\in\kappa(\mathfrak p)\]is the pointwise shadow of the global regular function \(a\).
The germ \(s_{\mathfrak p}\) belongs to the local ring, whereas its residue value \(s(\mathfrak p)\) belongs to the residue field. The local ring retains information lost under this quotient: in \(k[\epsilon]/(\epsilon^2)\), the nonzero section \(\epsilon\) has zero residue value at the unique point. Restrictions and gluing are therefore formulated for sections and their germs.
Why the structure presheaf glues
Suppose \(D(f)=\bigcup_i D(f_i)\), and suppose sections
\[s_i\in A_{f_i}\]agree on overlaps \(D(f_i f_j)\). The claim is that they glue uniquely to a section on \(D(f)\), hence to an element of \(A_f\).
The algebra behind this statement is localization plus a finite-subcover principle for basic opens in affine spectra: if \(D(f)\subseteq\bigcup_i D(f_i)\), then \(f\) lies in the radical of the ideal generated by finitely many \(f_i\). This permits denominators to be cleared after replacing equalities by sufficiently high powers.
Proof outline
Work in \(R=A_f\) and choose a finite subcover, writing its defining elements as \(r_1,\ldots,r_m\in R\). The sections are \(s_i\in R_{r_i}\), equal in \(R_{r_ir_j}\) on overlaps. For a sufficiently large common \(N\), clearing denominators and then the finitely many compatibility equalities gives elements \(t_i\in R\) satisfying
\[t_i|_{R_{r_j}}=r_i^N s_j \qquad\text{for every }i,j.\]Since the \(D(r_i)\) cover \(\operatorname{Spec}R\), the ideal \((r_1^N,\ldots,r_m^N)\) is the unit ideal. Choose \(b_i\in R\) with \(\sum_i b_i r_i^N=1\). Then
\[s=\sum_i b_i t_i\in R\]restricts to \(\sum_i b_i r_i^N s_j=s_j\) on each \(D(r_j)\). For uniqueness, if \(u\in R\) restricts to zero everywhere, some common power satisfies \(r_i^N u=0\) for every \(i\); a unit-ideal relation for these powers gives \(u=0\). The section also agrees with all members of the original cover, since their intersections with the finite subcover cover them and the uniqueness argument applies there.
This is the standard basis-sheaf construction: giving \(\mathcal O_X(D(f))=A_f\) with the localization restriction maps on the basis \({D(f)}\) determines a unique sheaf on \(X\), because the basis is closed under finite intersections and the displayed gluing condition holds on basis covers.
Stalks of the structure sheaf
Let \(\mathfrak p\in\operatorname{Spec}A\). The basic open neighborhoods of \(\mathfrak p\) are exactly \(D(f)\) with \(f\notin\mathfrak p\). Therefore
\[\mathcal O_{X,\mathfrak p} = \varinjlim_{\mathfrak p\in D(f)}A_f \cong (A\setminus\mathfrak p)^{-1}A =A_{\mathfrak p}.\]The isomorphism sends the germ represented by \(a/f^n\in A_f\), with \(f\notin\mathfrak p\), to the same fraction in \(A_{\mathfrak p}\). It is well-defined because passing to a smaller basic neighborhood means further localization. It is surjective since every fraction \(a/s\in A_{\mathfrak p}\) is represented on \(D(s)\). It is injective because if two representatives \(a/f^n\in A_f\) and \(b/g^m\in A_g\) have the same image in \(A_{\mathfrak p}\), then equality holds after multiplying by some \(t\notin\mathfrak p\), hence after restricting both representatives to the common smaller neighborhood \(D(fgt)\).
Because \(A_{\mathfrak p}\) is local, every affine spectrum with its structure sheaf is a locally ringed space.
Definition of affine scheme
The affine scheme associated to \(A\) is
\[\operatorname{Spec}A = \left(|\operatorname{Spec}A|,\mathcal O_{\operatorname{Spec}A}\right),\]where the underlying topological space has prime ideals as points and Zariski topology, and the sheaf is the structure sheaf above.
Affine scheme
An affine scheme is a locally ringed space isomorphic to \(\operatorname{Spec}A\) for some commutative ring \(A\).
Global sections
The global sections of the structure sheaf are
\[\Gamma(\operatorname{Spec}A,\mathcal O_{\operatorname{Spec}A}) = \mathcal O_{\operatorname{Spec}A}(\operatorname{Spec}A) =A.\]Since \(\operatorname{Spec}A=D(1)\), this is \(\mathcal O(D(1))=A_1\cong A\). This is the precise recovery theorem for affine schemes: the ring we started with is recovered as the ring of global regular functions.
Examples
For \(X=\operatorname{Spec}k[x]\), the basic open \(D(x)\) is the affine line with the closed point \((x)\) removed. Its ring of functions is
\[k[x]_x=k[x,x^{-1}].\]For \(X=\operatorname{Spec}\mathbb Z\), the basic open \(D(p)\) consists of primes not containing \(p\). Its functions are
\[\mathbb Z[1/p].\]For \(A=k[x,y]/(xy)\), the relation \(xy=0\) becomes \(y=0\) after inverting \(x\). Thus \(A_x\cong k[x,x^{-1}]\), and \(D(x)\) is the \(x\)-axis with the origin removed.
Common confusion
Every section on \(D(f)\) is represented by \(a/f^n\) for some \(a\in A\) and \(n\ge0\). Such a section can fail to extend across \(V(f)\): for example, \(1/x\) is regular on \(D(x)\subset\operatorname{Spec}k[x]\) and has no extension over the origin.
