Riemann–Roch theorem

The Riemann–Roch theorem is an important theorem in mathematics, specifically in complex analysis and algebraic geometry, for the computation of the dimension of the space of meromorphic functions with prescribed zeros and allowed poles. It relates the complex analysis of a connected compact Riemann surface with the surface's purely topological genus g, in a way that can be carried over into purely algebraic settings.

Initially proved as Riemann's inequality by, the theorem reached its definitive form for Riemann surfaces after work of Riemann's short-lived student. It was later generalized to algebraic curves, to higher-dimensional varieties and beyond.

Preliminary notions
A Riemann surface $$X$$ is a topological space that is locally homeomorphic to an open subset of $$\Complex$$, the set of complex numbers. In addition, the transition maps between these open subsets are required to be holomorphic. The latter condition allows one to transfer the notions and methods of complex analysis dealing with holomorphic and meromorphic functions on $$\Complex$$ to the surface $$X$$. For the purposes of the Riemann–Roch theorem, the surface $$X$$ is always assumed to be compact. Colloquially speaking, the genus $$g$$ of a Riemann surface is its number of handles; for example the genus of the Riemann surface shown at the right is three. More precisely, the genus is defined as half of the first Betti number, i.e., half of the $$\Complex$$-dimension of the first singular homology group $$H_1(X, \Complex)$$ with complex coefficients. The genus classifies compact Riemann surfaces up to homeomorphism, i.e., two such surfaces are homeomorphic if and only if their genus is the same. Therefore, the genus is an important topological invariant of a Riemann surface. On the other hand, Hodge theory shows that the genus coincides with the $$\Complex$$-dimension of the space of holomorphic one-forms on $$X$$, so the genus also encodes complex-analytic information about the Riemann surface.

A divisor $$D$$ is an element of the free abelian group on the points of the surface. Equivalently, a divisor is a finite linear combination of points of the surface with integer coefficients.

Any meromorphic function $$f$$ gives rise to a divisor denoted $$(f)$$ defined as


 * $$(f):=\sum_{z_\nu \in R(f)} s_\nu z_\nu$$

where $$R(f)$$ is the set of all zeroes and poles of $$f$$, and $$s_\nu$$ is given by


 * $$s_\nu :=\begin{cases} a & \text{if } z_\nu \text{ is a zero of order }a \\

-a & \text{if } z_\nu \text{ is a pole of order }a. \end{cases}$$

The set $$R(f)$$ is known to be finite; this is a consequence of $$X$$ being compact and the fact that the zeros of a (non-zero) holomorphic function do not have an accumulation point. Therefore, $$(f)$$ is well-defined. Any divisor of this form is called a principal divisor. Two divisors that differ by a principal divisor are called linearly equivalent. The divisor of a meromorphic 1-form is defined similarly. A divisor of a global meromorphic 1-form is called the canonical divisor (usually denoted $$K$$). Any two meromorphic 1-forms will yield linearly equivalent divisors, so the canonical divisor is uniquely determined up to linear equivalence (hence "the" canonical divisor).

The symbol $$\deg(D)$$ denotes the degree (occasionally also called index) of the divisor $$D$$, i.e. the sum of the coefficients occurring in $$D$$. It can be shown that the divisor of a global meromorphic function always has degree 0, so the degree of a divisor depends only on its linear equivalence class.

The number $$\ell(D)$$ is the quantity that is of primary interest: the dimension (over $$\Complex$$) of the vector space of meromorphic functions $$h$$ on the surface, such that all the coefficients of $$(h) + D$$ are non-negative. Intuitively, we can think of this as being all meromorphic functions whose poles at every point are no worse than the corresponding coefficient in $$D$$; if the coefficient in $$D$$ at $$z$$ is negative, then we require that $$h$$ has a zero of at least that multiplicity at $$z$$ – if the coefficient in $$D$$ is positive, $$h$$ can have a pole of at most that order. The vector spaces for linearly equivalent divisors are naturally isomorphic through multiplication with the global meromorphic function (which is well-defined up to a scalar).

Statement of the theorem
The Riemann–Roch theorem for a compact Riemann surface of genus $$g$$ with canonical divisor $$K$$ states


 * $$\ell(D)-\ell(K-D) = \deg(D) - g + 1.$$

