Ringed space

In mathematics, a ringed space is a family of (commutative) rings parametrized by open subsets of a topological space together with ring homomorphisms that play roles of restrictions. Precisely, it is a topological space equipped with a sheaf of rings called a structure sheaf. It is an abstraction of the concept of the rings of continuous (scalar-valued) functions on open subsets.

Among ringed spaces, especially important and prominent is a locally ringed space: a ringed space in which the analogy between the stalk at a point and the ring of germs of functions at a point is valid.

Ringed spaces appear in analysis as well as complex algebraic geometry and the scheme theory of algebraic geometry.

Note: In the definition of a ringed space, most expositions tend to restrict the rings to be commutative rings, including Hartshorne and Wikipedia. Éléments de géométrie algébrique, on the other hand, does not impose the commutativity assumption, although the book mostly considers the commutative case.

Definitions
A ringed space $$(X,\mathcal{O}_X)$$ is a topological space $$X$$ together with a sheaf of rings $$\mathcal{O}_X$$ on $$X$$. The sheaf $$\mathcal{O}_X$$ is called the structure sheaf of $$X$$.

A locally ringed space is a ringed space $$(X,\mathcal{O}_X)$$ such that all stalks of $$\mathcal{O}_X$$ are local rings (i.e. they have unique maximal ideals). Note that it is not required that $$\mathcal{O}_X(U)$$ be a local ring for every open set $$U$$; in fact, this is almost never the case.

Examples
An arbitrary topological space $$X$$ can be considered a locally ringed space by taking $$\mathcal{O}_X$$ to be the sheaf of real-valued (or complex-valued) continuous functions on open subsets of $$X$$. The stalk at a point $$x$$ can be thought of as the set of all germs of continuous functions at $$x$$; this is a local ring with the unique maximal ideal consisting of those germs whose value at $$x$$ is $$0$$.

If $$X$$ is a manifold with some extra structure, we can also take the sheaf of differentiable, or holomorphic functions. Both of these give rise to locally ringed spaces.

If $$X$$ is an algebraic variety carrying the Zariski topology, we can define a locally ringed space by taking $$\mathcal{O}_X(U)$$ to be the ring of rational mappings defined on the Zariski-open set $$U$$ that do not blow up (become infinite) within $$U$$. The important generalization of this example is that of the spectrum of any commutative ring; these spectra are also locally ringed spaces. Schemes are locally ringed spaces obtained by "gluing together" spectra of commutative rings.

Morphisms
A morphism from $$(X,\mathcal{O}_X)$$ to $$(Y,\mathcal{O}_Y)$$ is a pair $$(f,\varphi)$$, where $$f:X\to Y$$ is a continuous map between the underlying topological spaces, and $$\varphi:\mathcal{O}_Y\to f_*\mathcal{O}_X$$ is a morphism from the structure sheaf of $$Y$$ to the direct image of the structure sheaf of $X$. In other words, a morphism from $$(X,\mathcal{O}_X)$$ to $$(Y,\mathcal{O}_Y)$$ is given by the following data:


 * a continuous map $$f:X\to Y$$
 * a family of ring homomorphisms $$\varphi_V : \mathcal{O}_Y(V)\to\mathcal{O}_X(f^{-1}(V))$$ for every open set $$V$$ of $$Y$$ that commute with the restriction maps. That is, if $$V_1\subseteq V_2$$ are two open subsets of $$Y$$, then the following diagram must commute (the vertical maps are the restriction homomorphisms):



There is an additional requirement for morphisms between locally ringed spaces:


 * the ring homomorphisms induced by $$\varphi$$ between the stalks of $$Y$$ and the stalks of $$X$$ must be local homomorphisms, i.e. for every $$x\in X$$ the maximal ideal of the local ring (stalk) at $$f(x)\in Y$$ is mapped into the maximal ideal of the local ring at $$x\in X$$.

Two morphisms can be composed to form a new morphism, and we obtain the category of ringed spaces and the category of locally ringed spaces. Isomorphisms in these categories are defined as usual.

Tangent spaces
Locally ringed spaces have just enough structure to allow the meaningful definition of tangent spaces. Let $$X$$ be a locally ringed space with structure sheaf $$\mathcal{O}_X$$; we want to define the tangent space $$T_x(X)$$ at the point $$x\in X$$. Take the local ring (stalk) $$R_x$$ at the point $$x$$, with maximal ideal $$\mathfrak{m}_x$$. Then $$k_x := R_x/\mathfrak{m}_x$$ is a field and $$\mathfrak{m}_x/\mathfrak{m}_x^2$$ is a vector space over that field (the cotangent space). The tangent space $$T_x(X)$$ is defined as the dual of this vector space.

The idea is the following: a tangent vector at $$x$$ should tell you how to "differentiate" "functions" at $$x$$, i.e. the elements of $$R_x$$. Now it is enough to know how to differentiate functions whose value at $$x$$ is zero, since all other functions differ from these only by a constant, and we know how to differentiate constants. So we only need to consider $$\mathfrak{m}_x$$. Furthermore, if two functions are given with value zero at $$x$$, then their product has derivative 0 at $$x$$, by the product rule. So we only need to know how to assign "numbers" to the elements of $$\mathfrak{m}_x/\mathfrak{m}_x^2$$, and this is what the dual space does.

Modules over the structure sheaf
Given a locally ringed space $$(X,\mathcal{O}_X)$$, certain sheaves of modules on $$X$$ occur in the applications, the $$\mathcal{O}_X$$-modules. To define them, consider a sheaf F of abelian groups on $$X$$. If F(U) is a module over the ring $$\mathcal{O}_X(U)$$ for every open set $$U$$ in $$X$$, and the restriction maps are compatible with the module structure, then we call $$F$$ an $$\mathcal{O}_X$$-module. In this case, the stalk of $$F$$ at $$x$$ will be a module over the local ring (stalk) $$R_x$$, for every $$x\in X$$.

A morphism between two such $$\mathcal{O}_X$$-modules is a morphism of sheaves that is compatible with the given module structures. The category of $$\mathcal{O}_X$$-modules over a fixed locally ringed space $$(X,\mathcal{O}_X)$$ is an abelian category.

An important subcategory of the category of $$\mathcal{O}_X$$-modules is the category of quasi-coherent sheaves on $$X$$. A sheaf of $$\mathcal{O}_X$$-modules is called quasi-coherent if it is, locally, isomorphic to the cokernel of a map between free $$\mathcal{O}_X$$-modules. A coherent sheaf $$F$$ is a quasi-coherent sheaf that is, locally, of finite type and for every open subset $$U$$ of $$X$$ the kernel of any morphism from a free $$\mathcal{O}_U$$-module of finite rank to $$F_U$$ is also of finite type.