Let $f:(X,d) \to (Y,d')$ an inverse continuous map , X ,Y are metric spaces.
Show that $f$ is homeomorphism.
My approach:
$f$ is inverse $\implies f $ is injective and onto.
Then , $f$ is continuous $\implies f^{-1} $ is continuous.
This is all what I have to prove ? the problem looks very simple to me and I am not entirly sure about it.Thanks.