Controller Synthesis for Hybrid Systems using SMT Solving

Size: px
Start display at page:

Download "Controller Synthesis for Hybrid Systems using SMT Solving"

Transcription

1 Controller Synthesis for Hybrid Systems using SMT Solving Ulrich Loup AlgoSyn (GRK 1298) Hybrid Systems Group Prof. Dr. Erika Ábrahám GRK Workshop 2009, Schloss Dagstuhl

2 Our model: hybrid system Discrete controller in a continuous setting Simple example: v [0, 2] AlgoSyn (GRK 1298) Ulrich Loup 2

3 Our model: hybrid system Discrete controller in a continuous setting Simple example: v = 0 x = 0 l 0 ẋ = v v [0, 2] v v max l 1 ẋ = v v [ 2, 0] v 0 accelerate brake AlgoSyn (GRK 1298) Ulrich Loup 2

4 Our model: hybrid system Discrete controller in a continuous setting Simple example: v = 0 x = 0 l 0 ẋ = v v [0, 2] v v max l 1 ẋ = v v [ 2, 0] v 0 accelerate brake Parameter synthesis: How is v max to be chosen such that the car can always be stopped in 0.2 meters? AlgoSyn (GRK 1298) Ulrich Loup 2

5 Our model: hybrid system Discrete controller in a continuous setting Simple example: v = 0 x = 0 l 0 ẋ = v v [0, 2] v v max l 1 ẋ = v v [ 2, 0] v 0 accelerate Parameter synthesis: brake v max v 0... v 4... ( x 4 x v 4 = )? AlgoSyn (GRK 1298) Ulrich Loup 2

6 Satisfiability checking over the reals Given: First-order formula ϕ over (R, +,, <). Question: Is ϕ satisfiable? Theoretical results decidable [Tarski1948] upper bound for time complexity 2 2n variables [BrownDavenport2007] where n is the number of AlgoSyn (GRK 1298) Ulrich Loup 3

7 Satisfiability checking over the reals Given: First-order formula ϕ over (R, +,, <). Question: Is ϕ satisfiable? Theoretical results decidable [Tarski1948] upper bound for time complexity 2 2n variables [BrownDavenport2007] where n is the number of Approach exploit practical experience in satisfiability checking in propositional logic (SAT solving) AlgoSyn (GRK 1298) Ulrich Loup 3

8 Satisfiability modulo theories (SMT) SAT solver y 2 1 = 0 x 1 = 0 ( x y + 1 = 0 x + y 1 = 0 ) )? Theory solver AlgoSyn (GRK 1298) Ulrich Loup 4

9 Satisfiability modulo theories (SMT) a b c (d e)? SAT solver y 2 1 = 0 x 1 = 0 ( x y + 1 = 0 x + y 1 = 0 ) )? Theory solver AlgoSyn (GRK 1298) Ulrich Loup 4

10 Satisfiability modulo theories (SMT) a b c (d e)? a b SAT solver sat y 2 1 = 0 x 1 = 0 ( x y + 1 = 0 x + y 1 = 0 ) )? Theory solver y 2 1 = 0 )? AlgoSyn (GRK 1298) Ulrich Loup 4

11 Satisfiability modulo theories (SMT) a b c (d e)? a b c d SAT solver Theory solver unsat b c d y 2 1 = 0 x 1 = 0 x y + 1 = 0 )? y 2 1 = 0 x 1 = 0 ( x y + 1 = 0 x + y 1 = 0 ) )? incremental minimal infeasible subset AlgoSyn (GRK 1298) Ulrich Loup 4

12 Satisfiability modulo theories (SMT) a b c (d e)? a b c e SAT solver Theory solver unsat b c e y 2 1 = 0 x 1 = 0 x + y 1 = 0 )? y 2 1 = 0 x 1 = 0 ( x y + 1 = 0 x + y 1 = 0 ) )? incremental minimal infeasible subset backtracking AlgoSyn (GRK 1298) Ulrich Loup 4

13 Satisfiability modulo theories (SMT) a b c (d e)? SAT solver y 2 1 = 0 x 1 = 0 ( x y + 1 = 0 x + y 1 = 0 ) )? Theory solver incremental minimal infeasible subset backtracking unsat, unsatisfiability proof AlgoSyn (GRK 1298) Ulrich Loup 4

14 Theory solver: existing implementations Cylindrical algebraic decomposition (CAD) QEPCAD, Reduce,... Gröbner bases Maple, Mathematica, Singular, Maxima, CoCoA, Reduce,... Other methods Virtual substitution (Reduce) Interval arithmetic (Ariadne) More on computer algebra: [Kaplan2005] AlgoSyn (GRK 1298) Ulrich Loup 5

15 Theory solver: CAD y y 2 1 = 0 1 )? 1 1 x 1 AlgoSyn (GRK 1298) Ulrich Loup 6

16 Theory solver: CAD y y 2 1 = 0 x 1 = 0 x y + 1 = 0 )? 1 incremental 1 1 x 1 AlgoSyn (GRK 1298) Ulrich Loup 6

17 Theory solver: CAD y y 2 1 = 0 x 1 = 0 x + y 1 = 0 )? 1 incremental minimal infeasible subset? backtracking 1 1 x 1 AlgoSyn (GRK 1298) Ulrich Loup 6

18 Theory solver: CAD y y 2 1 = 0 x 1 = 0 x + y 1 = 0 )? 1 incremental minimal infeasible subset? backtracking 1 1 x 1 AlgoSyn (GRK 1298) Ulrich Loup 6

19 Theory solver: Gröbner bases Mathematical background p 1 = 0... p k = 0 has no solution q 1p q k p k = 1 for some polynomials q 1,..., q k AlgoSyn (GRK 1298) Ulrich Loup 7