Typically, the number $$\ell(D)$$ is the one of interest, while $$\ell(K-D)$$ is thought of as a correction term (also called index of speciality ) so the theorem may be roughly paraphrased by saying


 * dimension − correction = degree − genus + 1.

Because it is the dimension of a vector space, the correction term $$\ell(K-D)$$ is always non-negative, so that


 * $$\ell(D) \ge \deg(D) - g + 1.$$

This is called Riemann's inequality. Roch's part of the statement is the description of the possible difference between the sides of the inequality. On a general Riemann surface of genus $$g$$, $$K$$ has degree $$2g-2$$, independently of the meromorphic form chosen to represent the divisor. This follows from putting $$D=K$$ in the theorem. In particular, as long as $$D$$ has degree at least $$2g-1$$, the correction term is 0, so that


 * $$\ell(D) = \deg(D) - g + 1.$$

The theorem will now be illustrated for surfaces of low genus. There are also a number other closely related theorems: an equivalent formulation of this theorem using line bundles and a generalization of the theorem to algebraic curves.

Examples
The theorem will be illustrated by picking a point $$P$$ on the surface in question and regarding the sequence of numbers


 * $$\ell(n\cdot P), n\ge 0$$

i.e., the dimension of the space of functions that are holomorphic everywhere except at $$P$$ where the function is allowed to have a pole of order at most $$n$$. For $$n = 0$$, the functions are thus required to be entire, i.e., holomorphic on the whole surface $$X$$. By Liouville's theorem, such a function is necessarily constant. Therefore, $$\ell(0) = 1$$. In general, the sequence $$\ell(n\cdot P)$$ is an increasing sequence.

Genus zero
The Riemann sphere (also called complex projective line) is simply connected and hence its first singular homology is zero. In particular its genus is zero. The sphere can be covered by two copies of $$\Complex$$, with transition map being given by


 * $$\Complex \setminus \{0\} \ni z \mapsto \frac{1}{z} \in \Complex \setminus \{0\}.$$

Therefore, the form $$\omega = dz$$ on one copy of $$\mathbb C$$ extends to a meromorphic form on the Riemann sphere: it has a double pole at infinity, since


 * $$d\left(\frac 1 z \right) = -\frac 1{z^2} \, dz.$$

Thus, its canonical divisor is $$K:= \operatorname{div}(\omega) = -2P$$ (where $$P$$ is the point at infinity).

Therefore, the theorem says that the sequence $$\ell(n\cdot P)$$ reads


 * 1, 2, 3, ....

This sequence can also be read off from the theory of partial fractions. Conversely if this sequence starts this way, then $$g$$ must be zero.

Genus one
The next case is a Riemann surface of genus $$g = 1$$, such as a torus $$\Complex/\Lambda$$, where $$\Lambda$$ is a two-dimensional lattice (a group isomorphic to $$\Z^2$$). Its genus is one: its first singular homology group is freely generated by two loops, as shown in the illustration at the right. The standard complex coordinate $$z$$ on $$C$$ yields a one-form $$\omega = dz$$ on $$X$$ that is everywhere holomorphic, i.e., has no poles at all. Therefore, $$K$$, the divisor of $$\omega$$ is zero.

On this surface, this sequence is


 * 1, 1, 2, 3, 4, 5 ... ;

and this characterises the case $$g = 1$$. Indeed, for $$D = 0$$, $$\ell(K-D)=\ell(0)=1$$, as was mentioned above. For $$D= n\cdot P$$ with $$n>0$$, the degree of $$K-D$$ is strictly negative, so that the correction term is 0. The sequence of dimensions can also be derived from the theory of elliptic functions.

Genus two and beyond
For $$g=2$$, the sequence mentioned above is


 * 1, 1, ?, 2, 3, ....

It is shown from this that the ? term of degree 2 is either 1 or 2, depending on the point. It can be proven that in any genus 2 curve there are exactly six points whose sequences are 1, 1, 2, 2, ... and the rest of the points have the generic sequence 1, 1, 1, 2, ... In particular, a genus 2 curve is a hyperelliptic curve. For $$g>2$$ it is always true that at most points the sequence starts with $$g+1$$ ones and there are finitely many points with other sequences (see Weierstrass points).

