Let \(A\) be a ring. We have corresponding topological space \(X=\text{Spec}(A)\), the collection of all prime ideals of \(A\) with Zariski Topology. We now define a sheaf on \(X\) called the structure sheaf, denoted by \(\mathcal{O}_X\). This \(X\) with this structure sheaf \(\mathcal{O}_X\) is called an affine scheme, These affine schemes are building blocks of what is called an arbitrary scheme.
To define a sheaf on \(X\) we need to associate a ring for each \(U\) open in \(X\). We do that as follows :
where the condition \(\dagger\) says that given \(p\in U\) we have \(s(p)\in A_p\) and that \(s\) is locally a fraction i.e., given \(p\in U\) there exists an open set \(U(p)\subseteq U\) and \(a\in A, f\in A\) such that \(s(q)=\frac{a}{f}\in A_q\) for all \(q\in U(p)\).
The verification that this gives a sheaf on \(X\) is same as that of the verification that sheafification of a sheaf is a sheaf. We can see the similarity between the definitions. More details can be found here about the similarity. So, \((X,\mathcal{O}_X)\) forms a ringed space, which we call an affine scheme.
We will now see results about the global sections, stalks of structure sheaf and what does structure sheaf give on basic open subsets of \(X=\text{Spec}(A)\).
Proposition : Let \(A\) be a ring, and \((\text{Spec A},\mathcal{O})\) its spectrum.
where the condition \(\dagger\) says that given \(p\in U\) we have \(s(p)\in A_p\) and that \(s\) is locally a fraction i.e., given \(p\in U\) there exists an open set \(U(p)\subseteq U\) and \(a\in A, f\in A\) such that \(s(q)=\frac{a}{f}\in A_q\) for all \(q\in U(p)\).
The verification that this gives a sheaf on \(X\) is same as that of the verification that sheafification of a sheaf is a sheaf. We can see the similarity between the definitions. More details can be found here about the similarity. So, \((X,\mathcal{O}_X)\) forms a ringed space, which we call an affine scheme.
We will now see results about the global sections, stalks of structure sheaf and what does structure sheaf give on basic open subsets of \(X=\text{Spec}(A)\).
Proposition : Let \(A\) be a ring, and \((\text{Spec A},\mathcal{O})\) its spectrum.- For any \(\mathfrak{p}\in \text{Spec A}\), the stalk \(\mathcal{O}_{\mathfrak{p}}\) of the sheaf \(\mathcal{O}_{}\) is isomorphic to the local ring \(A_{\mathfrak{p}}\) i.e., \(\mathcal{O}_{\mathfrak{p}}\cong A_{\mathfrak{p}}\).
- For any element \(f\in A\), the ring \(\mathcal{O}(D(f))\) is isomorphic to the localized ring \(A_f\) i.e., \(\mathcal{O}(D(f))\cong A_f\).
- In particular, \(\Gamma(\text{Spec A}, \mathcal{O})\cong A\).