5 Schemes as Locally Ringed Locales
5.1 Locally Ringed Locales
A locally ringed locale is a pair \((X, \mathcal{O}_X)\) where:
\(X\) is a locale (a frame)
\(\mathcal{O}_X\) is a sheaf of rings on \(X\)
For every open \(u \in X\), the stalk \(\mathcal{O}_{X,\bar{u}}\) is a local ring (has a unique maximal ideal)
For a sheaf \(\mathcal{F}\) on a locale \(X\) and an element \(u \in X\), the stalk is defined as:
where \(\downarrow u := \{ v \in X : v \leq u\} \) is the principal order filter at \(u\).
When \(u\) is a prime element in the frame (which exists for frames arising as radical ideals), the stalk has better properties. In the Zariski locale, these correspond to prime ideals.
5.2 Affine Schemes
An affine scheme is a locally ringed locale of the form \((\mathrm{Spec} R, \mathcal{O}_{\mathrm{Spec} R})\) for some commutative ring \(R\), where:
\(\mathrm{Spec} R = \mathrm{Rad}(R)\) is the Zariski locale
\(\mathcal{O}_{\mathrm{Spec} R}\) is the structure sheaf constructed in Definition 38
Every affine scheme \((\mathrm{Spec} R, \mathcal{O}_{\mathrm{Spec} R})\) is a locally ringed locale.
We need to verify that for every \(D(f) \in \mathrm{Spec} R\), the stalk \(\mathcal{O}_{\mathrm{Spec} R, \overline{D(f)}}\) is a local ring.
The stalk at \(D(f)\) is:
This is an inverse limit of localizations. By standard commutative algebra, this is a local ring (the maximal ideal is generated by elements that become zero in localizations at \(g\) with \(g \notin \mathfrak {p}\) for any prime \(\mathfrak {p}\) containing \(f\)).
5.3 Morphisms of Schemes
A morphism of affine schemes from \(\mathrm{Spec} R\) to \(\mathrm{Spec} S\) is a morphism of locally ringed locales, i.e., a pair \((f_{\# }, f^{\sharp })\) where:
\(f_{\# }: \mathrm{Spec} R \to \mathrm{Spec} S\) is a locale morphism (i.e., a frame homomorphism \(f_{\# }^*: \mathrm{Rad}(S) \to \mathrm{Rad}(R)\))
\(f^{\sharp }: \mathcal{O}_S \to f_{\# *} \mathcal{O}_R\) is a morphism of sheaves of rings respecting the local ring structure
Every ring homomorphism \(\phi : S \to R\) induces a morphism of affine schemes:
Given \(\phi : S \to R\), the induced frame homomorphism \(\phi ^*: \mathrm{Rad}(S) \to \mathrm{Rad}(R)\) (from Definition 26) gives the locale morphism \(f_{\# }: \mathrm{Spec} R \to \mathrm{Spec} S\).
For the sheaf morphism \(f^{\sharp }: \mathcal{O}_S \to f_{\# *}\mathcal{O}_R\), use the universal properties of localization and the functoriality of the structure sheaf.
5.4 Gluing and General Schemes
A scheme is a locally ringed locale \((X, \mathcal{O}_X)\) such that \(X\) has an open cover \(\{ u_i : i \in I\} \) (where \(\bigvee _i u_i = \top \)) with the property that:
The restriction \((u_i, \mathcal{O}_X|_{u_i})\) to each open is isomorphic to an affine scheme \(\mathrm{Spec} R_i\)
The transition functions between affine pieces are given by ring homomorphisms
This definition is intrinsically pointfree: instead of patching together affine schemes along points, we patch together basic opens and use the distributive lattice structure of the Zariski locale to manage overlaps.
Schemes form a category with morphisms being locale morphisms respecting the ringed structure. Affine schemes are the full subcategory of schemes admitting a single affine open cover.
Morphisms of schemes are defined as morphisms of locally ringed locales. Composition and identities are inherited from the category of locales and sheaves.
An affine scheme \(\mathrm{Spec} R\) has the full ring \(R\) as a single affine open (this corresponds to \(D(1) = \top \)).