Let $f : M \rightarrow N$ where $M$ and $N$ are manifolds of dimension $n$ and $m$
I don't know how to prove properly that $f$ can be a diffeomorphism only if $m=n$.
I wanted to prove that $f$ can be bijective only if $m=n$ but that's not true. So I guess the "smooth" caracter has to play something here.