Question

A Turing machine that halts on all inputs is called a halting Turing machine (also known...

A Turing machine that halts on all inputs is called a halting Turing machine (also known as Decider). Prove the following:

(a) If M1 and M2 are two halting Turing machines, then there exists a halting Turing machine that recognizes L(M1) ∩ L(M2).

(b) If M1 and M2 are two (not necessarily halting) Turing machines, then there exists a Turing machine that recognizes L(M1) ∩ L(M2).

0 0
Add a comment Improve this question Transcribed image text
Answer #1

a)

Given,

M1 and M2 are two halting Turing machines.

So, let's assume there is a turing machine M which accepts the intersection of both the machines M1 and M2.

Let there be a string which is passed on the turing machine M as follows :

In the above figure, when the string is passed through the turing machine M, it first reaches turing machine M1. if M1 rejects the string, then it goes to the reject state. If it is accepted by turing machine M1, then the string is passed to turing machine M2. If M2 rejects the string, then it goes to the reject state . If the string is accepted by the turing machine M2, then the it goes to the accept state of turing machine M.

This infers that the output of the turing machine M has only 2 options that is either it accepts a string which comes under the intersection of the languages of turing machine M1 asnd M2  or rejects it. So, the assumption that the turing machine M is a halting turing machine is correct.

Thus, there exists a halting turing machine M whose language is able to recognize the intersection of the languages of halting turing machine M1 and M2.

b)

Let's assume that there exist a turing machine M ( not necessarily halting turing machine ) that accepts the set of strings coming under the intersection of the languages accepted by turing machine M1 and turing machine M2 ( not necessarily halting turing machine ).

Let there be a string that is passed to the turing machine M as follows :

In the above figure, when the string is passed through the turing machine M, it first reaches turing machine M1. If M1 rejects the string, then it goes to the reject state . If M1 loops the string for an indefinite time then it goes to the looping state. If the string is accepted by turing machine M1, then the string is passed onto turing machine M2. If M2 rejects the string, then it goes to the reject state of turing machine M. If M2 loops the string for an indefinite time then it goes to the looping state .

This infers that the output of turing machine M has 3 options that is either it accepts it, rejects it or goes for a loop.

So, the assuption that there exist a turing machine M ( not necessarily halting turing machine ) that accepts the set of strings coming under the intersection of the languages accepted by turing machine M1 and turing machine M2 ( not necessarily halting turing machine ).

Thus, there exists a turing machine M whose language is able to recognize the intersection of the languages of turing machine M1 and M2.

