Then Riemann sphere is defined by charts $(\mathbb C,Id_{\mathbb C})$ and $(\mathbb C-\{0\}\cup\{\infty\},\phi)$, $\phi(z) = \frac{1}{z},$ if $z \neq 0$, $\phi(z) = 0$ if $z = \infty$. I was told that if $f$ is an analytic function from the Riemann sphere to the Riemann sphere, then $f$ can only be a rational function.
However, I think about defining$\ $ $f(z)= e^z$, when $z \in \mathbb C$ and $f(z) = \infty$ when $z = \infty$. Isn't this a well-defined holomorphic function between Riemann spheres?