Canonical: https://knowlpedia.com/algebraic-geometry-foundations/structure-sheaf/

# Structure sheaf

The sheaf of rings that supplies the local algebraic functions on a scheme.

A **structure sheaf** on a space \(X\) is a [sheaf](https://knowlpedia.com/algebraic-geometry-foundations/sheaf/) of rings \(\mathcal O_X\) whose sections are regarded as functions on open subsets of \(X\). A [scheme](https://knowlpedia.com/algebraic-geometry-foundations/scheme/) is not merely its topological space: its structure sheaf carries the local algebra that distinguishes it from other schemes with the same points.

For the [prime spectrum](https://knowlpedia.com/algebra-commutative/prime-spectrum/) \(X=\operatorname{Spec}A\), the structure sheaf is characterized on a basic Zariski open set
\[
D(f)=\{\mathfrak p\in\operatorname{Spec}A:f\notin\mathfrak p\}
\]
by
\[
\mathcal O_X(D(f))=A_f,
\]
the [localization](https://knowlpedia.com/algebra-commutative/localization-ring/) obtained by inverting \(f\). At a point \(\mathfrak p\), its [stalk](https://knowlpedia.com/algebraic-geometry-foundations/stalk/) is \(\mathcal O_{X,\mathfrak p}\cong A_{\mathfrak p}\), a [local ring](https://knowlpedia.com/algebra-commutative/local-ring/).

## Examples

On \(\operatorname{Spec}k[x]\), the section \(1/x\) is regular on \(D(x)\), although it is not a global polynomial.
