I apologize in advance for asking such an easy question here.
Assume that I have a compact smooth manifold $X$ together with a $C^\infty$ function $f:\mathbb{R}\times X\to\mathbb{R}$ such that for every $s\in\mathbb{R}$, $f_s$ is a submersive at any $x\in f_s^{-1}(0)$.
I would like to prove that the $f_s^{-1}(-\infty,0)$ are all diffeomorphic ($s\in\mathbb{R}$).
It sounds like I should use Morse theory, but I haven't been able to figure out how !
In order to use Morse theory one would probably like to find a function $g:X\to \mathbb{R}$ such that $\{g(x)<s\}=\{f(s,x)<0\}$. If it was a local question one could use implicit function theorem. I am probably just being blind...