Prove that A is Turing-recognizable if and only if A ≤m ATM.
Prove that A is Turing-recognizable if and only if A
≤m ATM.
Proof:-----------
If A is Turing-recognizable, then there exists some TM R that
recognizes A. That is, R would receive an input w and accept if w
is in A (otherwise R does not accept).
To show that A ≤m ATM, we design a
TM that does the following: On input w, writes (R, w) on the tape
and halts. It is easy to check that (R, w) is in ATM if and only if
w is in A.
Thus, we get a mapping reduction of A to ATM .
Prove formally that L3 is Turing-recognizable, where L3 = {(M, A) | TM M and DFA A accept a string in common.}
Quick Quiz Is the following true? 1. If L is Turing-decidable, L is Turing- recognizable If L is Turing-recognizable, L is Turing- decidable 2. 3. If L is Turing-decidable, so is t 4. If L is Turing-recognizable, so is L 5. If both L and L are Turing-recognizable, L is Turing-decidable
Classify the language { (G) | G is a CFG, L(G) contains a palindrome}\ as (a) decidable (b) Turing-recognizable but not co-Turing recognizable (c) co-Turing recognizable but not Turing-recognizable (d) neither Turing nor co-Turing recognizable Justify your answer
Q1: Which of the following claims are true?* 1 point The recognizable languages are closed under union and intersection The decidable lanquages are closed under union and intersection The class of undecidable languages contains the class of recognizable anguages For every language A, at least one of A or A*c is recognizable Other: This is a required question Q2: Which of the following languages are recognizable? (Select all that apply) 1 point EDFA-{ «A> 1 A is a DFA and...
Investigate and Prove that the following closure properties hold for Turing machines Theorem 7: Both the Turing-recognizable and Turing- decidable languages are closed under concatenation and star.
an example, show that Turing-recognizable languages are not closed under comple 1. Using mentation
Give examples of the following sets (languages): a. A set (language) that is Turing-recognizable but not decidable b. A set (language) that is decidable but not context-free c. A set (language) that is context-free but not regular
3. Let L-{(M, q》 | M is a Turing machine and q is a state in M such that: there is at least one input string w such that M executed on w enters state q). Side note: In the real world, you can think of this as a question about finding "dead code" in a program. The question is: for a given line of code in your program, is there an input that will make the program execute that...
Show that every infinite Turing-recognizable language is the range of some one-to-one computable function.
2. Suppose a language is decidable. • Prove the language is recognizable. • Prove the language’s complement is also recognizable.