Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

7 Extra Credit (5 points) In normal 3-SAT, a satisfying assignment of variables is an assignment where each clause has at least one of its

image text in transcribed

image text in transcribed

7 Extra Credit (5 points) In normal 3-SAT, a satisfying assignment of variables is an assignment where each clause has at least one of its variables satisfied. So in a satisfying assignment of an instance of 3-SAT, each clause is satisfied by 1, 2, or 3 of its variables. Consider the problem PARTIAL SAT, which is like 3-SAT, except clauses are not allowed to have all of their variables satisfied they must all be satisfied by 1 or 2 of their variables For example, consider (r1 Vac2 V-T3) A (-r1 V r2 V-as). If we take that as an instance of 3SAT, setting T1 and T3 to false, and a2 to true, would satisfy it. However, that would not be a valid solution to the instance of PARTIAL SAT, since all 3 variables in the second clause are satisfied by that truth assignment. Setting 1 and T2 to true, and z3 to false, however, would solve the instance of PARTIAL SAT, since the first clause is satisfied by 2 variables and the second clause is satisfied by 1 variable. Prove that PARTIAL SAT is NP-complete. (Hint: reduce from -SAT; for each clause in the original instance of 3-SAT, make 2 clauses in PARTIAL SAT using some new variables) 7 Extra Credit (5 points) In normal 3-SAT, a satisfying assignment of variables is an assignment where each clause has at least one of its variables satisfied. So in a satisfying assignment of an instance of 3-SAT, each clause is satisfied by 1, 2, or 3 of its variables. Consider the problem PARTIAL SAT, which is like 3-SAT, except clauses are not allowed to have all of their variables satisfied they must all be satisfied by 1 or 2 of their variables For example, consider (r1 Vac2 V-T3) A (-r1 V r2 V-as). If we take that as an instance of 3SAT, setting T1 and T3 to false, and a2 to true, would satisfy it. However, that would not be a valid solution to the instance of PARTIAL SAT, since all 3 variables in the second clause are satisfied by that truth assignment. Setting 1 and T2 to true, and z3 to false, however, would solve the instance of PARTIAL SAT, since the first clause is satisfied by 2 variables and the second clause is satisfied by 1 variable. Prove that PARTIAL SAT is NP-complete. (Hint: reduce from -SAT; for each clause in the original instance of 3-SAT, make 2 clauses in PARTIAL SAT using some new variables)

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

Step: 3

blur-text-image

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

Select Healthcare Classification Systems And Databases

Authors: Katherine S. Rowell, Ann Cutrell

1st Edition

0615909760, 978-0615909769

Students also viewed these Databases questions

Question

b. Does senior management trust the team?

Answered: 1 week ago