Skip to main content
QUICK REVIEW

[Paper Review] Satisfiability Modulo ODEs

Sicun Gao, Soonho Kong|arXiv (Cornell University)|Oct 30, 2013
Formal Methods in VerificationComputer Science20 references29 citations
TL;DR

This paper presents $δ$-complete decision procedures for SMT formulas over the reals with ordinary differential equations (ODEs), using a DPLL(ICP) framework with interval-based pruning operators. The approach scales to hundreds of nonlinear ODEs and supports both purely existential and $Δ\forall^{t}$-formulas, enabling formal verification of realistic hybrid systems and embedded software.

ABSTRACT

We study SMT problems over the reals containing ordinary differential equations. They are important for formal verification of realistic hybrid systems and embedded software. We develop delta-complete algorithms for SMT formulas that are purely existentially quantified, as well as exists-forall formulas whose universal quantification is restricted to the time variables. We demonstrate scalability of the algorithms, as implemented in our open-source solver dReal, on SMT benchmarks with several hundred nonlinear ODEs and variables.

Motivation & Objective

  • Address the challenge of formally verifying hybrid systems and embedded software that involve complex, nonlinear ODEs.
  • Overcome the undecidability of first-order logic over reals with ODEs by introducing $δ$-complete decision procedures.
  • Enable scalable reasoning over large SMT formulas with hundreds of nonlinear ODEs and variables, particularly in bounded model checking.
  • Extend SMT solving to handle $Δ\forall^{t}$-formulas, which are essential for expressing time-bounded properties in hybrid systems.
  • Formalize and implement a practical, sound, and $δ$-complete framework for ODE-constrained SMT solving using interval analysis and constraint propagation.

Proposed method

  • Formalize SMT over the reals with ODEs as a decision problem, treating ODE solution functions as constraints between initial states, time, and final states.
  • Design pruning operators that refine interval assignments on initial states, time, and final states using interval constraint propagation (ICP) techniques.
  • Integrate ODE constraints into the DPLL(ICP) framework, where ODE solution functions serve as black-box constraints in a branch-and-prune algorithm.
  • Define $δ$-regular interval extensions to ensure soundness and completeness under $δ$-perturbations, avoiding technical issues in interval arithmetic.
  • Handle $Δ\forall^{t}$-formulas by restricting universal quantification to time variables, enabling bounded-time verification of hybrid systems.
  • Implement the algorithms in the open-source solver dReal, leveraging efficient interval arithmetic and ODE integration for nonlinear systems.

Experimental results

Research questions

  • RQ1Can $δ$-complete decision procedures be developed for SMT formulas with general Lipschitz-continuous ODEs, despite the undecidability of the full first-order theory over the reals?
  • RQ2Can the proposed framework scale to realistic benchmarks with hundreds of nonlinear ODEs and complex hybrid system dynamics?
  • RQ3How can $Δ\forall^{t}$-formulas, which are critical for bounded model checking of hybrid systems, be effectively handled in SMT with ODEs?
  • RQ4Can interval-based pruning operators over ODE solution functions ensure $δ$-completeness while maintaining practical performance?
  • RQ5To what extent can the dReal solver, based on this framework, verify reachability and safety properties in real-world hybrid systems such as cardiac and cancer treatment models?

Key findings

  • The proposed $δ$-complete algorithms are formally proven to be sound and complete for SMT formulas with Lipschitz-continuous ODEs.
  • The dReal solver successfully handles a benchmark with 280 nonlinear ODEs and 616 variables, solving a depth-55 bounded model checking instance for an atrial fibrillation model.
  • For the atrial fibrillation (AF) model, dReal computed a witness trace that closely matches experimental simulation data, confirming the reachability property at 1500 time units.
  • The cancer treatment (CT) model was verified at depth 3 with 500 time units, and the computed trace aligns with experimental data, demonstrating correctness of the solution.
  • The electronic oscillator (EO) and bouncing ball models were verified efficiently, showing robustness on standard nonlinear ODEs with trigonometric and nonlinear friction terms.
  • The tool scaled to benchmarks with up to 280 nonlinear ODEs, with CPU times under 100 seconds on a standard 3.4GHz octa-core machine, demonstrating practical scalability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.