Homework 2 Review

We spent at least half the class going over the homework. There were a number of important problems there to discuss! A few comments:

Modeling real problems in propositional logic and using SAT solvers to discover new information

In small groups you will use propositional logic and SAT solvers to some the problem below. I suggest you first think about what variables you want. Not just what letters to use, but for each variable, what statement that variable stands for. Then try to model each rule with a formula.

ACTIVITY

Solution to the modeling problem

Below is a screenshot of a session with the Propositional Logic Tool that solves the problem from the Activity.

A few important thoughts:

 

A few comments

This example is small, a toy example, really. But using SAT solvers to manage configurations in automotive manufacturing is absolutely a real thing (see for example this paper). In fact, SAT Solvers get used for all sorts of industrial applications. Their ability to handle enormous problems makes them very powerful tools. But in the end, the way they get used is very much what we are doing in our activity. We encode our real-world problems in propositional logic, let the SAT Solver find a solution (or determine UNSAT), and map tha solution (or the fact that there is no solution) back to the real world, thereby giving us a new fact.

Christopher W Brown