Riemann–Roch for line bundles
Using the close correspondence between divisors and holomorphic line bundles on a Riemann surface, the theorem can also be stated in a different, yet equivalent way: let L be a holomorphic line bundle on X. Let $$H^0(X,L)$$ denote the space of holomorphic sections of L. This space will be finite-dimensional; its dimension is denoted $$h^0(X,L)$$. Let K denote the canonical bundle on X. Then, the Riemann–Roch theorem states that


 * $$h^0(X,L)-h^0(X,L^{-1}\otimes K)=\deg(L)+1-g.$$

The theorem of the previous section is the special case of when L is a point bundle.

The theorem can be applied to show that there are g linearly independent holomorphic sections of K, or one-forms on X, as follows. Taking L to be the trivial bundle, $$ h^0(X,L)=1$$ since the only holomorphic functions on X are constants. The degree of L is zero, and $$L^{-1}$$ is the trivial bundle. Thus,


 * $$1-h^0(X,K)=1-g.$$

Therefore, $$h^0(X,K)=g$$, proving that there are g holomorphic one-forms.

Degree of canonical bundle
Since the canonical bundle $$K$$ has $$h^0(X,K)=g$$, applying Riemann–Roch to $$L = K$$ gives


 * $$h^0(X,K)-h^0(X,K^{-1}\otimes K)=\deg(K)+1-g$$

which can be rewritten as


 * $$g - 1 = \deg(K) + 1 - g$$

hence the degree of the canonical bundle is $$\deg(K) = 2g - 2$$.

Riemann–Roch theorem for algebraic curves
Every item in the above formulation of the Riemann–Roch theorem for divisors on Riemann surfaces has an analogue in algebraic geometry. The analogue of a Riemann surface is a non-singular algebraic curve C over a field k. The difference in terminology (curve vs. surface) is because the dimension of a Riemann surface as a real manifold is two, but one as a complex manifold. The compactness of a Riemann surface is paralleled by the condition that the algebraic curve be complete, which is equivalent to being projective. Over a general field k, there is no good notion of singular (co)homology. The so-called geometric genus is defined as


 * $$g(C) := \dim_k \Gamma(C, \Omega^1_C)$$

i.e., as the dimension of the space of globally defined (algebraic) one-forms (see Kähler differential). Finally, meromorphic functions on a Riemann surface are locally represented as fractions of holomorphic functions. Hence they are replaced by rational functions which are locally fractions of regular functions. Thus, writing $$\ell(D)$$ for the dimension (over k) of the space of rational functions on the curve whose poles at every point are not worse than the corresponding coefficient in D, the very same formula as above holds:


 * $$\ell(D)-\ell(K-D) = \deg(D) - g + 1.$$

where C is a projective non-singular algebraic curve over an algebraically closed field k. In fact, the same formula holds for projective curves over any field, except that the degree of a divisor needs to take into account multiplicities coming from the possible extensions of the base field and the residue fields of the points supporting the divisor. Finally, for a proper curve over an Artinian ring, the Euler characteristic of the line bundle associated to a divisor is given by the degree of the divisor (appropriately defined) plus the Euler characteristic of the structural sheaf $$\mathcal O$$.

The smoothness assumption in the theorem can be relaxed, as well: for a (projective) curve over an algebraically closed field, all of whose local rings are Gorenstein rings, the same statement as above holds, provided that the geometric genus as defined above is replaced by the arithmetic genus ga, defined as


 * $$g_a := \dim_k H^1(C, \mathcal O_C).$$

(For smooth curves, the geometric genus agrees with the arithmetic one.) The theorem has also been extended to general singular curves (and higher-dimensional varieties).

Hilbert polynomial
One of the important consequences of Riemann–Roch is it gives a formula for computing the Hilbert polynomial of line bundles on a curve. If a line bundle $$\mathcal{L}$$ is ample, then the Hilbert polynomial will give the first degree $$\mathcal{L}^{\otimes n}$$ giving an embedding into projective space. For example, the canonical sheaf $$\omega_C$$ has degree $$2g - 2$$, which gives an ample line bundle for genus $$g \geq 2$$. If we set $$\omega_C(n) = \omega_C^{\otimes n}$$ then the Riemann–Roch formula reads


 * $$\begin{align}

