Finite-time partial stability, stabilization, semistabilization, and optimal feedback control