Riemann–Roch theorem Dimension of the space of meromorphic functions with given poles and zeros on a curve.