Delta-Decision Procedures for Exists-Forall Problems over the Reals

Soonho Kong, Armando Solar-Lezama, Sicun Gao

Introduction

Satisfiability Modulo Theories (SMT) solvers have become indispensable tools for automated reasoning, particularly in finding solutions to complex systems of equations. However, most existing nonlinear solvers are restricted to quantifier-free problems, which ask whether there exists a set of variables ($x$) that satisfies a given constraint.

In practical applications such as robotics, control theory, and formal verification, the requirements are often more demanding. These fields frequently encounter $\exists\forall$-formulas, which take the form: "Does there exist a control law $x$ such that for all possible perturbations $y$, the system remains stable?" These problems are notoriously difficult because they involve continuous search spaces and highly nonlinear constraints, including transcendental functions like sines and exponentials. Traditional symbolic methods, such as Cylindrical Algebraic Decomposition (CAD), often fail to scale or cannot handle non-algebraic functions. This paper presents a novel $\delta$-complete decision procedure designed to solve these complex nonlinear $\exists\forall$-problems efficiently.

Methodology

The authors propose an algorithmic framework that integrates Branch-and-Prune techniques with Counterexample-Guided Inductive Synthesis (CEGIS), specifically tailored for the numerical nature of real-valued constraints.

1. Branch-and-Prune with Universal Quantifiers

The solver operates by partitioning the search space into multi-dimensional intervals, or "boxes." It employs pruning operators to eliminate regions that cannot contain a solution and branches (splits) the remaining boxes to refine the search. To handle universal quantifiers, the algorithm treats them as pruning constraints: it searches for a "counterexample" $y$ that falsifies the condition for a given box $x$. If such a $y$ is found, it provides a basis to shrink or discard the box $x$.

2. Double-Sided Error Control

A primary challenge in numerical reasoning is the presence of small computational errors. A naive search for counterexamples might identify "spurious" points that do not truly invalidate the formula. The core theoretical contribution of this work is Double-Sided Error Control. By utilizing a "strengthening" factor ($\epsilon$) for the counterexample search and a "weakening" factor ($\delta$) for the overall decision, the authors ensure $\delta$-completeness. This guarantee means the solver will always return a correct answer within a specified numerical tolerance, avoiding the pitfalls of purely numerical or purely symbolic approaches.

3. Locally-Optimized Counterexamples

To enhance performance, the solver does not merely seek any counterexample. Instead, it utilizes local optimization algorithms (such as SLSQP) to find the "best" counterexample—the one that violates the constraint most severely. This leads to significantly more aggressive pruning of the existential search space, reducing the number of branching steps required to reach a conclusion.

Experimental Evaluation

The researchers implemented their procedure within the dReal solver and evaluated it against two distinct benchmark suites:

  • Global Optimization Benchmarks: The tool was tested on 24 classic, highly non-convex functions (e.g., Ackley, EggHolder, and Levy N13). These were encoded as $\exists\forall$ problems to find global minima with high precision.
  • Lyapunov Function Synthesis: The authors addressed the synthesis of Lyapunov functions for nonlinear dynamical systems, including a Normalized Pendulum and a Damped Mathieu System. The latter is particularly challenging due to its time-varying coefficients and trigonometric components.

Key Results

  • Performance Gains: The integration of local optimization into the pruning process yielded massive speedups. For instance, the "Booth" function was solved 251x faster than baseline methods. On average, problems saw a 2x to 10x improvement in execution time.
  • High Precision: The solver successfully identified global minima for all 24 optimization benchmarks with a precision of $\delta = 0.0001$.
  • Control Synthesis Success: The tool synthesized Lyapunov functions for the tested nonlinear systems in under 45 seconds. Notably, it handled the Damped Mathieu System, a task that remains difficult for traditional control-theoretic tools due to its transcendental nature.

Discussion and Future Work

The paper demonstrates that interleaving interval arithmetic with local optimization is a powerful strategy for scaling $\exists\forall$ reasoning to real-world nonlinear functions. By performing "learning" at the model level (refining interval boxes) rather than the symbolic level, the approach avoids the complexity of managing large sets of Boolean constraints.

However, some limitations remain. The efficiency of the solver is partially dependent on the underlying local optimization library; if the optimizer fails to find a global maximum for the counterexample query, the pruning becomes less effective (though $\delta$-completeness is preserved via branching). Additionally, while the solver performs well on several variables, it still faces the "curse of dimensionality" inherent in nested quantification. Future research will focus on more sophisticated decomposition methods for high-dimensional boxes and extending the framework to handle a broader range of pathologically discontinuous functions.

Summary updated

BibTeX
@inproceedings{kong2018delta,
  author = {Soonho Kong and Armando Solar-Lezama and Sicun Gao},
  title = {{Delta-Decision Procedures for Exists-Forall Problems over the Reals}},
  booktitle = {CAV},
  year = {2018},
  doi = {10.1007/978-3-319-96142-2\_15},
}
Figure