Formal Control of an Inverted Pendulum on a Cart via Stochastic Abstractions