For the projective-space complement, assume and choose two distinct closed points . Take the ideal sheaf of two closed points on . The codimension-two extension of regular functions on a normal variety gives
One can see this directly: on every standard affine chart of , a rational function written in lowest terms cannot have a nonconstant denominator, because an irreducible polynomial factor of the denominator would define a pole along a codimension-one hypersurface, and such a hypersurface is not removed by . The extended function is constant because every global regular function on projective space is constant. Now the short exact sequence
sends diagonally into on global sections. Its cokernel is , and the long exact sequence in sheaf cohomology injects that cokernel into . Thus
The assumption is necessary: is already affine and has no such example.
A morphism of algebraic varieties is a map regular in local affine coordinates: for each point of the source, choose affine charts containing it and its image, and require each target coordinate to pull back locally to a quotient of polynomials with a denominator nonzero at that point. The map is continuous in the Zariski topology and pulls back regular functions on every target open set to regular functions on its inverse image.
Equivalently, one can take Zariski continuity and this local regular-function pullback property as the definition. In particular, a morphism between affine varieties is specified by globally regular coordinate functions, with values satisfying the defining equations of the target. Being an arbitrary set-theoretic function, or being merely Zariski continuous, is not sufficient.
Let . Polynomial restrictions are regular functions, and a restriction is zero precisely when its class in the coordinate ring is zero. We prove surjectivity.
Using the usual irreducible-variety convention, view a regular function as an element of the fraction field of . On a neighbourhood of every point it has the form , where and does not vanish at that point. Equality on a nonempty open subset of the irreducible variety is equality of rational functions. Define
This is an ideal and contains a denominator nonzero at each point. Thus its zero locus is empty. The Hilbert Nullstellensatz implies , so and . Therefore
The result also holds under a convention allowing reduced reducible affine varieties. One may cover by finitely many principal opens , represent in each localization, and increase powers until the local representatives glue after clearing denominators. Since these opens cover, the ideal generated by those powers is the unit ideal by the Nullstellensatz; a unit linear combination glues their numerators to one element of . Irreducibility is used only for the shorter fraction-field proof, not for the assertion itself.
An isomorphism of affine varieties and its inverse pull regular functions back to regular functions. By the preceding identification this gives k-algebra homomorphisms
They preserve sums, products, and every constant in . Contravariance of pullback and , give and . Hence
For a nonsingular projective integral curve, apply the Riemann-Roch theorem to the divisor on an algebraic curve . It gives , where is the geometric genus. For sufficiently large , this exceeds the dimension of the space of constant functions; over the usual geometrically integral convention that dimension is one. Thus contains a nonconstant rational function.
By the definition of , the principal divisor on an algebraic curve of that function plus is effective, so it has no pole away from . Therefore there is a nonconstant rational function regular on . If is not a rational point, using its closed-point degree in the same inequality handles that case. A positive pole order at is unavoidable, since regular functions on a projective integral curve are constant in its constant field.
Choose an open cover of by affine opens . Since is a quasi-compact topological space, finitely many suffice. Let be the restrictions of . Part (a) identifies with , whose ring of regular functions is the localization of a ring . The vanishing of there means
so for some . Taking at least as large as every gives on every member of the finite cover. The local identity axiom for the sheaf of rings therefore gives
Let be the stated finite affine cover. By the description of sections on a principal open subscheme, after increasing denominators separately we may write
for some . Multiplying the numerators by powers of lets us use one exponent for every .
On , the section vanishes after restriction to . Each is quasi-compact, so part (b) supplies with on . Choose one valid for all the finitely many pairs. The sections now agree on every overlap, and the gluing axiom of a sheaf of rings produces with . On ,
Thus some power of times extends to a global regular function on .
Cover by
These sets cover because a point of has . On , the relation shows that has local equation ; on , the relation gives local equation ; and on its local equation is . Thus is a Cartier divisor.
For the line bundle associated to a divisor , choose local frames
The transition functions are
on the corresponding overlaps. Every displayed ratio is a unit in a ring in the corresponding ring of regular functions, and the Čech cocycle condition follows immediately.
For an irreducible variety which is an affine variety of dimension and a nonzero nonunit regular function , each irreducible component of has dimension . Choose a closed point on just the component in question. In its local ring , is that component's prime ideal. A system of parameters of , lifted and supplemented by , generates a maximal-primary ideal; the Krull height theorem gives . Extending any chain above by the zero prime of the domain gives the reverse inequality. This proof does not identify dimension with transcendence degree.
Split a rational representation by its finite scalar center: on , for . The displayed extension is independent of the scalar-root choice and is a group homomorphism. A matrix coefficient of can be represented on by a sum of homogeneous polynomials with , by averaging over the scalar center. Its extension is , a regular function on . Every invariant subspace remains invariant under this extension, so irreducibility is preserved in both directions.
For a possibly reducible algebraic variety , take pairs with a dense open subset and a regular function on . Identify pairs agreeing on a common dense open subset. Addition and multiplication on intersections make these classes a ring. For an affine variety with reduced coordinate ring , this ring is its total quotient ring. For an irreducible variety, it is the function field. An isomorphism of dense open subsets induces an isomorphism of these rings.
Structure sheaf of a scheme Created 2026-09-28 Updated 2026-10-06
The structure sheaf records the regular functions on every open subset of a scheme . Its stalk is the local ring of functions defined near .