Recent questions tagged turing-machine

0 0 votes
0 0 answers
618
618 views
Let $\Gamma = \{0, 1, \sqcup\}$ be the tape alphabet for all TMs in this problem. Define the busy beaver function $BB: N \rightarrow N$ as follows. For each value of $k$,...
1 1 vote
0 0 answers
2.9k
2.9k views
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 t...
0 0 votes
0 0 answers
481
481 views
Consider the problem of determining whether a Turing machine $M$ on an input $w$ ever attempts to move its head left when its head is on the left-most tape cell. Formulat...
0 0 votes
0 0 answers
539
539 views
A useless state in a Turing machine is one that is never entered on any input string. Consider the problem of determining whether a Turing machine has any useless states....
0 0 votes
0 0 answers
652
652 views
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 inp...
0 0 votes
0 0 answers
442
442 views
Consider the problem of determining whether a two-tape Turing machine ever writes a nonblank symbol on its second tape during the course of its computation on any input s...
1 1 vote
0 0 answers
462
462 views
Consider the problem of determining whether a two-tape Turing machine ever writes a nonblank symbol on its second tape when it is run on input $w$. Formulate this problem...
0 0 votes
0 0 answers
332
332 views
Let $T = \{\langle M \rangle \mid \text{M is a TM that accepts $w^{R}$ whenever it accepts} \:w\}$. Show that $T$ is undecidable.
0 0 votes
0 0 answers
462
462 views
In the proof of Theorem $5.15$, we modified the Turing machine $M$ so that it never tries to move its head off the left-hand end of the tape. Suppose that we did not make...
0 0 votes
0 0 answers
330
330 views
0 0 votes
0 0 answers
310
310 views
Show that $A_{TM}$ is not mapping reducible to $E_{TM}$. In other words, show that no computable function reduces $A_{TM}$ to $E_{TM}$. (Hint: Use a proof by contradictio...
0 0 votes
0 0 answers
391
391 views
Find a match in the following instance of the Post Correspondence Problem.$\begin{Bmatrix} \bigg[\dfrac{ab}{abab}\bigg],&\bigg[\dfrac{b}{a}\bigg],&\bigg[\dfrac{aba}{b}\bi...
0 0 votes
0 0 answers
457
457 views
Let $A$ be a Turing-recognizable language consisting of descriptions of Turing machines, $\{ \langle M_{1}\rangle,\langle M_{2}\rangle,\dots\}$, where every $M_{i}$ is a ...
0 0 votes
0 0 answers
336
336 views
Let $INFINITE_{PDA} = \{\langle{ M \rangle} \mid \text{M is a PDA and L(M) is an infinite language}\}$. Show that $INFINITE_{PDA}$ is decidable.
0 0 votes
0 0 answers
316
316 views
Let $INFINITE_{DFA} = \{\langle{ A \rangle} \mid \text{ A is a DFA and L(A) is an infinite language}\}$. Show that $INFINITE_{DFA}$ is decidable.
0 0 votes
0 0 answers
590
590 views
Review the way that we define sets to be the same size in Definition $4.12$ (page $203$). Show that “is the same size” is an equivalence relation.
0 0 votes
0 0 answers
685
685 views
Let $T = \{(i, j, k)\mid i, j, k \in N \}$. Show that $T$ is countable.
0 0 votes
0 0 answers
265
265 views
Let $B$ be the set of all infinite sequences over $\{0,1\}$. Show that $B$ is uncountable using a proof by diagonalization.
0 0 votes
0 0 answers
280
280 views
Let $X$ be the set $\{1, 2, 3, 4, 5\}$ and $Y$ be the set $\{6, 7, 8, 9, 10\}$. We describe the functions $f : X\rightarrow Y$ and $g : X\rightarrow Y$ in the following t...
0 0 votes
0 0 answers
295
295 views
Let $E_{TM} = \{\langle{ M \rangle } \mid M\: \text{is a TM}\: \text{and}\: L(M) = \phi\}$. Show that $E_{TM}$, the complement of $E_{TM}$, is Turing-recognizable.
0 0 votes
0 0 answers
336
336 views
Let $A\varepsilon_{CFG} = \{ \langle{ G }\rangle \mid G\: \text{is a CFG that generates}\: \epsilon \}.$Show that $A\varepsilon_{CFG}$ is decidable.
0 0 votes
0 0 answers
374
374 views
Let $ALL_{DFA} = \{ \langle{ A }\rangle \mid A \text{ is a DFA and}\: L(A) = \Sigma^{\ast}\}.$ Show that $ALL_{DFA}$ is decidable.
0 0 votes
0 0 answers
384
384 views
Let $A$ be the language containing only the single string $s$, where$s = \left\{\begin{matrix} \text{0 if life never will be found on Mars} \\ \:\: \text{1 if life will b...
0 0 votes
0 0 answers
299
299 views
Let $c_{1}x^{n} + c_{2}x^{n-1} + \dots + c_{n}x + c_{n+1}$ be a polynomial with a root at $x = x_{0}.$ Let $c_{max}$ be the largest absolute value of a $c_{i}.$ Show tha...
0 0 votes
0 0 answers
284
284 views
Show that single-tape $TMs$ that cannot write on the portion of the tape containing the input string recognize only regular languages.
0 0 votes
0 0 answers
374
374 views
Show that every infinite Turing-recognizable language has an infinite decidable subset.
0 0 votes
0 0 answers
260
260 views
Let $B = \{\langle {M_{1}\rangle},\langle{ M_{1}\rangle} , \dots \}$ be a Turing-recognizable language consisting of $TM$ descriptions. Show that there is a decidable la...
0 0 votes
0 0 answers
295
295 views
Show that the collection of Turing-recognizable languages is closed under the operation ofunion.concatenation.star.intersection.homomorphism.
0 0 votes
0 0 answers
267
267 views
Show that the collection of decidable languages is closed under the operation ofunion.concatenation.star.complementation.intersection.