Levels Tought:
University
Teaching Since: | Apr 2017 |
Last Sign in: | 346 Weeks Ago, 6 Days Ago |
Questions Answered: | 9562 |
Tutorials Posted: | 9559 |
bachelor in business administration
Polytechnic State University Sanluis
Jan-2006 - Nov-2010
CPA
Polytechnic State University
Jan-2012 - Nov-2016
Professor
Harvard Square Academy (HS2)
Mar-2012 - Present
This problem investigates resolution, a method for proving the unsatisfiability of cnf-formulas. Let φ = C1 ∧ C2 ∧ • • • ∧ Cm be a formula in cnf, where the Ci are its clauses. Let C = {Ci| Ci is a clause of φ}. In a resolution step, we take two clauses Ca and Cb in C, which both have some variable x occurring positively in one of the clauses and negatively in the other. Thus, Ca = (x ∨ y1 ∨ y2 ∨ • • • ∨ yk) and Cb = (x ∨ z1 ∨ z2 ∨ • • • ∨ zl), where the yi and zi are literals. We form the new clause (y1 ∨ y2 ∨ • • • ∨ yk ∨ z1 ∨ z2 ∨ • • • ∨ zl) and remove repeated literals. Add this new clause to C. Repeat the resolution steps until no additional clauses can be obtained. If the empty clause ( ) is in C, then declare φ unsatisfiable. Say that resolution is sound if it never declares satisfiable formulas to be unsatisfi- able. Say that resolution is complete if all unsatisfiable formulas are declared to be unsatisfiable.
a. Show that resolution is sound and complete.
b. Use part (a) to show that 2SAT ∈ P.
Â
-----------