\chi(\omega_C(n)) &= \deg(\omega_C^{\otimes n}) - g + 1\\ &= n(2g - 2) - g + 1 \\ &= 2ng - 2n - g + 1 \\ &= (2n-1)(g-1) \end{align}$$

Giving the degree $$1$$ Hilbert polynomial of $$\omega_C$$


 * $$H_{\omega_C}(t) = 2(g-1)t - g + 1 $$

Because the tri-canonical sheaf $$\omega_C^{\otimes 3}$$ is used to embed the curve, the Hilbert polynomial

$$H_C(t) = H_{\omega_C^{\otimes 3}}(t)$$

is generally considered while constructing the Hilbert scheme of curves (and the moduli space of algebraic curves). This polynomial is

$$\begin{align} H_C(t) &= (6t - 1)(g-1) \\ &= 6(g-1)t + (1-g) \end{align}$$

and is called the Hilbert polynomial of an genus g curve.

Pluricanonical embedding
Analyzing this equation further, the Euler characteristic reads as


 * $$\begin{align}

\chi(\omega_C^{\otimes n}) &= h^0 \left (C, \omega_C^{\otimes n} \right ) - h^0 \left (C, \omega_C\otimes \left (\omega_C^{\otimes n} \right )^\vee \right ) \\ &= h^0 \left (C, \omega_C^{\otimes n} \right ) - h^0 \left (C, \left (\omega_C^{\otimes (n-1)} \right )^\vee \right ) \end{align}$$

Since $$\deg(\omega_C^{\otimes n}) = n(2g-2)$$


 * $$h^0 \left (C, \left (\omega_C^{\otimes (n-1)} \right )^\vee \right ) = 0$$

for $$n \geq 3$$, since its degree is negative for all $$g \geq 2$$, implying it has no global sections, there is an embedding into some projective space from the global sections of $$\omega_C^{\otimes n}$$. In particular, $$\omega_C^{\otimes 3}$$ gives an embedding into $$\mathbb{P}^{N} \cong \mathbb{P}(H^0(C,\omega_C^{\otimes 3}))$$ where $$N = 5g - 5 - 1 = 5g - 6$$ since $$h^0(\omega_C^{\otimes 3}) = 6g - 6 - g + 1$$. This is useful in the construction of the moduli space of algebraic curves because it can be used as the projective space to construct the Hilbert scheme with Hilbert polynomial $$H_C(t)$$.

Genus of plane curves with singularities
An irreducible plane algebraic curve of degree d has (d − 1)(d − 2)/2 − g singularities, when properly counted. It follows that, if a curve has (d − 1)(d − 2)/2 different singularities, it is a rational curve and, thus, admits a rational parameterization.

Riemann–Hurwitz formula
The Riemann–Hurwitz formula concerning (ramified) maps between Riemann surfaces or algebraic curves is a consequence of the Riemann–Roch theorem.

Clifford's theorem on special divisors
Clifford's theorem on special divisors is also a consequence of the Riemann–Roch theorem. It states that for a special divisor (i.e., such that $$\ell(K-D)>0$$) satisfying $$\ell(D)>0,$$ the following inequality holds:


 * $$\ell(D) \leq \frac{\deg D}2+1.$$

Proof for algebraic curves
The statement for algebraic curves can be proved using Serre duality. The integer $$\ell(D)$$ is the dimension of the space of global sections of the line bundle $$\mathcal L(D)$$ associated to D (cf. Cartier divisor). In terms of sheaf cohomology, we therefore have $$\ell (D) = \mathrm {dim} H^0 (X, \mathcal L(D))$$, and likewise $$\ell (\mathcal K_X - D) = \dim H^0 (X, \omega_X \otimes \mathcal L(D)^\vee) $$. But Serre duality for non-singular projective varieties in the particular case of a curve states that $$H^0 (X, \omega_X \otimes \mathcal L(D)^\vee)$$ is isomorphic to the dual $$H^1 (X, \mathcal L (D))^\vee$$. The left hand side thus equals the Euler characteristic of the divisor D. When D = 0, we find the Euler characteristic for the structure sheaf is $$1-g$$ by definition. To prove the theorem for general divisor, one can then proceed by adding points one by one to the divisor and ensure that the Euler characteristic transforms accordingly to the right hand side.

