Could someone give me an example of a local diffeomorphism from $\mathbb{R}^p$ to $\mathbb{R}^p$ (function of class say $C^k$ with an invertible differential map in each point) that is not a diffeomorphism..
in the real line (1 dim case) that would mean a function with a continuous non null derivative on an open $V$ of $\mathbb{R}$ that is not bijective which does not make sense thus any local diffeomorphism on the real line is a diffeo..
Could one give me a counterexample in a higher dimension?