/*! 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} Free solutions & answers for Introduction to Theory of Computation Chapter 5 - (Page 1) [step by step] 9781133187790 | ÷ÈÓ°Ö±²¥

÷ÈÓ°Ö±²¥

1E

Page 239

Show that EQCFG is undecidable.

2E

Page 239

Show that EQCFG is co-Turing-recognizable.

3E

Page 239

Find a match in the following instance of the Post Correspondence Problem.{[ababab],[ba],[abab],[aaa]}

7E

Page 239

Show that if A is Turing-recognizable and A⩽mA¯, then A is decidable.

Q12P

Page 239

Question: Consider the problem of determining whether a single-tape Turing machine ever writes a blank symbol over a nonblank symbol during the course of its computation on any input string. Formulate this problem as a language and show that it is undecidable.

Q15P

Page 240

Question: Consider the problem of determining whether a Turing machine M on an input w ever attempts to move its head left at any point during its computation on w. Formulate this problem as a language and show that it is decidable.

Q16P

Page 240

Question: LetΓ={0,1,⊔} be the tape alphabet for all TMs in this problem. Define the busy beaver function BB:N→Nas follows. For each value of k, consider all K-state TMs that halt when started with a blank tape. LetBB(k) be the maximum number of 1s that remain on the tape among all of these machines. Show that BB is not a computable function.

Q16P

Page 240

Let Γ=0,1,σbe the tape alphabet for all TMs in this problem. Define the busy beaver function BB:N→N as follows. For each value of K, consider all K-state TMs that halt when started with a blank tape. LetBBk be the maximum number of1s that remain on the tape among all of these machines. Show thatBB is not a computable function.

Q17P

Page 240

Show that the Post Correspondence Problem is decidable over the unary alphabet∑=1.

Q26P

Page 240

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 languageanbncn|n≥0 .

  • a. Let A2DFA={<M,x>|Mis a 2DFA and M acceptsx} . Show that A2DFA is decidable.
  • b. Let E2DFA={<M>|Mis a 2DFA and LM=∅}. Show that E2DFA is not decidable.

Access millions of textbook solutions in one place

  • Access over 3 million high quality textbook solutions
  • Access our popular flashcard, quiz, mock-exam and notes features
  • Access our smart AI features to upgrade your learning
Access millions of textbook solutions in one place

Recommended explanations on Computer Science Textbooks