Fossil 2.0: Formal Certificate Synthesis for the Verification and Control of Dynamical Models
Alec Edwards, Andrea Peruffo, Alessandro Abate
TL;DR
Fossil 2.0 tackles the challenge of formally verifying and controlling dynamical systems by automatically synthesizing certificates and, in parallel, neural controllers. It extends the prior Fossil release with a broad portfolio of properties (e.g., ROA, SWA, RWA, RSWA, RAR) for continuous- and discrete-time models, all within a unified CEGIS framework that uses neural templates and SMT verification (CVC5). The tool offers a new CLI, a Python API, and an extensible certificate framework that accommodates bespoke domains, delivering robust, sound certificates with favorable performance relative to the 1.0 release. A case study on an inverted pendulum demonstrates concurrent certificate and controller synthesis, underscoring the approach’s practical potential for verification-driven controller design in complex dynamical systems.
Abstract
This paper presents Fossil 2.0, a new major release of a software tool for the synthesis of certificates (e.g., Lyapunov and barrier functions) for dynamical systems modelled as ordinary differential and difference equations. Fossil 2.0 is much improved from its original release, including new interfaces, a significantly expanded certificate portfolio, controller synthesis and enhanced extensibility. We present these new features as part of this tool paper. Fossil implements a counterexample-guided inductive synthesis (CEGIS) loop ensuring the soundness of the method. Our tool uses neural networks as templates to generate candidate functions, which are then formally proven by an SMT solver acting as an assertion verifier. Improvements with respect to the first release include a wider range of certificates, synthesis of control laws, and support for discrete-time models.
