Let $M$ and $N$ be smooth manifolds and let $F:M\rightarrow N$ be a bijective smooth map. Suppose that for every point $p\in M$, there exists a regular submanifold $M_{p}$ of M containing $p$ and a regular submanifold $N_{F\left(p\right)}$ of $N$ containing $F(p)$ such that $F$ maps $M_{p}$ bijectively to $N_{F\left(p\right)}$ and the map $F_{p}:M_{p}\rightarrow N_{F\left(p\right)}$ defined by $F_{p}\left(x\right)=F\left(x\right)$ for all $x\in M_{p}$ is a diffeomorphism, does it follows that $F$ is a diffeomorphism?
I am trying to use this result to show that a bijective morphism of smooth vector bundles is invertible.