Lecture: Satisfiability Checking

Important information

RWTHonline12.14115
Lecture
(including bonus exercises)
Monday 10:30-12:00, AH VI
Tuesday 08:30-10:00, AH VI
(lectures are not recorded)
ExercisesWednesday 10:15-11:00, AH II
(exercises are not recorded)
First LectureTuesday, 11 October 2022
LanguageEnglish
Examwritten, 120 minutes
Admission to examthree e-Tests
PrerequisitesBasic knowledge about algorithms is required
SWS5 (V4Ü1)
Credit points6
First exam27.02.2023
Second exam30.03.2023

News and materials can be found in the corresponding Moodle learning room. For additional information see also the information on RWTHonline.

Background

Different approaches in computer science are based on encoding certain problems by logical formulas, such that the solutions to the logical formula encode the solutions to the original problem. To achieve these solutions, we need some tools (solvers) to check the satisfiability of logical formulas.

Propositional satisfiability is the problem of determining, for a formula of propositional logic, whether there is an assignment of truth values to its variables for which that formula evaluates to true. In the 90’s, a technology called SAT solving has become impressively powerful, being able to check the satisfiability of huge real-world propositional logic problems with millions of clauses.

Based on this success, the question raised whether these technologies could be somehow extended to check also quantifier-free first-order logic formulas over different theories for satisfiability. This would be very helpful as a lot of real-world problems cannot be conveniently encoded in propositional logic. This was the motivation for the development of so-called Satisfiability Modulo Theories (SMT) solvers.

Contents

In this course we review the algorithmic background of these developments for propositional logic and different theories, with a main focus an arithmetic theories. The lecture covers the following topics:

  • Propositional logic, first-order logic theories, decidability results
  • SAT solving to solve the propositional satisfiability problem
  • Eager SMT solving for
    – equality logic with uninterpreted functions and
    – bitvector arithmetic
  • Lazy SMT solving for
    – equality logic with uninterpreted functions,
    – linear real arithmetic (using the Fourier-Motzkin variable elimination and the simplex algorithm),
    – linear integer arithmetic (using the branch-and-bound method),
    – non-linear real arithmetic (using interval constraint propagation, subtropical satisfiability, the virtual substitution and the cylindrical algebraic decomposition methods)

Materials

For learning you can use the book

Daniel Kroening and Ofer Strichman: Decision Procedures: An Algorithmic Point of View, Springer-Verlag, Berlin, 2008.

which is available in the computer science library, the lecture slides and the lecture notes that will be made available via Moodle.

Evaluations of past years