Riemann-Roch theorem for singular curves

1.9k Views Asked by At

It might be a naive question, but I just realized I had not thought about this before. If $C$ is a smooth curve, for any line bundle $D$ we have the Riemann-Roch formula: $$\chi(D)=\deg D+1-g(C).$$ Does this nicely extend also to singular curves as $\chi(D)=\deg D+1-p_a(C)$ ?

(if yes, is it an easy consequence of the smooth case?)