CESAR: Control Envelope Synthesis via Angelic Refinements
Aditi Kabra, Jonathan Laurent, Stefan Mitsch, André Platzer
TL;DR
This work tackles the problem of automatically synthesizing provably safe control envelopes for hybrid systems, yielding families of safe controllers that maximize permissiveness while guaranteeing safety. It formalizes the optimal envelope through differential game logic (dGL) and characterizes it as an optimal controllable invariant $I^{\mathrm{opt}}$ with guards $G^{\mathrm{opt}}$, then derives explicit, runtime-checkable solutions via symbolic execution and iterative refinements. A reduction oracle is used to translate loop-free subproblems into decidable real-arithmetic formulas, aided by action permanence and, when needed, differential-invariant techniques for non-solvable dynamics. The CESAR algorithm systematically generates a sequence of increasingly capable envelopes (with varying optimality guarantees) and validates them on benchmarks, demonstrating its ability to handle diverse control challenges and to provide formal guarantees of safety and, in many cases, optimality. This approach enables robust runtime monitoring and has potential to integrate with learning-based controllers while preserving formal safety guarantees.
Abstract
This paper presents an approach for synthesizing provably correct control envelopes for hybrid systems. Control envelopes characterize families of safe controllers and are used to monitor untrusted controllers at runtime. Our algorithm fills in the blanks of a hybrid system's sketch specifying the desired shape of the control envelope, the possible control actions, and the system's differential equations. In order to maximize the flexibility of the control envelope, the synthesized conditions saying which control action can be chosen when should be as permissive as possible while establishing a desired safety condition from the available assumptions, which are augmented if needed. An implicit, optimal solution to this synthesis problem is characterized using hybrid systems game theory, from which explicit solutions can be derived via symbolic execution and sound, systematic game refinements. Optimality can be recovered in the face of approximation via a dual game characterization. The resulting algorithm, Control Envelope Synthesis via Angelic Refinements (CESAR), is demonstrated in a range of safe control synthesis examples with different control challenges.
