Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

We generally believe that PATH is not NP-complete. Explain the reason behind this belief. Show that proving PATH is not NP-complete would prove P ≠ NP

Short Answer

Expert verified

If PATH is not NP -complete, thenNPP$.

Step by step solution

01

To assume PATH would ne NP-complete

EveryAisNPis polynomial time reducible toB.

G is a directed graph that has a directed path.

PATH is not NP - complete:

Let us assume that PATH would be NP - complete.

From the definition of NP - completeness,

02

To explain it’s true or not

ThusP=NP which we believe that it is not true.

Hence, PATH is not NP - complete.

Assume thatP=NP and then show that PATH is NP - complete.

So assume P=NP.

So, PATH is NP - complete.

Thus, if PATH is not NP -complete, thenPNP

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Myhill–Nerode theorem. Refer to Problem 1.51 . Let L be a language and let X be a set of strings. Say that X is pairwise distinguishable by L if every two distinct strings in X are distinguishable by L. Define the index of L to be the maximum number of elements in any set that is pair wise distinguishable by L . The index of L may be finite or infinite.

a. Show that if L is recognized by a DFA with k states, L has index at most k.

b. Show that if the index of L is a finite number K , it is recognized by a DFA with k states.

c. Conclude that L is regular iff it has finite index. Moreover, its index is the size of the smallest DFA recognizing it.

If we disallow ε- in CFGs, we can simplify the DK-test. In the simplified test, we only need to check that each of DK’s accept states has a single rule. Prove that a CFG without ε- passes the simplified DK-testiff it is a DCFG.

Recall, in our discussion of the Church–Turing thesis, that we introduced the language is a polynomial in several variables having an integral root}. We stated, but didn’t prove, thatis undecidable. In this problem, you are to prove a different property of—namely, thatDis -hard. A problem is -hard if all problems in are polynomial time reducible to it, even though it may not be inNPitself. So you must show that all problems in NPare polynomial time reducible to D .

Let AMBIGCFG=<G>|GisanambiguousCFG. Show that AMBIGCFG is undecidable. (Hint: Use a reduction from PCP. Given an instance

P=t1b1,t2b2,,tkbk

of the Post Correspondence Problem, construct a CFG Gwith the rules

ST|B

Tt1Ta1|.....|tkTak|t1a1|....|tkak

Bb1B|...|b1Bak|...|bkak

where a1,...,ak are new terminal symbols. Prove that this reduction works.)

Show that the stringthe girl touches the boy with the flowerhas two different leftmost derivations in grammar G2 on page 103. Describe in English the two different meanings of this sentence.

See all solutions

Recommended explanations on Computer Science Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free