20 Theory solver: Gröbner bases Mathematical background p 1 = 0... p k = 0 has no solution q 1p q k p k = 1 for some polynomials q 1,..., q k {x 2 1} )? AlgoSyn (GRK 1298) Ulrich Loup 7

21 Theory solver: Gröbner bases Mathematical background p 1 = 0... p k = 0 has no solution q 1p q k p k = 1 for some polynomials q 1,..., q k y 2 1 = 0 {x 2 1, y 2 1} )? incremental AlgoSyn (GRK 1298) Ulrich Loup 7

22 Theory solver: Gröbner bases Mathematical background p 1 = 0... p k = 0 has no solution q 1p q k p k = 1 for some polynomials q 1,..., q k y 2 1 = 0 x 1 = 0 incremental )? {x 1, y 2 1} x 2 1 = (x + 1)(x 1) AlgoSyn (GRK 1298) Ulrich Loup 7

23 Theory solver: Gröbner bases Mathematical background p 1 = 0... p k = 0 has no solution q 1p q k p k = 1 for some polynomials q 1,..., q k y 2 1 = 0 x 1 = 0 x y + 1 = 0 )? incremental minimal infeasible subset {1} 1 = 1 3 (y 2 1) 1 3 (y + 2)(x 1) (y + 2)(x y + 1) AlgoSyn (GRK 1298) Ulrich Loup 7

24 Theory solver: Gröbner bases Mathematical background p 1 = 0... p k = 0 has no solution q 1p q k p k = 1 for some polynomials q 1,..., q k y 2 1 = 0 x 1 = 0 x + y 1 = 0 )? {x 1, y 2 1} incremental minimal infeasible subset backtracking AlgoSyn (GRK 1298) Ulrich Loup 7

25 Theory solver: Gröbner bases Mathematical background p 1 = 0... p k = 0 has no solution q 1p q k p k = 1 for some polynomials q 1,..., q k y 2 1 = 0 x 1 = 0 x + y 1 = 0 )? incremental minimal infeasible subset backtracking {1} 1 = (y 2 1) y(x 1) +y(x + y 1) AlgoSyn (GRK 1298) Ulrich Loup 7

26 Future work Enhance theory solver: Adjust the methods to the SMT framework (Redlog, Thomas Sturm, Universidad de Cantabria; Singular, Viktor Levandovskyy, RWTH Aachen). Manage differential equations. Generate unsatisfiability proofs. Integrate interval arithmetic (Ariadne, Pieter Collins, CWI Amsterdam). Work on the applications: Termination analysis (Computer science 2, RWTH Aachen) SFB 686 Niedertemperaturverbrennung AlgoSyn (GRK 1298) Ulrich Loup 8

27 References Alfred Tarski. A Decision Method for Elementary Algebra and Geometry. University of California Press, Christopher W. Brown and James H. Davenport. The complexity of quantifier elimination and cylindrical algebraic decomposition. In Dongming Wang, editor, ISSAC, pages ACM, Michael Kaplan. Computeralgebra AlgoSyn (GRK 1298) Ulrich Loup 9

The Potential and Challenges of CAD with Equational Constraints for SC-Square

The Potential and Challenges of CAD with Equational Constraints for SC-Square The Potential and Challenges of with Equational Constraints for SC-Square Matthew England (Coventry University) Joint work with: James H. Davenport (University of Bath) 7th International Conference on

More information

Symbolic Computation Techniques in SMT Solving

Symbolic Computation Techniques in SMT Solving Symbolic Computation Techniques in SMT Solving Erika Ábrahám RWTH Aachen University, Germany BCS-FACS Evening Seminar Joint event with the London Mathematical Society London /11/017 Photo: https://de.wikipedia.org/wiki/greater_london

More information

Satisfiability Checking

Satisfiability Checking Satisfiability Checking Interval Constraint Propagation Prof. Dr. Erika Ábrahám RWTH Aachen University Informatik 2 LuFG Theory of Hybrid Systems WS 14/15 Satisfiability Checking Prof. Dr. Erika Ábrahám

More information

Symbolic Computation Techniques in SMT Solving: Mathematical Beauty meets Efficient Heuristics

Symbolic Computation Techniques in SMT Solving: Mathematical Beauty meets Efficient Heuristics Symbolic Computation Techniques in SMT Solving: Mathematical Beauty meets Efficient Heuristics Erika Ábrahám and Gereon Kremer RWTH Aachen University, Germany Trento, Italy, 17 May 2018 Erika Ábrahám -

More information

Quantifier Elimination

