Let $M$ be a compact set and $(M,d)$ be a metric space, define function $f:M\to M$ such that for all $\,p,q\in M$ $$d(f(p),f(q))\ge d(p,q)$$ Prove $f$ is surjective.
I observed that compactness of $M$ is crucial, supposing $M$ being only closed or bounded would have counterexamples of $f$.
Also I found another problem which might be related somehow, I couldn't help this but guessing we have to prove $f$ is isometric.
@TommasoSeneci Thank you very much for the efforts, but as we see problem is not completely solved, so any clarification of showing $Y$(discussed in the below answer) is closed or other ways maybe, would be so appreciated!
Solution by "ifk" at http://www.artofproblemsolving.com/community/c7h360582p1972843 . There, $(X,d)$ is the metric space, and we are to prove $f$ is both surjective and isometric.