Solving Nonlinear SMT Problems Based on an Efficient Lazy Method

Verification and testing for cyber-physical system may involve constraints that have both Boolean and nonlinear numerical expressions. Such constraints are undecidable, so efficiently giving out a solution whose error is within a given bound when the constraints are satisfiable or the answer that there are some contradicts in the constraints when the constraints are unsatisfiable is important. This paper presents an efficient method to solve Boolean combinations of nonlinear numerical constraints. Under the lazy SMT framework, this method combines an iterative optimization method and interval analysis together to solve numerical constraints. A prototype tool is implemented and some experiments were made. The experimental results show that our method is efficient and can solve many problems that other tools cannot.

[1]  Pascal Van Hentenryck,et al.  Numerica: A Modeling Language for Global Optimization , 1997, IJCAI.

[2]  William H. Press,et al.  Numerical recipes , 1990 .

[3]  Manfred Hauswirth,et al.  Analyzing Mediated Service Protocol Interactions Considering User's Expectation , 2010 .

[4]  Ulrich W. Kulisch,et al.  C++ Toolbox for Verified Scientific Computing I: Basic Numerical Problems , 1997 .

[5]  Malay K. Ganai,et al.  Efficient decision procedure for non-linear arithmetic constraints using CORDIC , 2009, 2009 Formal Methods in Computer-Aided Design.

[6]  Victor R. Preedy,et al.  Analysis and Methods , 2008 .

[7]  Mordecai Avriel,et al.  Nonlinear programming , 1976 .

[8]  Eldon Hansen,et al.  Global optimization using interval analysis , 1992, Pure and applied mathematics.

[9]  Sriram Sankaranarayanan,et al.  Integrating ICP and LRA solvers for deciding nonlinear real arithmetic problems , 2010, Formal Methods in Computer Aided Design.

[10]  Ramon E. Moore,et al.  Methods and Applications of Interval Analysis (SIAM Studies in Applied and Numerical Mathematics) (Siam Studies in Applied Mathematics, 2.) , 1979 .

[11]  Peter Spellucci,et al.  An SQP method for general nonlinear programs using only equality constrained subproblems , 1998, Math. Program..

[12]  Cesare Tinelli,et al.  Solving SAT and SAT Modulo Theories: From an abstract Davis--Putnam--Logemann--Loveland procedure to DPLL(T) , 2006, JACM.

[13]  Alberto L. Sangiovanni-Vincentelli,et al.  CalCS: SMT solving for non-linear convex constraints , 2010, Formal Methods in Computer Aided Design.

[14]  Ramon E. Moore Methods and applications of interval analysis , 1979, SIAM studies in applied mathematics.

[15]  Erika Ábrahám,et al.  A Lazy SMT-Solver for a Non-Linear Subset of Real Algebra , 2010, Verification over discrete-continuous boundaries.

[16]  Jian Zhang Specification analysis and test data generation by solving Boolean combinations of numeric constraints , 2000, Proceedings First Asia-Pacific Conference on Quality Software.

[17]  James C. King,et al.  Symbolic execution and program testing , 1976, CACM.

[18]  Katta G. Murty,et al.  Nonlinear Programming Theory and Algorithms , 2007, Technometrics.

[19]  Martin Fränzle,et al.  Efficient Solving of Large Non-linear Arithmetic Constraint Systems with Complex Boolean Structure , 2007, J. Satisf. Boolean Model. Comput..

[20]  Sumit Kumar Jha,et al.  Modeling and verifying intelligent automotive cyber-physical systems , 2011 .

[21]  Jian Zhang,et al.  A Test Data Generation Tool for Unit Testing of C Programs , 2006, 2006 Sixth International Conference on Quality Software (QSIC'06).

[22]  Andreas Bauer,et al.  Tool-support for the analysis of hybrid systems and models , 2007, 2007 Design, Automation & Test in Europe Conference & Exhibition.

[23]  Frédéric Benhamou,et al.  Algorithm 852: RealPaver: an interval solver using constraint satisfaction techniques , 2006, TOMS.

[24]  Edward A. Lee Cyber Physical Systems: Design Challenges , 2008, 2008 11th IEEE International Symposium on Object and Component-Oriented Real-Time Distributed Computing (ISORC).

[25]  Aart Middeldorp,et al.  Satisfiability of Non-linear (Ir)rational Arithmetic , 2010, LPAR.

[26]  Lothar Thiele,et al.  Segmented State Space Traversal for Conformance Testing of Cyber-Physical Systems , 2011, FORMATS.

[27]  G. William Walster,et al.  Global Optimization Using Interval Analysis: Revised and Expanded , 2007 .

[28]  Gopal Gupta,et al.  A logic-based modeling and verification of CPS , 2011, SIGBED.