Definition (isometry of surfaces in II Differential Geometry)

Suppose $ψ: S\to \tilde S$ is a diffeomorphism of surfaces in $\R^3$. We say $ψ$ is an isometry if $$ \begin{align*} \I_p(v,w) = \tilde \I_{ψ(p)}(\d ψ_p(v), \d ψ_p(w)) \end{align*} $$ holds for all $p\in S$ and $v,w\in T_pS$, where $\I$ and $\tilde \I$ are the first fundamental forms of $S$ and $\tilde S$.

Isometry preserves length of curves.