Lyapunov stability, perturbation theory