Let $I,J$ be two interval(which is connected subset on $\Bbb{R}$).Let $f:I\to J$ be diffeomorphism .Prove $f$ is stricly monotone.
My attempt:
Let two endpoint of $I$ be $x_0,x_1$ ($x_0 < x_1$) (If no endpoint we may extend to it by continuity),$f(x_0) = y_0$ and $f(x_1) = y_1$.Wlog we may assume $y_0<y_1$. (then the problem becomes to prove that this map is strictly monotone increasing)
Since $f(I)$ is connected which is a interval with two endpoint specified hence $J = [y_0,y_1]$. hence any $w_1,w_2 \in I$ ($w_1<w_2$)exist some $k_1,k_2$ maps to it (by surjective of $f$)
Now we assume $k_1>k_2$ we get contradiction which means that $f$ is monotone increasing,hence complete the proof.
To see the contradiction we just need consider the interval $[x_0,w_1]$ which has range $[y_0,k_1]$ hence exist some point in between gets the value $k_2$,now we also has $f(w_2) = k_2$ such that $w_2$ different form this point hence contradiction.
Is my proof correct ,is there some better proof?