Write . A dualizing sheaf on a smooth projective curve, for the vector bundles in this question, consists of a line bundle and a trace making evaluation induce natural perfect pairings
In particular it represents the functor through . We construct it by reducing to the proved residue duality on the projective line.
Choose a separating nonconstant rational function on . Such a choice exists over any field : the function field of a smooth algebraic curve is separably generated of transcendence degree one, and a choice with makes its finite extension of separable. The map extends across poles using in the discrete valuation ring at each point. It gives a finite generically separable morphism
Indeed it is nonconstant, hence has finite fibres, and is proper; a proper quasi-finite morphism is finite. This finite map is flat: locally its direct-image module is finite and torsion-free over a discrete valuation ring, and hence free. The same argument works componentwise if needed.
For an affine chart with inverse image , form the -module
These modules glue to the relative trace-dual sheaf on . There are two algebraic identities used here. First, finite-map adjunction gives
The forward map evaluates at ; the inverse sends to . Second, the different–differential identity for a finite generically separable map between smooth curves gives
To explain its algebraic content, the field trace identifies with the inverse different ideal, while the different is the vanishing ideal of . These identities include wild ramification; one must not replace the different by just ramification index minus one. This is the identity allowed to be quoted in the question; the finite-map description is recorded in Stacks Project, finite morphisms, and its differential form in Stacks Project, Section 53.12.
Set . The second identity shows it is a line bundle and already identifies it with . For a vector bundle , the first identity gives the sheaf isomorphism
The sheaf is locally free: on an affine chart, the projective -module defining is a summand of , and is finite free over . Since is finite, affine-cover Čech cohomology identifies with for each of these sheaves. Apply the already established duality on to . It gives
The trace is obtained by evaluating the trace-dual module at and then using the trace . The adjunction formulas show the displayed isomorphisms are induced by evaluation against this trace and are natural in . They thus establish the requested dualizing property, not merely the existence of an invertible differential sheaf. Uniqueness follows from the Yoneda lemma applied to the representing functor on vector bundles.
Use the finite map from the preceding solution. The inverse images of the two standard affine charts and of their intersection are affine, because is finite. The vanishing of quasi-coherent cohomology on an affine scheme therefore lets their two-term Čech cochain complex compute . It has terms only in degrees zero and one, proving
This actually applies to every quasi-coherent sheaf on .
For a smooth projective curve with , define its genus of a smooth projective curve by
The preceding Serre duality also gives . The condition on constants holds in particular for a geometrically connected smooth projective curve. It makes equal to the arithmetic genus . We state the theorem with this usual convention and then give the formula valid without that condition.
For a divisor on an algebraic curve and a canonical divisor with , the Riemann-Roch theorem is
The degree over an arbitrary field is weighted by residue degrees: when . Equivalently, for a line bundle ,
We now prove it via Riemann-Roch via elementary modifications.
For any closed point and any line bundle , the exact sequence
has a skyscraper sheaf as its quotient, with -dimension . This follows locally from a uniformizer of the discrete valuation ring at : a local line-bundle generator modulo that uniformizer spans one copy of . The quotient has zero higher cohomology, as it is the direct image from a finite affine scheme. The long exact sequence in sheaf cohomology and the proved higher vanishing give
Every line bundle has a nonzero rational section of a line bundle, whose local orders give a divisor on an algebraic curve with . Iterating the displayed identity, adding or subtracting closed points with their multiplicities, gives
For the constants convention above, . The dualizing sheaf on a smooth projective curve gives , which converts this Euler-characteristic identity into the stated Riemann-Roch theorem. This proves the formula over arbitrary , without assuming the closed points are -rational.
For vector bundles, the corresponding formula is
To see it, saturate a rational rank-one subspace to a line subbundle and induct on rank. Both Euler characteristic of a coherent sheaf and the degree of the determinant are additive in the resulting short exact sequence. The line-bundle formula just proved starts the induction.
Taking and using duality gives , , and hence . In particular a line bundle of degree greater than has zero first cohomology: its dual twisted by has negative degree, and a negative-degree line bundle has no nonzero section, since any section would have an effective divisor of zeros.
If the term “curve over ” is used without requiring , the unconditional formula we proved is
Writing then replaces by . For example, viewed as a -curve for a finite separable extension has , so a literal constant term would be incorrect. Alternatively the arithmetic genus gives the formula with constant . The constants hypothesis for the usual genus is recorded in Stacks Project, genus of a curve.
For a closed point on a smooth projective curve, the quotient in has -dimension . Additivity of Euler characteristic therefore changes by that residue-field degree. Every line bundle is associated with a divisor, so iteration proves the displayed formula. The dualizing sheaf on a smooth projective curve identifies with and converts this Euler-characteristic formula into the usual divisor form of Riemann-Roch theorem.