21.01.2015 Views

Boolean Satisfiability (SAT) Algorithms

Boolean Satisfiability (SAT) Algorithms

Boolean Satisfiability (SAT) Algorithms

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Interpolants from Proofs<br />

A = (p)(¬p∨q) B = (¬q∨r) (¬ r)<br />

(p) (¬p∨q)<br />

(q)<br />

(¬q∨r) (¬r)<br />

(p) is root and ∈ A<br />

but global literals = ∅<br />

False<br />

(¬p∨q) is root and ∈ A<br />

global literals = {q}<br />

(q)<br />

(r)<br />

()<br />

itp(c) { // c ∈ VΠ let p(c) be a<br />

if c is a root, then<br />

if c ∈ A then<br />

itp(c) = the disjunction of the global literals in c<br />

else itp(c) = constant True<br />

else, let c1, c2 be the predecessors of c<br />

and let v be their pivot variable<br />

if v is local to A<br />

then itp(c) = itp(c1) ∨ itp(c2)<br />

else p(c) = p(c1) ∧ p(c2)<br />

}<br />

(q) is not root<br />

p is local to A<br />

(r) is not root<br />

q is not local<br />

True<br />

True (¬r) is root,<br />

but ∉A<br />

q A’<br />

(¬q∨r) is root,<br />

but ∉A<br />

() is not root<br />

r is not local<br />

<strong>Boolean</strong> <strong>SAT</strong> <strong>Algorithms</strong> / FLOLAC 2009 Prof. Chung-Yang (Ric) Huang http://dvlab.ee.ntu.edu.tw<br />

232

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!