Question: Show that if P = NP, a polynomial time algorithm exists that produces a satisfying assignment when given a satisfiable Boolean formula. Note: The algorithm

Show that if P = NP, a polynomial time algorithm exists that produces a satisfying assignment when given a satisfiable Boolean formula. Note: The algorithm you are asked to provide computes a function; but NP contains languages, not functions. The P = NP assumption implies that SAT is in P, so testing satisfiability is solvable in polynomial time. But the assumption doesn’t say how this test is done, and the testmay not reveal satisfying assignments. Youmust show that you can find them anyway. Hint: Use the satisfiability tester repeatedly to find the assignment bit-by-bit.

Step by Step Solution

3.41 Rating (154 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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

Document Format (2 attachments)

PDF file Icon

1556_61d6ac343a94e_840411.pdf

180 KBs PDF File

Word file Icon

1556_61d6ac343a94e_840411.docx

120 KBs Word File

Students Have Also Explored These Related Introduction theory computation Questions!