Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a special version of 3-SAT that requires that each variable has exactly 3 occurrences, but allows each clause to have either 2 or

 

Consider a special version of 3-SAT that requires that each variable has exactly 3 occurrences, but allows each clause to have either 2 or 3 literals. Let's call this problem 2,3-SAT3. Here is an example of an instance of 2,3-SAT3 problem: (x1 V2 V3) A (1V 2V 4) A (x1 V4) A (2 VT3) A (x3 V14) Note that each variable has exactly 3 occurrences. We want to show that 2,3-SAT3 is NP-hard. Follow the following steps to reduce 3-SAT to 2,3-SAT3 For simplicity, you may assume that in each instance of 3-SAT, every variable has at least 2 occurrences. (a) Given variables y1, y2,..., Yk, k > 2, design a set of 2-literal clauses such that there are exactly two assignments for these variables that satisfy the set of your designed clauses: (i) y = y2 = ... = Yk = false, and (ii) y = Y2 = ... = Yk = true. Each variable should have exactly 2 occurrences in these clauses. (b) Now consider an instance S of 3-SAT in which variable x; has k 2 occurrences. Using part (a) construct a new instance S' by replacing all occurrences of x; with new variables y1,..., yk. Add necessary clauses to make the original instance S and the new instance S' equivalent (one is satisfiable if and only if the other is satisfiable). Argue why each of these new variables has exactly 3 occurrences in S'. (c) Describe a reduction from 3-SAT to 2,3-SAT3 as an algorithm. (d) Prove correctness of your reduction! Bonus. Describe a reduction from 3-SAT to 2,3-SAT3 without assuming the simplifying assumption (that each variable in 3-SAT instance has at least 2 occurrences). Activ

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Applied Regression Analysis And Other Multivariable Methods

Authors: David G. Kleinbaum, Lawrence L. Kupper, Azhar Nizam, Eli S. Rosenberg

5th Edition

1285051084, 978-1285963754, 128596375X, 978-1285051086

More Books

Students also viewed these Programming questions

Question

3. Call on low achievers as often as you do high achievers.

Answered: 1 week ago