Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Question: Let S={{M}|MisaTMandLM={M'}.Show that S nor S' neither is Turing recognizable.

Short Answer

Expert verified

Answer:

The language S={M}|MisaTMandLM={M'.for S nor S 'is turing recognizable is proved.

Step by step solution

01

Step 1: Turing machine.

A Turing Machine (TM) is a mathematical model which consists of an infinite length tape divided into cells on which input is given. It consists of a head which reads the input tape. A state register stores the state of the Turing machine.

02

Step 2:

For this problem, let’s assume that a Turing machine can recognize its own code one . Where the language should be recognizable by Turing machine for this instance it is must to show that showing the variables contains in the language which is evalualated by the grammar for Turing machine that is ATMMSandATMMS' , which also imply ATMMSandATMMS', respectively.

Decidable languages are closed under complementation. To design a machine M for the complement of a language, and simulate the machine for language on an input.

If it accepts then accept and vice versa.Decidable languages are closed under inverse homeomorphisms.

For the first step give the reduction from ATMtoS.

And given an instance M,wof ATM, we construct a machine which given an input x, rejects ifxM' and simulates M on w if x=(M)i.

Thus, ifLM'=M' accepts w and∅otherwise. Similarly, for the reduction from ATM to S, we make M0 accept if x = hM0 i and simulate on x otherwise.

In this case, it givesLM'=Σ* if M accepts w and .

Hence, here the language S={M}|MisaTMandLM={M'.for is turing recognizable is proved.

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Give informal English descriptions of PDAs for the languages in Exercise 2.6

Give context-free grammars generating the following languages.

a. The set of strings over the alphabet a,bwith more a's than b's

b. The complement of the language anbnn0.

c. w#xwRis a substring of x for w,x 0,1*

d. localid="1662105288591" x1#x2#...#xkk1,each xilocalid="1662105304877" a,b*,and for some i and j ,localid="1662105320570" xi=xjR

Use the recursion theorem to give an alternative proof of Rice’s theorem in Problem 5.28.

Myhill–Nerode theorem. Refer to Problem 1.51 . Let L be a language and let X be a set of strings. Say that X is pairwise distinguishable by L if every two distinct strings in X are distinguishable by L. Define the index of L to be the maximum number of elements in any set that is pair wise distinguishable by L . The index of L may be finite or infinite.

a. Show that if L is recognized by a DFA with k states, L has index at most k.

b. Show that if the index of L is a finite number K , it is recognized by a DFA with k states.

c. Conclude that L is regular iff it has finite index. Moreover, its index is the size of the smallest DFA recognizing it.

Let D=w|wcontains an even number of ’s and an odd number of ’s and does not contain the substring ab}. Give a DFA with five states that recognizes Dand a regular expression that generates D.(Suggestion: Describe Dmore simply.)

a. Give an NFA recognizing the language (01001010)*.

b. Convert this to an equivalent DFA. Give only the portion of theDFAthat is reachable from the start state.

See all solutions

Recommended explanations on Computer Science Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free