Proof (fundamental theorem of algebra using valency theorem of Riemann surfaces)

Let $p(z) = \sum_{i=0}^{n} c_i z^i\in \C[z]$ be a polynomial of degree $n\geq 1$. Define $$ \begin{align*} \hat p: \C_\infty &\to \C_\infty \\ z &\mapsto p(z) \\ \infty &\mapsto \infty. \end{align*} $$ This is an analytic map of Riemann surfaces: certainly analytic on $\C$, so we check it is analytic in a neighbourhood of $\infty$. Choose chart $ϕ: z \mapsto w = 1/z, \infty \mapsto 0$ in a neighbourhood of $\infty$, and $$ \begin{align*} (ϕ \circ \hat p \circ ϕ\inv)(w) = \frac{1}{p(1/w)} = \frac{w^n}{c_n + c_{n-1} w + \ldots + c_0 w^n}. \end{align*} $$ is analytic at $w = 0$ since $c_n \neq 0$, and the local degree of $\hat p$ at $\infty$ is $n$.

Hence $\deg(\hat p) = n$.

If $a\in \C$, then $a$ is a zero of $p$ of order $d\geq 1$ iff $\hat p(a) = 0$ and $d_a = d$. Hence $$ \begin{align*} \sum_{a\in \C: p(a) = 0} \op{ord}_{z=a}(p(z)) = n. \end{align*} $$