Let be the geometric genus of . Choose an integer . For each prescribed point , both and have degree greater than , so their complementary canonical divisors have negative degree and their complementary Riemann-Roch spaces vanish. The Riemann-Roch theorem therefore gives
Choose . This is possible because the two dimensions differ by one. Such a rational function has its only pole at , and its pole order there is exactly . Set .
At all terms except are regular. In a local parameter, the term of order in has a nonzero coefficient, and none of the other terms has a negative-power term. Hence that coefficient cannot cancel. Away from the prescribed points every summand is regular. We obtain the stronger conclusion
Thus is regular on and has a pole at every . This rational functions with prescribed poles construction works in every characteristic and does not require a generic-coefficient choice. If the prescribed list is empty, a constant function meets the vacuous requirements.