Add a comment
Know the answer?
Add Answer to:
A Turing machine that halts on all inputs is called a halting Turing machine (also known...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1. (25 points) Turing Machine Design: Design a Turing machine Mi that operates on inputs that...

    1. (25 points) Turing Machine Design: Design a Turing machine Mi that operates on inputs that are strings in 10, 1). Design Mi so that it recognizes the following language: fw E (0.1)l w ends in 10 or 111) a. Provide a high-level English prose description for the actions of Mi b. Provide an implementation-level description of M. c. List the parts of the formal 7-tuple for M d. Draw a detailed pictorial state diagram for M1 e. List the...

  • Suppose L1, L2, and L3 are languages and T1, T2, and T3 are Turing machines such...

    Suppose L1, L2, and L3 are languages and T1, T2, and T3 are Turing machines such that L(T1) = L1, L(T2) = L2, L(T3) = L3, knowing that T3 is recursive (always halts, either halts and accepts or halts and rejects) and both T1 and T2 are recursive enumerable so they may get stuck in an infinite loop for words they don't accept.. For each of the following languages, describe the Turing machine that would accept it, and state whether...

  • 19. (1 point) Suppose that L is undecidable and L is recognizable. Which of the following...

    19. (1 point) Suppose that L is undecidable and L is recognizable. Which of the following could be false? A. I is co-Turing recognizable. B. I is not recognizable. C. I is undecidable. D. L* is not recognizable. E. None of the above. 20. (2 points) Let ETM {(M)|L(M) = 0} and EQTM = {(M1, M2)|L(Mi) = L(M2)}. We want to show that EQTM is undecidable by reducing Etm to EQTM and we do this by assuming R is a...

  • Technical Review -Turing Machines 1. Machine #1 is very simple. State Read Symbols Write Symbol RAL...

    Technical Review -Turing Machines 1. Machine #1 is very simple. State Read Symbols Write Symbol RAL Read 0 New State q Halt (L Read 1 L Read 1 0 L Run this machine on the following tapes and produce the result. Determine what this machine does The starting head position is marked by the arrow. 0011 100162 a) 1 † 1 10100 101112 0 0 b) 101 + 11000L 11000 safler halt, all reading Symbol remain some and stoping Adding...

  • Turing Machines - Models of Language and Computation 8. (7 points) Consider the deterministic Turing machine M (s, t, h), includes fa, b, u) and possibly other symbols, H following rules, along with...

    Turing Machines - Models of Language and Computation 8. (7 points) Consider the deterministic Turing machine M (s, t, h), includes fa, b, u) and possibly other symbols, H following rules, along with possibly other rules: (K, Σ, δ, s,H), where K (h), and includes the 6(s,凵) = (t,-) δ(t, a) = (t,-) 6(r,L) = (h, a) Here凵represents a blank. Suppose M is started in the configuration 凵aababaa in the start state with the read write head scanning the blank...

  • Answer and explain your answer QUESTION 5 A Turing machine M with start state go and...

    Answer and explain your answer QUESTION 5 A Turing machine M with start state go and accepting state of has the following transition function: 1 8(q,a) 0 B 40 (90,1,R) (91,1,R) (9f,B,R) 91 (42,0,L) (42,1,L) (92,B,L) 42 (90,0,R) 9f Deduce what M does on any input of O's and I's. Hint: consider what happens when M is started in state qo at the left end of a sequence of any number of 0's (including zero of them) and a 1....

  • 1. Use a Regular Expression to define the set of all bit strings of one or...

    1. Use a Regular Expression to define the set of all bit strings of one or more 0's followed by only a 1. 2. Use a Regular Expression to define the set of all bit string of two or more symbols followed by three or more 0's. 3. Are these two grammars the same? a. S-> aSb|ab|λ b. S-> aAb|ab A->aAb|λ 4. Use the process of elimination to find the language of the following FA: (see picture for diagram) 5....

  • Question 17. Saccharomyces cerevisiae (also called budding yeast or baker's yeast) normally makes LARGE colonies on...

    Question 17. Saccharomyces cerevisiae (also called budding yeast or baker's yeast) normally makes LARGE colonies on the Petri dish. The fungus can exist as either a haploid or as a diploid. As a geneticist, you decide to isolate haploid mutants with altered size of colonies. You collect 6 such haploid mutants, which you arbitrarily name M1, M2, M3, M4, M5, and M6. To determine how many genes are represented by your mutants, you do a series of crosses resulting in...

  • just trying to get the solutions to study, please answer if you are certain not expecting...

    just trying to get the solutions to study, please answer if you are certain not expecting every question to be answered P1 Let PC 10, +00) be a set with the following property: For any k e Zso, there exists I E P such that kn s 1. Prove that inf P = 0. P2 Two real sequences {0,) and {0} are called adjacent if {a} is increasing. b) is decreasing, and limba - b) = 0. (a) Prove that,...

  • 2.17 Prove that a system is linear if and only if 1. It is homogeneous, i.e., for all input signals x(t) and all real n...

    2.17 Prove that a system is linear if and only if 1. It is homogeneous, i.e., for all input signals x(t) and all real numbers α, we have 2. It is additive, i.e., for all input signals xi (t) and x2(t), we have In other words, show that the two definitions of linear systems given by Equations (2.1.39) and (2.1.40) are equivalent. s.PNG Edit & Create Add to a creation Sh Linearand NonlinearSystems. Linear systems are systems for which the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT