# Riemann–Roch theorem

The Riemann–Roch theorem is an important tool in mathematics, specifically in complex analysis and algebraic geometry, for the computation of the dimension of the space of meromorphic functions with prescribed zeroes 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 Riemann (1857), the theorem reached its definitive form for Riemann surfaces after work of Riemann's short-lived student Gustav Roch (1865). It was later generalized to algebraic curves, to higher-dimensional varieties and beyond.

## Preliminary notions

A Riemann surface of genus 3.

A Riemann surface X is a topological space that is locally homeomorphic to an open subset of C, the set of complex numbers. In addition, the transition maps between these open subsets are required to be holomorphic. The latter condition allows to transfer the notions and methods of complex analysis dealing with holo- and meromorphic functions on C 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 defined as half of the first Betti number, i.e., half of the C-dimension of the first singular homology group H1(X, C) with complex coefficients. The genus classifies compact Riemann surfaces up to homeomorphism, i.e., two such surfaces are homeomorphic (but not necessarily diffeomorphic) 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 (C-)dimension of the space of holomorphic one-forms on X, so the genus also encodes complex-analytic information about the Riemann surface.[1]

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ν 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 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 the divisor depends only on the linear equivalence class.

The number l(D) is the quantity that is of primary interest: the dimension (over C) 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 for a compact Riemann surface of genus g with canonical divisor K states

$l(D)-l(K-D) = \textrm{deg} (D) - g + 1.$

Typically, the number l(D) is the one of interest, while l(KD) is thought of as a correction term (also called index of speciality[2][3]) so the theorem may be roughly paraphrased by saying

dimensioncorrection = degreeg + 1.

The correction term l(KD) is always non-negative, so that

$l(D) \ge \textrm{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 = 0 in the theorem. In particular, as long as D has degree at least 2g − 1, the correction term is 0, so that

$l(D) = \textrm{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

$l(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 l(0) = 1. In general, the sequence l(n · 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 C, with transition map being given by

$\mathbf C^\times \ni z \mapsto 1/z.$

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

$d(1/z) = -\frac 1{z^2} dz.$

Thus, its divisor K := div(ω) = −2P (where P is the point at infinty).

Therefore, the theorem says that the sequence l(n · 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

A torus.

The next case is a Riemann surface of genus g = 1, such as a torus C / Λ, where Λ is a two-dimensional lattice (a group isomorphic to Z2). 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 ω = dz on X that is everywhere holomorphic, i.e., has no poles at all. Therefore, K, the divisor of ω 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, l(KD) = l(0) = 1, as was mentioned above. For D = nP with n > 0, the degree of KD 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)=\textrm{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 holomorphic sections of K, or one-forms, on X. 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.

### 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 l(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:

$l(D)-l(K-D) = \textrm{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.[4] 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$.[5]

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).$[6]

(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).[7]

## Proof

The statement for algebraic curves can be proved using Serre duality. The integer I(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 $I (D) = \mathrm {dim} H^0 (X, \mathcal L(D))$, and likewise $I (\mathcal K_X - D) = \mathrm {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 $\simeq 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 ie $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 taking some off and ensure that the Euler characteristic transforms accordingly to the right hand side.

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.

## Applications

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.

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 is also a consequence of the Riemann–Roch theorem. It states that for a special divisor (i.e., such that l(KD) > 0) satisfying l(D) > 0, the following inequality holds:[8]

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

## 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. Under the hand of 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 l(KD) term as a dimension of a first sheaf cohomology group; with l(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). So matters rested before about 1950.

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 Borel-Serre in 1958.

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.

What results is that the Euler characteristic (of a coherent sheaf) is something reasonably computable. If one is interested, as is usually the case, in just one summand within the alternating sum, further arguments such as vanishing theorems must be brought to bear.

## Notes

1. ^ Griffith, Harris, p. 116, 117
2. ^ Stichtenoth p.22
3. ^ Mukai pp.295-297
4. ^ Liu, Qing (2002), Algebraic Geometry and Arithmetic Curves, Oxford University Press, ISBN 978-0-19-850284-5, Section 7.3
5. ^ * Altman, Allen; Kleiman, Steven (1970), Introduction to Grothendieck duality theory, Lecture Notes in Mathematics, Vol. 146, Berlin, New York: Springer-Verlag, Theorem VIII.1.4., p. 164
6. ^ Hartshorne, Robin (1986), "Generalized divisors on Gorenstein curves and a theorem of Noether", Journal of Mathematics of Kyoto University 26 (3): 375–386, ISSN 0023-608X
7. ^ Baum, Paul; Fulton, William; MacPherson, Robert (1975), "Riemann-Roch for singular varieties", Publications Mathématiques de l'IHÉS (45): 101–145, ISSN 1618-1913
8. ^ Fulton, William (1989), Algebraic curves, Advanced Book Classics, Addison-Wesley, ISBN 978-0-201-51010-2, p. 109