Formal synthesis of analytic controllers