Let $(X,d)$ be a compact metric space and $Y \subsetneq X$. Prove there does not exist an isometry $f:X \to Y$.
I will try to prove this by contradiction. As $ Y \subsetneq X$ we can take some $x_{0} \in X$ such $x_{0} \notin Y$, but $f:X \to Y$ is an isometry so for every $a,b \in X$ we have $$d(a,b)=d(f(a),f(b)).$$
So $f(x_{0}) \in Y$ and $x_{0} \neq f(x_{0})$, implying $d(x_{0},f(x_{0}))= \epsilon$ such $\epsilon >0$ but Im not able to show a contradiction from here. Can anyone help me how to end the proof by constructing a contradiction from supposing there is an isometry $f:X \to Y$? Thanks