Chapter 5: Q29P (page 241)
Show that both conditions in Problem 5.28 are necessary for proving that P is undecidable.
Short Answer
Language P is undecidable.
/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
Learning Materials
Features
Discover
Chapter 5: Q29P (page 241)
Show that both conditions in Problem 5.28 are necessary for proving that P is undecidable.
Language P is undecidable.
All the tools & learning materials you need for study success - in one app.
Get started for free
Question: Consider the problem of determining whether a PDA accepts some string of the form . Use the computation history method to show that this problem is undecidable.
Define a two-headed finite automaton (2DFA) to be a deterministic finite automaton that has two read-only, bidirectional heads that start at the left-hand end of the input tape and can be independently controlled to move in either direction. The tape of a 2DFA is finite and is just large enough to contain the input plus two additional blank tape cells, one on the left-hand end and one on the right-hand end, that serve as delimiters. A 2DFA accepts its input by entering a special accept state. For example, a 2DFA can recognize the language .
Say that a variable A in CFG G is necessary if it appears in every derivation of some string . Let .
Question: Let . Show that T is undecidable.
Show that if A is Turing-recognizable and , then A is decidable.
What do you think about this solution?
We value your feedback to improve our textbook solutions.