A generalized Lyapunov theorem for descriptor system