Lecture: SAT & SMT, Part 1

Date: 1/23/17

Reading

No summaries are necessary for this class.

Preparation

Install Z3. Download the latest release 4.5.0 from https://github.com/Z3Prover/z3/releases.

Make sure the Python binding works. You may need to add the path to Z3’s bin directory to the environment variable PYTHONPATH.

$ python
Python 2.7.10 (default, Oct 14 2015, 16:09:02) 
[GCC 5.2.1 20151010] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from z3 import *
>>> x = Int('x')
>>> prove(x < x + 1)
proved
>>> 

Class notes