Definition (ramification degree)

Let $ϕ: X\to Y$ be a non-constant morphism of (possibly affine, possibly singular) curves. Let $P\in X$ be smooth on $X$ and $Q := ϕ(P)$ be smooth on $Y$.

The ramification degree of $ϕ$ at $P$ is $$ \begin{align*} e_P := ν_P(ϕ^\ast(π_Q)) \end{align*} $$ where $π_Q$ is any local parameter for $Y$ at $Q$, $ϕ^\ast: k(Y) \hookrightarrow k(X)$ is the pullback, and $ν_P$ is the valuation at $P$.

We say $ϕ$ is unramified at $P$ if $e_P = 1$.

$(ϕ^\ast\mathfrak{m}_Q) O_{V,P} = {\mathfrak{m}_P}^{e_P}$.

If $f\in k(X) \setminus k$ is a rational function and $P\in X$ is unramified and not a pole of $f$, then $f - f(P)$ is a local parameter for $X$ at $P$. (Proof)