Consider a (smooth) bundle E_→_B, and a (smooth) function f: E → R on the total space. Then it makes sense to talk about the derivatives of f along the fibers. Let C be the subspace of E consisting of all points for which all fiber-wise derivatives of f vanish, so that upon intersecting with any fiber C consists of the critical points of the restriction of f to the fiber. If the fiber is n-dimensional, then C is carved out by n equations, and so generically has codimension n in E.
Let's say that c is a point in C so that the second derivative of f in the fiber is nondenegerate (i.e. has non-degenerate Hessian; i.e. f restricts to a Morse function on the fiber through c). Does it follow that the projection C_→_B is a local diffeomorphism near c?
The answer is yes when everything is finite-dimensional (and I believe the statement is iff). I am interested in the case when B is finite-dimensional but the fibers of E are infinite-dimensional.