Question: This problem investigates resolution, a method for proving the unsatisfiability of cnf-formulas. Let = C 1 C 2 C m be

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 unsatisfiable. 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.

Step by Step Solution

3.52 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a To show that resolution is sound we must show that it never declares satisf iable formulas ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Introduction theory computation Questions!