Proofs SAT Boolean Circuits SMT

Posted on May 1, 2014
Tags: othermath

1 Proof vs SAT

How does boolean satisfiability relate to proofs?

\(P \rightarrow Q\) \(P\) \((P \rightarrow Q) \rightarrow P \rightarrow Q\)
1 1 1
1 0 1
0 1 1
0 0 1

If we can build a proof of a statement, we know the expression is Satisfiable. Not only satisfiable but tautologically true (as shown in the third column representing the output)

2 Circuits

What happens if we built a circuit like a proof?
It would be useless since any input we give this circuit will be true like a lightbulb that stays on no matter what switch you pull. (Remember a proof is a tautology, true for all input states)

3 SMT

SMT is closely related to SAT.
Imagine instead of just Boolean variables, we had strings, arrays, real numbers, quantifiers in the expression of interest.
SMT solver is the first-order logic equivalent of SAT solver