Question

In: Computer Science

Prove Turing-Decidability of the following languages. L = { < M > | TM M accepts...

Prove Turing-Decidability of the following languages.

L = { < M > | TM M accepts at least one string in no more than 9 step}

Hint: What is the maximum number of tape squares can a TM scan in no more than 9 steps?

Solutions

Expert Solution

Prove Turing-Decidability of the following languages.

L = { < M > | TM M accepts at least one string in no more than 9 step}

Answer: What is language-decidability?

A language is called Decidable or Recursive if there is a Turing machine which accepts not more than w strings at a stretch and halts.

Let TM M, find the length of < M > and stores it. Then, it runs M on all inputs of length at most | < M >|, in at most |< M >| steps, and accepts at least one of the strings within the specified number of steps.

The limitation of the length (which in our case is 9) bounds, provide the finiteness to the Turing tape and bounds the number of steps that M runs on an input, which implies that there is no point for looking at any strings that have a length greater than the decided number (9). Also, since if a TM can run for most 9 steps, it is not possible for M to process any input beyond the 9th symbol.

Since, the number of possible inputs is finite, and the number of steps M runs on each input is finite, it's guaranteed to halt at 9th symbol and decide the language.

  


Related Solutions

Describe a TM (Turing Machine) which accepts the language L = {w2w | w is a...
Describe a TM (Turing Machine) which accepts the language L = {w2w | w is a string in {0, 1}* }. Here I mean informally describe how the TM works. You need not give the full program or diagram.
Prove that the language L={(M, N): M is a Turing machine and N is a DFA...
Prove that the language L={(M, N): M is a Turing machine and N is a DFA with L(M) =L(N)} is undecidable. You need to derive a reduction from Atm={(M, w)|Turing machine M accepts w} to L. (In layman's terms please, no other theorems involved)
Turing Machine and Closure Operations Show that Turing-recognizable languages are closed under the following operations: union...
Turing Machine and Closure Operations Show that Turing-recognizable languages are closed under the following operations: union concatenation star Each answer needs only be a short informal description of a Turing Machine (but it must still be sufficiently precise so someone could reconstruct a formal machine if needed). Also, be careful with non-termination (when appropriate)!
Turing Machine and Closure Operations Show that Turing-decidable languages are closed under the following operations: union...
Turing Machine and Closure Operations Show that Turing-decidable languages are closed under the following operations: union concatenation star
Show that Turing-decidable languages are closed under the following operations: union concatenation star Show that Turing-recognizable...
Show that Turing-decidable languages are closed under the following operations: union concatenation star Show that Turing-recognizable languages are closed under the following operations: union concatenation star Each answer needs only be a short informal description of a Turing Machine (but it must still be sufficiently precise so someone could reconstruct a formal machine if needed).
Show that the language F={M| M is a Turing machine , and L(M) contains infinite elements}...
Show that the language F={M| M is a Turing machine , and L(M) contains infinite elements} is not Turing recognizable.
Are the following languages over {a, b} regular? If they are then prove it. If they...
Are the following languages over {a, b} regular? If they are then prove it. If they are not prove it with the Pumping Lemma a) {ap | p is a prime number} b) {xax | x Î{a,b}*} (start by listing some strings in, not in, the language
prove or disprove A Turing machine with two tapes is no more powerful than a Turing...
prove or disprove A Turing machine with two tapes is no more powerful than a Turing machine with one tape. (That is, both types of machines can compute the same set of functions.) The cardinality of the set of irrational numbers is greater than the cardinality of the set of all rational numbers. The cardinality of the set of all algebraic numbers is exactly the same as the cardinality of all real numbers.
Use the pumping lemma to prove that the following languages are not regular. (a)L2 = {y...
Use the pumping lemma to prove that the following languages are not regular. (a)L2 = {y = 10 × x | x and y are binary integers with no leading 0s, and y is two times x}. (The alphabet for this languages is {0, 1, ×, =}.) For example, 1010 = 10 × 101 is in L2, but 1010 = 10 × 1 is not. (b)Let Σ2 = {[ 0 0 ] , [ 0 1 ] , [ 1...
(35 pt.) Prove that the following languages are not regular using the pumping lemma. (15pt.)?={?????? |?,?≥?}...
(35 pt.) Prove that the following languages are not regular using the pumping lemma. (15pt.)?={?????? |?,?≥?} (20 pt.) ? = {? ∈ {?, #}∗ | ? = ??#??# ... #?? ??? ? ≥ ?, ?? ∈ ?∗ ??? ????? ?, ??? ?? ≠?? ???????? ?≠?} Hint: choose a string ? ∈ ? that contains ? #’s.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT