Correspondences on curves, Fermat quotients, and uniformization