Adjointness of the global section functor and the Spec functor
Let \(A\) be a ring and let \((X,\mathcal{O}_X)\) be a scheme. Given a morphism \(f:X\rightarrow \text{Spec}(A)\) we have an associated map on sheaves \(f^{\#}:\mathcal{O}_{\text{Spec}(A)}\rightarrow f_* \mathcal{O}_X\). Taking global sections, we obtain a homomorphism \(A\rightarrow \mathcal{O}_X(X)\). Thus there is a natural map \(\alpha: \text{Hom}_{\text{Schemes}}(X,\text{Spec}(A))\rightarrow \text{Hom}_{\text{Rings}}(A,\mathcal{O}_X(X)).\) Then, \(\alpha\) is bijective. We will try to understand this adjointness of Global section functor and Spec functor. Suppose we are given a scheme \((X,\mathcal{O}_X)\) and a ring homomoprhism \(\varphi: A\rightarrow \mathcal{O}_X(X)\). We construct a morphism of schemes \((f,f^{\#}):(X,\mathcal{O}_X)\rightarrow (\text{Spec}(A),\mathcal{O}_{\text{Spec}(A)})\). We first define morphism of topological spaces \(f:X\rightarrow \text{Spec}(A)\). Let \(x\in X\), we want to assign a prime ideal \(P\) in \(A\). Let \(X=\text{Spec}(B)\) and \(x=\mathfrak{P}\in X=\text{Spec}(B)\), as we have a ring homomorphism \(\varphi : A\rightarrow \mathcal{O}_X(X)=O_{\text{Spec}(B)}(\text{Spec}(B))=B\) ...