Solution Found!

In the backtracking algorithm for SAT, suppose that we always choose a subproblem

Chapter 9, Problem 9.1

(choose chapter or problem)

Get Unlimited Answers
QUESTION:

In the backtracking algorithm for SAT, suppose that we always choose a subproblem (CNFformula) that has a clause that is as small as possible; and we expand it along a variable thatappears in this small clause. Show that this is a polynomial-time algorithm in the special casein which the input formula has only clauses with two literals (that is, it is an instance of 2SAT)

Questions & Answers

QUESTION:

In the backtracking algorithm for SAT, suppose that we always choose a subproblem (CNFformula) that has a clause that is as small as possible; and we expand it along a variable thatappears in this small clause. Show that this is a polynomial-time algorithm in the special casein which the input formula has only clauses with two literals (that is, it is an instance of 2SAT)

ANSWER:

Step 1 of 3

Let us first consider an example, say the following formula \(\phi\)

\((X \vee Y) \wedge(Z \vee \neg Y)(X)(\neg X \vee \neg Y)(W \vee Z)(\neg Z \vee W)(-U \vee \neg W)(-Z \vee U)\)

 

Add to cart


Study Tools You Might Need

Not The Solution You Need? Search for Your Answer Here:

×

Login

Login or Sign up for access to all of our study tools and educational content!

Forgot password?
Register Now

×

Register

Sign up for access to all content on our site!

Or login if you already have an account

×

Reset password

If you have an active account we’ll send you an e-mail for password recovery

Or login if you have your password back