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.
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 freeQuestion: A two-dimensional finite automaton (2DIM-DFA) is defined as follows. The input is an rectangle, for any . The squares along the boundary of the rectangle contain the symbol # and the internal squares contain symbols over the input alphabet . The transition function indicates the next state and the new head position (Left, Right, Up, Down). The machine accepts when it enters one of the designated accept states. It rejects if it tries to move off the input rectangle or if it never halts. Two such machines are equivalent if they accept the same rectangles. Consider the problem of determining whether two of these machines are equivalent. Formulate this problem as a language and show that it 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 .
Question: Let . Show that T is undecidable.
Show that the Post Correspondence Problem is decidable over the unary alphabet.
Question: Show that both conditions in Problem 5.28 are necessary for proving that P is undecidable.
What do you think about this solution?
We value your feedback to improve our textbook solutions.