Proof for compact Riemann surfaces
The theorem for compact Riemann surfaces can be deduced from the algebraic version using Chow's Theorem and the GAGA principle: in fact, every compact Riemann surface is defined by algebraic equations in some complex projective space. (Chow's Theorem says that any closed analytic subvariety of projective space is defined by algebraic equations, and the GAGA principle says that sheaf cohomology of an algebraic variety is the same as the sheaf cohomology of the analytic variety defined by the same equations).

One may avoid the use of Chow's theorem by arguing identically to the proof in the case of algebraic curves, but replacing $$\mathcal L(D)$$ with the sheaf $$\mathcal O_D$$ of meromorphic functions h such that all coefficients of the divisor $$(h) + D$$ are nonnegative. Here the fact that the Euler characteristic transforms as desired when one adds a point to the divisor can be read off from the long exact sequence induced by the short exact sequence


 * $$0 \to \mathcal O_D \to \mathcal O_{D + P} \to \mathbb C_P \to 0$$

where $$\mathbb C_P$$ is the skyscraper sheaf at P, and the map $$\mathcal O_{D + P} \to \mathbb C_P$$ returns the $$-k-1$$th Laurent coefficient, where $$k = D(P)$$.

Arithmetic Riemann–Roch theorem
A version of the arithmetic Riemann–Roch theorem states that if k is a global field, and f is a suitably admissible function of the adeles of k, then for every idele a, one has a Poisson summation formula:
 * $$\frac{1}{|a|}\sum_{x\in k}\hat f(x/a) = \sum_{x\in k}f(ax).$$

In the special case when k is the function field of an algebraic curve over a finite field and f is any character that is trivial on k, this recovers the geometric Riemann–Roch theorem.

Other versions of the arithmetic Riemann–Roch theorem make use of Arakelov theory to resemble the traditional Riemann–Roch theorem more exactly.

Generalizations of the Riemann–Roch theorem
The Riemann–Roch theorem for curves was proved for Riemann surfaces by Riemann and Roch in the 1850s and for algebraic curves by Friedrich Karl Schmidt in 1931 as he was working on perfect fields of finite characteristic. As stated by Peter Roquette, "The first main achievement of F. K. Schmidt is the discovery that the classical theorem of Riemann–Roch on compact Riemann surfaces can be transferred to function fields with finite base field. Actually, his proof of the Riemann–Roch theorem works for arbitrary perfect base fields, not necessarily finite." It is foundational in the sense that the subsequent theory for curves tries to refine the information it yields (for example in the Brill–Noether theory).

There are versions in higher dimensions (for the appropriate notion of divisor, or line bundle). Their general formulation depends on splitting the theorem into two parts. One, which would now be called Serre duality, interprets the $$\ell(K-D)$$ term as a dimension of a first sheaf cohomology group; with $$\ell(D)$$ the dimension of a zeroth cohomology group, or space of sections, the left-hand side of the theorem becomes an Euler characteristic, and the right-hand side a computation of it as a degree corrected according to the topology of the Riemann surface.

In algebraic geometry of dimension two such a formula was found by the geometers of the Italian school; a Riemann–Roch theorem for surfaces was proved (there are several versions, with the first possibly being due to Max Noether).

An n-dimensional generalisation, the Hirzebruch–Riemann–Roch theorem, was found and proved by Friedrich Hirzebruch, as an application of characteristic classes in algebraic topology; he was much influenced by the work of Kunihiko Kodaira. At about the same time Jean-Pierre Serre was giving the general form of Serre duality, as we now know it.

Alexander Grothendieck proved a far-reaching generalization in 1957, now known as the Grothendieck–Riemann–Roch theorem. His work reinterprets Riemann–Roch not as a theorem about a variety, but about a morphism between two varieties. The details of the proofs were published by Armand Borel and Jean-Pierre Serre in 1958. Later, Grothendieck and his collaborators simplified and generalized the proof.

Finally a general version was found in algebraic topology, too. These developments were essentially all carried out between 1950 and 1960. After that the Atiyah–Singer index theorem opened another route to generalization. Consequently, the Euler characteristic of a coherent sheaf is reasonably computable. For just one summand within the alternating sum, further arguments such as vanishing theorems must be used.