## Important information

The contact email address for this lecture is *teaching[at]ths.rwth-aachen.de*. Note that emails regarding the lecture sent to other email addresses will not be answered.

RWTHonline | 12.14115 |

Lecture (including bonus exercises) | Mondays 08:30-10:00, AH III Fridays 08:30-10:00, AH II (lectures are not recorded)Starts on October 13. For participation in the Bonus exercises, the registration for the lecture is required. The number of participants is limited for this lecture. |

Exercises | Tuesdays 10:30-11:15, AH VI(exercises are not recorded)Starts on October 17. |

First Lecture | Friday, 13 October 2023 |

Language | English |

Exam | written, 120 minutes |

Admission to exam | three e-Tests |

Prerequisites | Basic knowledge about algorithms is required |

SWS | 5 (V4Ü1) |

Credit points | 6 |

First exam | 01.03.2024 |

Second exam | 25.03.2024 |

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

- WS 22/23: Evaluation
- WS 20/21: Evaluation
- WS 19/20: Evaluation
- WS 18/19: Sabbatical
- WS 17/18: Evaluation
- WS 16/17: Evaluation
- WS 15/16: Evaluation
- WS 14/15: Evaluation
- WS 12/13: Lecturer Lecture
- WS 11/12: Lecturer Lecture
- WS 10/11: Lecturer Lecture