Quantifier Elimination J.JSSAC (2003) Vol. 10, No. 1, pp. 3-12 Quantifier Elimination Quantifier Elimination ( ) IT 1 (quantifier elimination problem) (formal theory) ( ) (quantifier elimination :QE) (elementary theory of real

More information

Formal methods in analysis

Formal methods in analysis Formal methods in analysis Jeremy Avigad Department of Philosophy and Department of Mathematical Sciences Carnegie Mellon University May 2015 Sequence of lectures 1. Formal methods in mathematics 2. Automated

More information

SMT Nonlinear Real Arithmetic and Computer Algebra: a Dialog

SMT Nonlinear Real Arithmetic and Computer Algebra: a Dialog SMT Nonlinear Real Arithmetic and Computer Algebra: a Dialogue of the Deaf? James 1 University of Bath J.H.@bath.ac.uk 23 July 2017 1 Thanks to EU H2020-FETOPEN-2016-2017-CSA project SC 2 (712689) and

More information

Estimating the Region of Attraction of Ordinary Differential Equations by Quantified Constraint Solving

Estimating the Region of Attraction of Ordinary Differential Equations by Quantified Constraint Solving Estimating the Region of Attraction of Ordinary Differential Equations by Quantified Constraint Solving Henning Burchardt and Stefan Ratschan October 31, 2007 Abstract We formulate the problem of estimating

More information

Comparing Different Projection Operators in Cylindrical Algebraic Decomposition for SMT Solving

Comparing Different Projection Operators in Cylindrical Algebraic Decomposition for SMT Solving Comparing Different Projection Operators in Cylindrical Algebraic Decomposition for SMT Solving Tarik Viehmann, Gereon Kremer, and Erika Ábrahám RWTH Aachen University, Germany Abstract. Satisfiability-modulo-theories

More information

Verification and Synthesis. Using Real Quantifier Elimination. Ashish Tiwari, SRI Intl. Verif. and Synth. Using Real QE: 1

Verification and Synthesis. Using Real Quantifier Elimination. Ashish Tiwari, SRI Intl. Verif. and Synth. Using Real QE: 1 Verification and Synthesis Using Real Quantifier Elimination Thomas Sturm Max-Planck-Institute for Informatik Saarbrucken, Germany sturm@mpi-inf.mpg.de Ashish Tiwari SRI International Menlo Park, USA tiwari@csl.sri.com

More information

Satisfiability Checking: Theory and Applications

Satisfiability Checking: Theory and Applications Satisfiability Checking: Theory and Applications Erika Ábrahám RWTH Aachen University, Germany STAF/SEFM 2016 July 06, 2016 Erika Ábrahám - Satisfiability Checking: Theory and Applications 1 / 41 What

More information

Proving Unsatisfiability in Non-linear Arithmetic by Duality

Proving Unsatisfiability in Non-linear Arithmetic by Duality Proving Unsatisfiability in Non-linear Arithmetic by Duality [work in progress] Daniel Larraz, Albert Oliveras, Enric Rodríguez-Carbonell and Albert Rubio Universitat Politècnica de Catalunya, Barcelona,

More information

Choosing a variable ordering for truth-table invariant cylindrical algebraic decomposition by incremental triangular decomposition

Choosing a variable ordering for truth-table invariant cylindrical algebraic decomposition by incremental triangular decomposition Choosing a variable ordering for truth-table invariant cylindrical algebraic decomposition by incremental triangular decomposition Matthew England, Russell Bradford, James H. Davenport, and David Wilson

More information

USING FOURIER-MOTZKIN VARIABLE ELIMINATION FOR MCSAT EXPLANATIONS IN SMT-RAT

USING FOURIER-MOTZKIN VARIABLE ELIMINATION FOR MCSAT EXPLANATIONS IN SMT-RAT The present work was submitted to the LuFG Theory of Hybrid Systems BACHELOR OF COMPUTER SCIENCE USING FOURIER-MOTZKIN VARIABLE ELIMINATION FOR MCSAT EXPLANATIONS IN SMT-RAT Lorena Calvo Bartolomé Prüfer:

More information

A HYPERGEOMETRIC INEQUALITY

A HYPERGEOMETRIC INEQUALITY A HYPERGEOMETRIC INEQUALITY ATUL DIXIT, VICTOR H. MOLL, AND VERONIKA PILLWEIN Abstract. A sequence of coefficients that appeared in the evaluation of a rational integral has been shown to be unimodal.

More information

Linear Arithmetic Satisfiability via Strategy Improvement

Linear Arithmetic Satisfiability via Strategy Improvement Linear Arithmetic Satisfiability via Strategy Improvement Azadeh Farzan 1 Zachary Kincaid 1,2 1 University of Toronto 2 Princeton University July 13, 2016 The problem: satisfiability modulo the theory

More information

Estimating the Region of Attraction of Ordinary Differential Equations by Quantified Constraint Solving

Estimating the Region of Attraction of Ordinary Differential Equations by Quantified Constraint Solving Proceedings of the 3rd WSEAS/IASME International Conference on Dynamical Systems and Control, Arcachon, France, October 13-15, 2007 241 Estimating the Region of Attraction of Ordinary Differential Equations

More information

Program Verification by Using DISCOVERER

Program Verification by Using DISCOVERER Program Verification by Using DISCOVERER Lu Yang 1, Naijun Zhan 2, Bican Xia 3, and Chaochen Zhou 2 1 Software Engineering Institute, East China Normal University 2 Laboratory of Computer Science, Institute

More information

Polynomial System Example Bank Version 4.0-1/4/13

Polynomial System Example Bank Version 4.0-1/4/13 Polynomial System Example Bank Version 4.0-1/4/13 David John Wilson PhD Candidate, University of Bath Current draft: April 8, 2013 Contents 1 Introduction 2 2 Examples from CMXY09 3 3 Branch Cut Examples

More information

Tutorial 1: Modern SMT Solvers and Verification

Tutorial 1: Modern SMT Solvers and Verification University of Illinois at Urbana-Champaign Tutorial 1: Modern SMT Solvers and Verification Sayan Mitra Electrical & Computer Engineering Coordinated Science Laboratory University of Illinois at Urbana

More information

Computer Algebra and Formal Proof

Computer Algebra and Formal Proof James 1 University of Bath J.H.@bath.ac.uk 21 July 2017 1 Thanks to EU H2020-FETOPEN-2016-2017-CSA project SC 2 (712689) and the Isaac Newton Institute through EPSRC K/032208/1 Computer Algebra Systems

More information

What does without loss of generality mean (and how do we detect it)

What does without loss of generality mean (and how do we detect it) What does without loss of generality mean (and how do we detect it) James Davenport Hebron & Medlock Professor of Information Technology 1 University of Bath (U.K.) 1 August 2016 1 Thanks to Matthew England

More information

1.5 Non-linear Real Arithmetic

1.5 Non-linear Real Arithmetic A Simplex variant: Transform the satisfiability problem into the form A x = 0 l x u (where l i may be and u i may be + ). Relation to optimization problem is obscured. But: More efficient if one needs

More information

Program Verification by Using DISCOVERER

Program Verification by Using DISCOVERER Program Verification by Using DISCOVERER Lu Yang 1, Naijun Zhan 2, Bican Xia 3, and Chaochen Zhou 2 1 Software Engineering Institute, East China Normal University 2 Laboratory of Computer Science, Institute

More information

Termination Analysis of Loops

Termination Analysis of Loops Termination Analysis of Loops Zohar Manna with Aaron R. Bradley Computer Science Department Stanford University 1 Example: GCD Algorithm gcd(y 1, y 2 ) = gcd(y 1 y 2, y 2 ) if y 1 > y 2 gcd(y 1, y 2 y

More information

A heuristic prover for real inequalities

A heuristic prover for real inequalities A heuristic prover for real inequalities Jeremy Avigad Department of Philosophy and Department of Mathematical Sciences Carnegie Mellon University joint work with Robert Y. Lewis and Cody Roux (many slides

More information

Stability and Stabilization of polynomial dynamical systems. Hadi Ravanbakhsh Sriram Sankaranarayanan University of Colorado, Boulder

Stability and Stabilization of polynomial dynamical systems. Hadi Ravanbakhsh Sriram Sankaranarayanan University of Colorado, Boulder Stability and Stabilization of polynomial dynamical systems Hadi Ravanbakhsh Sriram Sankaranarayanan University of Colorado, Boulder Proving Asymptotic Stability: Lyapunov Functions Lyapunov Function:

More information

WHAT IS AN SMT SOLVER? Jaeheon Yi - April 17, 2008

WHAT IS AN SMT SOLVER? Jaeheon Yi - April 17, 2008 WHAT IS AN SMT SOLVER? Jaeheon Yi - April 17, 2008 WHAT I LL TALK ABOUT Propositional Logic Terminology, Satisfiability, Decision Procedure First-Order Logic Terminology, Background Theories Satisfiability

More information

Decision Procedures 1: Survey of decision procedures

Decision Procedures 1: Survey of decision procedures Decision Procedures 1: Survey of decision procedures John Harrison Intel Corporation TYPES summer school 2005, Göteborg Fri 19th August 2005 (09:00 09:45) 0 Summary Interesting and uninteresting proofs

More information

Constraint Logic Programming and Integrating Simplex with DPLL(T )

Constraint Logic Programming and Integrating Simplex with DPLL(T ) Constraint Logic Programming and Integrating Simplex with DPLL(T ) Ali Sinan Köksal December 3, 2010 Constraint Logic Programming Underlying concepts The CLP(X ) framework Comparison of CLP with LP Integrating

More information

Topics in Model-Based Reasoning

Topics in Model-Based Reasoning Towards Integration of Proving and Solving Dipartimento di Informatica Università degli Studi di Verona Verona, Italy March, 2014 Automated reasoning Artificial Intelligence Automated Reasoning Computational

More information

Formulating Problems in Real Algebra/Geometry

Formulating Problems in Real Algebra/Geometry Formulating Problems in Real Algebra/Geometry James Davenport Hebron & Medlock Professor of Information Technology 1 University of Bath (U.K.) 30 January 2014 1 Thanks to Russell Bradford, Matthew England,

More information

SMT Unsat Core Minimization

SMT Unsat Core Minimization SMT Unsat Core Minimization O F E R G U T H M A N N, O F E R S T R I C H M A N, A N N A T R O S TA N E T S K I F M C A D 2 0 1 6 1 Satisfiability Modulo Theories Satisfiability Modulo Theories (SMT): decides

More information

Opus: University of Bath Online Publication Store

Opus: University of Bath Online Publication Store Bradford, R., Davenport, J.H., England, M., McCallum, S. and Wilson, D. (2014) Truth table invariant cylindrical algebraic decomposition. Unpublished (Submitted). (Unpublished) Link to official URL (if

More information

Truth Table Invariant Cylindrical Algebraic Decomposition by Regular Chains

Truth Table Invariant Cylindrical Algebraic Decomposition by Regular Chains Truth Table Invariant Cylindrical Algebraic Decomposition by Regular Chains Russell Bradford 1, Changbo Chen 2, James H. Davenport 1, Matthew England 1, Marc Moreno Maza 3 and David Wilson 1 1 University

More information

16.29 GUARDIAN: Guarded Expressions in Practice

16.29 GUARDIAN: Guarded Expressions in Practice 564 CHAPTER 16 USER CONTRIBUTED PACKAGES 1629 GUARDIAN: Guarded Expressions in Practice Computer algebra systems typically drop some degenerate cases when evaluating expressions, eg, x/x becomes 1 dropping

More information

Quantifiers. Leonardo de Moura Microsoft Research

Quantifiers. Leonardo de Moura Microsoft Research Quantifiers Leonardo de Moura Microsoft Research Satisfiability a > b + 2, a = 2c + 10, c + b 1000 SAT a = 0, b = 3, c = 5 Model 0 > 3 + 2, 0 = 2 5 + 10, 5 + ( 3) 1000 Quantifiers x y x > 0 f x, y = 0

More information

Solving SAT Modulo Theories

Solving SAT Modulo Theories Solving SAT Modulo Theories R. Nieuwenhuis, A. Oliveras, and C.Tinelli. Solving SAT and SAT Modulo Theories: from an Abstract Davis-Putnam-Logemann-Loveland Procedure to DPLL(T) Mooly Sagiv Motivation

More information

Satisfiability Modulo Theories

Satisfiability Modulo Theories Satisfiability Modulo Theories Bruno Dutertre SRI International Leonardo de Moura Microsoft Research Satisfiability a > b + 2, a = 2c + 10, c + b 1000 SAT a = 0, b = 3, c = 5 Model 0 > 3 + 2, 0 = 2 5 +

More information

CAD: Algorithmic Real Algebraic Geometry

CAD: Algorithmic Real Algebraic Geometry 1 2 University of Bath z.p.tonks@bath.ac.uk 20 June 2018 1 Many thanks to my supervisor James Davenport, and colleagues Akshar Nair (Bath) & Matthew England (Coventry) 2 Also thanks to Maplesoft, and grants

More information

Computing the real solutions of polynomial systems with the RegularChains library in Maple

Computing the real solutions of polynomial systems with the RegularChains library in Maple ISSAC 2011 Software Presentation San Jose CA, June 9, 2011 (CDMMXX) RealTriangularize ISSAC 2011 1 / 17 Computing the real solutions of polynomial systems with the RegularChains library in Maple Presented

More information

1 Algebraic Methods. 1.1 Gröbner Bases Applied to SAT

1 Algebraic Methods. 1.1 Gröbner Bases Applied to SAT 1 Algebraic Methods In an algebraic system Boolean constraints are expressed as a system of algebraic equations or inequalities which has a solution if and only if the constraints are satisfiable. Equations

More information

Non-linear Interpolant Generation and Its Application to Program Verification

Non-linear Interpolant Generation and Its Application to Program Verification Non-linear Interpolant Generation and Its Application to Program Verification Naijun Zhan State Key Laboratory of Computer Science, Institute of Software, CAS Joint work with Liyun Dai, Ting Gan, Bow-Yaw

More information

Synthesizing from Components: Building from Blocks

Synthesizing from Components: Building from Blocks Synthesizing from Components: Building from Blocks Ashish Tiwari SRI International 333 Ravenswood Ave Menlo Park, CA 94025 Joint work with Sumit Gulwani (MSR), Vijay Anand Korthikanti (UIUC), Susmit Jha

More information

KeYmaera: A Hybrid Theorem Prover for Hybrid Systems

KeYmaera: A Hybrid Theorem Prover for Hybrid Systems KeYmaera: A Hybrid Theorem Prover for Hybrid Systems André Platzer Jan-David Quesel University of Oldenburg, Department of Computing Science, Germany International Joint Conference on Automated Reasoning,

More information

Solving Quantified Linear Arithmetic by Counterexample- Guided Instantiation

Solving Quantified Linear Arithmetic by Counterexample- Guided Instantiation Noname manuscript No. (will be inserted by the editor) Solving Quantified Linear Arithmetic by Counterexample- Guided Instantiation Andrew Reynolds Tim King Viktor Kuncak Received: date / Accepted: date

More information

Algebraic Methods. Motivation: Systems like this: v 1 v 2 v 3 v 4 = 1 v 1 v 2 v 3 v 4 = 0 v 2 v 4 = 0

Algebraic Methods. Motivation: Systems like this: v 1 v 2 v 3 v 4 = 1 v 1 v 2 v 3 v 4 = 0 v 2 v 4 = 0 Motivation: Systems like this: v v 2 v 3 v 4 = v v 2 v 3 v 4 = 0 v 2 v 4 = 0 are very difficult for CNF SAT solvers although they can be solved using simple algebraic manipulations Let c 0, c,...,c 2 n

More information

Combined Decision Techniques for the Existential Theory of the Reals

Combined Decision Techniques for the Existential Theory of the Reals Combined Decision Techniques for the Existential Theory of the Reals Grant Olney Passmore and Paul B. Jackson LFCS, University of Edinburgh {s0793114,pbj}@inf.ed.ac.uk Abstract. Methods for deciding quantifier-free

More information

A Piano Movers Problem Reformulated

A Piano Movers Problem Reformulated James (Bath) Thanks to Russell Bradford, Matthew England and David Wilson (Bath) 28 September 2012 Background Thirty years ago [SS83b, and others] showed that many problems of robot motion planning can

More information

Solving Non-Linear Arithmetic

Solving Non-Linear Arithmetic Solving Non-Linear Arithmetic Dejan Jovanović 1 and Leonardo de Moura 2 1 New York University 2 Microsoft Research Abstract. We present a new algorithm for deciding satisfiability of nonlinear arithmetic

More information

On Possible Use of Quantifier Elimination Software in Upper Secondary Mathematics Education

On Possible Use of Quantifier Elimination Software in Upper Secondary Mathematics Education On Possible Use of Quantifier Elimination Software in Upper Secondary Mathematics Education Yosuke Sato ysato@rs.kagu.tus.ac.jp Ryoya Fukasaku fukasaku@rs.tus.ac.jp Department of Applied Mathematics Tokyo

More information

Integrating Simplex with DPLL(T )

Integrating Simplex with DPLL(T ) CSL Technical Report SRI-CSL-06-01 May 23, 2006 Integrating Simplex with DPLL(T ) Bruno Dutertre and Leonardo de Moura This report is based upon work supported by the Defense Advanced Research Projects

More information

Cylindrical Algebraic Decomposition in Coq

Cylindrical Algebraic Decomposition in Coq Cylindrical Algebraic Decomposition in Coq MAP 2010 - Logroño 13-16 November 2010 Assia Mahboubi INRIA Microsoft Research Joint Centre (France) INRIA Saclay Île-de-France École Polytechnique, Palaiseau

More information

Interpolation. Seminar Slides. Betim Musa. 27 th June Albert-Ludwigs-Universität Freiburg

Interpolation. Seminar Slides. Betim Musa. 27 th June Albert-Ludwigs-Universität Freiburg Interpolation Seminar Slides Albert-Ludwigs-Universität Freiburg Betim Musa 27 th June 2015 Motivation program add(int a, int b) { var x,i : int; l 0 assume(b 0); l 1 x := a; l 2 i := 0; while(i < b) {

More information

Satisfiability Modulo Theories (SMT)

Satisfiability Modulo Theories (SMT) CS510 Software Engineering Satisfiability Modulo Theories (SMT) Slides modified from those by Aarti Gupta Textbook: The Calculus of Computation by A. Bradley and Z. Manna 1 Satisfiability Modulo Theory

More information

Lyapunov Function Synthesis using Handelman Representations.

Lyapunov Function Synthesis using Handelman Representations. Lyapunov Function Synthesis using Handelman Representations. Sriram Sankaranarayanan Xin Chen Erika Ábrahám University of Colorado, Boulder, CO, USA ( e-mail: first.lastname@colorado.edu). RWTH Aachen

More information

Decidability Results for Probabilistic Hybrid Automata

Decidability Results for Probabilistic Hybrid Automata Decidability Results for Probabilistic Hybrid Automata Prof. Dr. Erika Ábrahám Informatik 2 - Theory of Hybrid Systems RWTH Aachen SS09 - Probabilistic hybrid automata 1 / 17 Literatur Jeremy Sproston:

More information

6-1 The Positivstellensatz P. Parrilo and S. Lall, ECC

6-1 The Positivstellensatz P. Parrilo and S. Lall, ECC 6-1 The Positivstellensatz P. Parrilo and S. Lall, ECC 2003 2003.09.02.10 6. The Positivstellensatz Basic semialgebraic sets Semialgebraic sets Tarski-Seidenberg and quantifier elimination Feasibility

More information

Introduction to SAT (constraint) solving. Justyna Petke

Introduction to SAT (constraint) solving. Justyna Petke Introduction to SAT (constraint) solving Justyna Petke SAT, SMT and CSP solvers are used for solving problems involving constraints. The term constraint solver, however, usually refers to a CSP solver.

More information

Internals of SMT Solvers. Leonardo de Moura Microsoft Research

Internals of SMT Solvers. Leonardo de Moura Microsoft Research Internals of SMT Solvers Leonardo de Moura Microsoft Research Acknowledgements Dejan Jovanovic (SRI International, NYU) Grant Passmore (Univ. Edinburgh) Herbrand Award 2013 Greg Nelson What is a SMT Solver?

More information

Compositionally Analyzing a Proportional-Integral Controller Family

Compositionally Analyzing a Proportional-Integral Controller Family Compositionally Analyzing a Proportional-Integral Controller Family Ashish Tiwari Abstract We define always eventually region stability and then formulate the absolute always eventually region stability

More information

Exact Computation of the Real Solutions of Arbitrary Polynomial Systems

Exact Computation of the Real Solutions of Arbitrary Polynomial Systems Exact Computation of the Real Solutions of Arbitrary Polynomial Systems Presented by Marc Moreno Maza 1 joint work with Changbo Chen 1, James H. Davenport 2, François Lemaire 3, John P. May 5, Bican Xia

More information

Real Algebraic Strategies for MetiTarski Proofs

Real Algebraic Strategies for MetiTarski Proofs Real Algebraic Strategies for MetiTarski Proofs Grant Olney Passmore 1,2, Lawrence C. Paulson 1, and Leonardo de Moura 3 gp351@cam.ac.uk, lp15@cam.ac.uk, leonardo@microsoft.com 1 Computer Laboratory, University

More information

Solving computational problems in real algebra/geometry

Solving computational problems in real algebra/geometry Annales Mathematicae et Informaticae 44 (2015) pp. 35 46 http://ami.ektf.hu Solving computational problems in real algebra/geometry James H. Davenport University of Bath (U.K.) J.H.Davenport@bath.ac.uk

More information

Simplification of Cylindrical Algebraic Formulas

Simplification of Cylindrical Algebraic Formulas Simplification of Cylindrical Algebraic Formulas Changbo Chen, Marc Moreno Maza, Chongqing Key Laboratory of Automated Reasoning and Cognition, Chongqing Institute of Green and Intelligent Technology,

More information

arxiv: v1 [cs.sc] 24 Mar 2014

arxiv: v1 [cs.sc] 24 Mar 2014 Model-based construction of Open Non-uniform Cylindrical Algebraic Decompositions arxiv:1403.6487v1 [cs.sc] 24 Mar 2014 Christopher W. Brown United States Naval Academy Annapolis, Maryland 21402 wcbrown@usna.edu

More information

Nonlinear Control as Program Synthesis (A Starter)

Nonlinear Control as Program Synthesis (A Starter) Nonlinear Control as Program Synthesis (A Starter) Sicun Gao MIT December 15, 2014 Preliminaries Definition (L RF ) L RF is the first-order language over the reals that allows arbitrary numerically computable

More information

Discovering Non-Linear Ranking Functions by Solving Semi-Algebraic Systems

Discovering Non-Linear Ranking Functions by Solving Semi-Algebraic Systems Discovering Non-Linear Ranking Functions by Solving Semi-Algebraic Systems Yinghua Chen 1, Bican Xia 1, Lu Yang 2, Naijun Zhan 3, and Chaochen Zhou 3 1 LMAM & School of Mathematical Sciences, Peking University

More information

SMT BASICS WS 2017/2018 ( ) LOGIC SATISFIABILITY MODULO THEORIES. Institute for Formal Models and Verification Johannes Kepler Universität Linz

SMT BASICS WS 2017/2018 ( ) LOGIC SATISFIABILITY MODULO THEORIES. Institute for Formal Models and Verification Johannes Kepler Universität Linz LOGIC SATISFIABILITY MODULO THEORIES SMT BASICS WS 2017/2018 (342.208) Armin Biere Martina Seidl biere@jku.at martina.seidl@jku.at Institute for Formal Models and Verification Johannes Kepler Universität

More information

Combinations of Theories for Decidable Fragments of First-order Logic

Combinations of Theories for Decidable Fragments of First-order Logic Combinations of Theories for Decidable Fragments of First-order Logic Pascal Fontaine Loria, INRIA, Université de Nancy (France) Montreal August 2, 2009 Montreal, August 2, 2009 1 / 15 Context / Motivation

More information

Solving Quantified Verification Conditions using Satisfiability Modulo Theories

Solving Quantified Verification Conditions using Satisfiability Modulo Theories Solving Quantified Verification Conditions using Satisfiability Modulo Theories Yeting Ge, Clark Barrett, Cesare Tinelli Solving Quantified Verification Conditions using Satisfiability Modulo Theories

More information

An Algorithm for Approximate Factorization of Bivariate Polynomials 1)

An Algorithm for Approximate Factorization of Bivariate Polynomials 1) MM Research Preprints, 402 408 MMRC, AMSS, Academia Sinica No. 22, December 2003 An Algorithm for Approximate Factorization of Bivariate Polynomials 1) Zhengfeng Yang and Lihong Zhi 2) Abstract. In this

More information

Introduction to D-module Theory. Algorithms for Computing Bernstein-Sato Polynomials. Jorge Martín-Morales

Introduction to D-module Theory. Algorithms for Computing Bernstein-Sato Polynomials. Jorge Martín-Morales Introduction to D-module Theory. Algorithms for Computing Bernstein-Sato Polynomials Jorge Martín-Morales Centro Universitario de la Defensa de Zaragoza Academia General Militar Differential Algebra and

More information

Foundations of Lazy SMT and DPLL(T)

Foundations of Lazy SMT and DPLL(T) Foundations of Lazy SMT and DPLL(T) Cesare Tinelli The University of Iowa Foundations of Lazy SMT and DPLL(T) p.1/86 Acknowledgments: Many thanks to Albert Oliveras for contributing some of the material

More information

Problem formulation for truth-table invariant cylindrical algebraic decomposition by incremental triangular decomposition

Problem formulation for truth-table invariant cylindrical algebraic decomposition by incremental triangular decomposition Problem formulation for truth-table invariant cylindrical algebraic decomposition by incremental triangular decomposition Matthew England 1, Russell Bradford 1, Changbo Chen 2, James H. Davenport 1, Marc

More information

Formalizing Simplex within Isabelle/HOL

Formalizing Simplex within Isabelle/HOL Formalizing Simplex within Isabelle/HOL Mirko Spasić Filip Marić {mirko filip}@matf.bg.ac.rs Department of Computer Science Faculty of Mathematics University of Belgrade Formal and Automated Theorem Proving

More information

SAT, CSP, and proofs. Ofer Strichman Technion, Haifa. Tutorial HVC 13

SAT, CSP, and proofs. Ofer Strichman Technion, Haifa. Tutorial HVC 13 SAT, CSP, and proofs Ofer Strichman Technion, Haifa Tutorial HVC 13 1 The grand plan for today Intro: the role of SAT, CSP and proofs in verification SAT how it works, and how it produces proofs CSP -

More information

A QUANTIFIER-ELIMINATION BASED HEURISTIC FOR AUTOMATICALLY GENERATING INDUCTIVE ASSERTIONS FOR PROGRAMS

A QUANTIFIER-ELIMINATION BASED HEURISTIC FOR AUTOMATICALLY GENERATING INDUCTIVE ASSERTIONS FOR PROGRAMS Jrl Syst Sci & Complexity (2006) 19: 1 24 A QUANTIFIER-ELIMINATION BASED HEURISTIC FOR AUTOMATICALLY GENERATING INDUCTIVE ASSERTIONS FOR PROGRAMS Deepak KAPUR Received: 8 June 2006 c 2006 Springer Science

More information

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig First-Order Logic First-Order Theories Roopsha Samanta Partly based on slides by Aaron Bradley and Isil Dillig Roadmap Review: propositional logic Syntax and semantics of first-order logic (FOL) Semantic

More information

Journal of Symbolic Computation, Volume 34 Number 1. Number 2. Number 3. Number 4

Journal of Symbolic Computation, Volume 34 Number 1. Number 2. Number 3. Number 4 Journal of Symbolic Computation, Volume 34 Number 1 Eick, B., Orbit-stabilizer Problems and Computing Normalizers for Polycyclic Groups.............. 1 Giesl, J., Arts, T. and Ohlebusch, E., Modular Termination

More information

Theorem Proving for Verification

Theorem Proving for Verification 0 Theorem Proving for Verification John Harrison Intel Corporation CAV 2008 Princeton 9th July 2008 1 Formal verification Formal verification: mathematically prove the correctness of a design with respect

More information

Modeling and Analysis of Hybrid Systems

Modeling and Analysis of Hybrid Systems Modeling and Analysis of Hybrid Systems 5. Linear hybrid automata I Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid Systems RWTH Aachen University Szeged, Hungary, 27 September - 06 October

More information

Modeling and Analysis of Hybrid Systems Linear hybrid automata I Prof. Dr. Erika Ábrahám Informatik 2 - LuFG Theory of Hybrid Systems RWTH Aachen University Szeged, Hungary, 27 September - 06 October 2017

More information

Programming and certifying the CAD algorithm inside the Coq system

Programming and certifying the CAD algorithm inside the Coq system Programming and certifying the CAD algorithm inside the Coq system Assia Mahboubi INRIA Sophia Antipolis 2004, routes des Lucioles - B.P. 93 06902 Sophia Antipolis Cedex, France Assia.Mahboubi@sophia.inria.fr

More information

Overview, cont. Overview, cont. Logistics. Optional Reference #1. Optional Reference #2. Workload and Grading

Overview, cont. Overview, cont. Logistics. Optional Reference #1. Optional Reference #2. Workload and Grading Course staff CS389L: Automated Logical Reasoning Lecture 1: ntroduction and Review of Basics şıl Dillig nstructor: şil Dillig E-mail: isil@cs.utexas.edu Office hours: Thursday after class until 6:30 pm

More information

From SAT To SMT: Part 1. Vijay Ganesh MIT

From SAT To SMT: Part 1. Vijay Ganesh MIT From SAT To SMT: Part 1 Vijay Ganesh MIT Software Engineering & SMT Solvers An Indispensable Tactic for Any Strategy Formal Methods Program Analysis SE Goal: Reliable/Secure Software Automatic Testing

More information

Satisfiability Modulo Theories (SMT)

Satisfiability Modulo Theories (SMT) Satisfiability Modulo Theories (SMT) Sylvain Conchon Cours 7 / 9 avril 2014 1 Road map The SMT problem Modern efficient SAT solvers CDCL(T) Examples of decision procedures: equality (CC) and difference

More information

Satisfiability Modulo Theories

Satisfiability Modulo Theories Satisfiability Modulo Theories Summer School on Formal Methods Menlo College, 2011 Bruno Dutertre and Leonardo de Moura bruno@csl.sri.com, leonardo@microsoft.com SRI International, Microsoft Research SAT/SMT

More information

COMPUTER ALGEBRA AND POWER SERIES WITH POSITIVE COEFFICIENTS. 1. Introduction

COMPUTER ALGEBRA AND POWER SERIES WITH POSITIVE COEFFICIENTS. 1. Introduction COMPUTER ALGEBRA AND POWER SERIES WITH POSITIVE COEFFICIENTS MANUEL KAUERS Abstract. We consider the question whether all the coefficients in the series expansions of some specific rational functions are

More information

Current Advances. Open Source Gröbner Basis Algorithms

Current Advances. Open Source Gröbner Basis Algorithms Current Advances in Open Source Gröbner Basis Algorithms My name is Christian Eder I am from the University of Kaiserslautern 3 years ago Christian Eder, Jean-Charles Faugère A survey on signature-based

More information

Formal Theorem Proving and Sum-of-Squares Techniques

Formal Theorem Proving and Sum-of-Squares Techniques Formal Theorem Proving and Sum-of-Squares Techniques John Harrison Intel Corporation LIDS Seminar, MIT Fri 16th April 2010 (15:00-16:00) 0 Orientation Can divide theorem proving research into the following

More information

Using Single CAD Cells as Explanations in MCSAT-style SMT Solving

Using Single CAD Cells as Explanations in MCSAT-style SMT Solving Masterarbeit im Studiengang Informatik Using Single CAD Cells as Explanations in MCSAT-style SMT Solving von Heinrich-Malte Neuß Matrikelnummer 307877 malte.neuss@rwth-aachen.de vorgelegt der Fakultät

More information

Formally Analyzing Adaptive Flight Control

Formally Analyzing Adaptive Flight Control Formally Analyzing Adaptive Flight Control Ashish Tiwari SRI International 333 Ravenswood Ave Menlo Park, CA 94025 Supported in part by NASA IRAC NRA grant number: NNX08AB95A Ashish Tiwari Symbolic Verification

More information

SAT Modulo Linear Arithmetic for Solving Polynomial Constraints

SAT Modulo Linear Arithmetic for Solving Polynomial Constraints jar manuscript No. (will be inserted by the editor) SAT Modulo Linear Arithmetic for Solving Polynomial Constraints Cristina Borralleras Salvador Lucas Albert Oliveras Enric Rodríguez-Carbonell Albert

More information

on Newton polytopes, tropisms, and Puiseux series to solve polynomial systems

on Newton polytopes, tropisms, and Puiseux series to solve polynomial systems on Newton polytopes, tropisms, and Puiseux series to solve polynomial systems Jan Verschelde joint work with Danko Adrovic University of Illinois at Chicago Department of Mathematics, Statistics, and Computer

More information

MathCheck2: A SAT+CAS Verifier for Combinatorial Conjectures

MathCheck2: A SAT+CAS Verifier for Combinatorial Conjectures MathCheck2: A SAT+CAS Verifier for Combinatorial Conjectures Curtis Bright University of Waterloo May 13, 2016 1 / 26 Motivation The research areas of SMT [SAT-Modulo-Theories] solving and symbolic computation

More information

A Hierarchy of Proof Rules for Checking Differential Invariance of Algebraic Sets

A Hierarchy of Proof Rules for Checking Differential Invariance of Algebraic Sets A Hierarchy of Proof Rules for Checking Differential Invariance of Algebraic Sets Khalil Ghorbal 1, Andrew Sogokon 2, and André Platzer 1 1 Carnegie Mellon University, Computer Science Department, Pittsburgh,

More information

A Decision Procedure for Probability Calculus with Applications

A Decision Procedure for Probability Calculus with Applications 2 Branden Fitelson A Decision Procedure for Probability Calculus with Applications Branden Fitelson University of California Berkeley 04/16/08. Penultimate draft (final version to appear in the Review

More information

USING THOM ENCODINGS FOR REAL ALGEBRAIC NUMBERS IN THE CYLINDRICAL ALGEBRAIC DECOMPOSITION

USING THOM ENCODINGS FOR REAL ALGEBRAIC NUMBERS IN THE CYLINDRICAL ALGEBRAIC DECOMPOSITION The present work was submitted to the LuFG Theory of Hybrid Systems BACHELOR OF SCIENCE THESIS USING THOM ENCODINGS FOR REAL ALGEBRAIC NUMBERS IN THE CYLINDRICAL ALGEBRAIC DECOMPOSITION Tobias Winkler

More information

Propositional Reasoning

Propositional Reasoning Propositional Reasoning CS 440 / ECE 448 Introduction to Artificial Intelligence Instructor: Eyal Amir Grad TAs: Wen Pu, Yonatan Bisk Undergrad TAs: Sam Johnson, Nikhil Johri Spring 2010 Intro to AI (CS

More information