Introduction
Verifying the safety and stability of continuous dynamical systems—such as autonomous vehicle controllers or industrial jet engines—is a critical challenge in formal methods. Traditional verification relies on finding mathematical certificates, like Lyapunov functions or barrier certificates, that prove a system will behave correctly under all conditions. However, a significant gap exists between the theoretical requirements of these certificates and the practical capabilities of automated solvers.
The Precision Gap
Traditional certificates require strict mathematical properties. For instance, a Lyapunov function must be exactly zero at the origin and strictly decreasing elsewhere. Symbolic solvers, which handle exact mathematics, struggle with the non-polynomial nonlinearities (e.g., trigonometric functions) common in real-world models. Conversely, numerical solvers are efficient and handle complex functions well but are limited by floating-point errors. They cannot reliably distinguish between a value being exactly zero or merely very small, making traditional "strict" proofs computationally "brittle."
Proposed Framework: $\epsilon$-Relaxed Proof Rules
To bridge this gap, the authors introduce "numerically-robust" inductive proof rules. The core idea is to relax traditional infinitesimal requirements into "$\epsilon$-robust" versions that are decidable by numerical SMT solvers.
1. $\epsilon$-Stability and $\epsilon$-Lyapunov Functions
Instead of requiring a system to converge to a single point, $\epsilon$-stability ensures the system remains within a user-defined $\epsilon$-neighborhood. The authors define $\epsilon$-Lyapunov functions that incorporate "gaps"—for example, requiring the function value to be significantly lower in an inner region than in an outer region. This creates a buffer that allows numerical solvers to confirm stability despite approximation noise.
2. $\epsilon$-Barrier Functions for Safety
For safety verification, the paper introduces two robust barrier types:
- Type 1 (Strict Contraction): This rule ensures the system is actively pushed back into the safe zone before reaching the boundary.
- Type 2 (Bounded Escape): This more flexible rule allows for temporary excursions from the ideal safe zone, provided the system returns within a specified time $T$ and stays within a bounded distance.
Soundness via $\delta$-Completeness
The framework leverages dReal, an SMT solver utilizing $\delta$-complete algorithms. These algorithms provide a formal guarantee: they return "True" if a property holds, or "$\delta$-False" if a slightly perturbed version of the property is false. By combining $\epsilon$-relaxed rules with $\delta$-complete solvers, the authors provide a mathematically sound bridge between numerical approximation and formal proof.
Experimental Evaluation
The methods were tested on several challenging benchmarks:
- Van der Pol System: A classic nonlinear oscillator.
- Normalized Pendulum: Involves transcendental functions like $\sin(x)$, which typically baffle symbolic solvers.
- Moore-Greitzer Jet Engine: Models complex surge and stall dynamics.
- Powertrain Control System (PTC): A high-dimensional (14-variable) automotive model representing real-world complexity.
Results and Impact
The proposed rules demonstrated high efficiency and scalability. Most benchmarks were verified in under 0.1 seconds for stability. Even the complex PTC model was verified in approximately 428 seconds. The authors achieved high precision, using $\delta$ values as small as $10^{-25}$ and $\epsilon$ values of $10^{-12}$.
Conclusion
By redefining stability and safety through the lens of numerical robustness, this work enables the formal verification of complex, nonlinear systems that were previously unreachable. Future work will focus on the automatic generation of these robust certificates and extending the framework to hybrid systems with discrete state jumps.
Summary updated