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

Show that the collection of Turing-recognizable languages is closed under the operation of

  1. union.
  2. concatenation.
  3. star.
  4. intersection.
  5. homomorphism.

Short Answer

Expert verified
  1. The collection of Turing recognizable language is closed under union operation.
  2. The collection of Turing recognizable language is closed under concatenation operation.
  3. The collection of Turing recognizable language is closed under star operation.
  4. The collection of Turing recognizable language is closed under intersection operation.
  5. The collection of Turing recognizable language is closed under homomorphism operation.

Step by step solution

01

Define Turing-recognizable languages.

The language recognized by a Turing machine is the string set that the machine accepts. A language is Turing recognizable if it is recognized by some Turing machine.

Thus a language is Turing recognizable, if some Turing machine accepts the string. However, a string that does not belong to the language may run forever.

02

Turing-recognizable languages are closed under the operation of a uniona)

Consider the two turing recognizable languages L1 and L2 that are defined by the turing machines M1 and M2 respectively. The union of the languages and the turing machines is represented as, LL1L2 and ML1L2 respectively.

On input s, run the languages L1 and L2 . It accepts or if both halt and reject, reject. Consider that the is a word from LL1L2. ML1L2 runs for the input string .as follows,

  • Execute M1 and M2 on w separately.
  • If any on the machine accepts, thenML1L2 accepts.
  • If both machines reject, then either of ML1L2 will loop.

Therefore, The collection of Turing recognizable language is closed under union operation

03

Turing-recognizable languages are closed under the operation of concatenation.b)

Consider the two turing recognizable languages L1 and L2 that are defined by the turing machines M1 and M2 respectively. The concatenation of the languages and the turing machines is represented as , LL1L2 and ML1L2 respectively.

On input s, run the languages L1 and L2 . It accepts or if both halt and reject, reject. Consider that the is a word from LL1L2 . ML1L2 runs for the input string .as follows,

  • The string is divided into w1 and w2 non-deterministically.
  • Execute M1 on w1 , if M1 halts and rejects, reject.
  • Execute M2 on w2 , if M2 accepts, accept. If M2 halts and rejects, reject.

Therefore, The collection of Turing recognizable language is closed under concatenation operation

04

Turing-recognizable languages are closed under the operation of a starc)

Use non-determinism to split up the stringin all possible waysω=ω1ω2.......ωk and run machine M simultaneously on all parts. The new machine accepts if some of these computations accept.

Consider the turing recognizable language L1 that are defined by the turing machine M1. The star operation of the language and the turing machines is represented as , L1*.

On input s, run the languages L1 as follows,

  • Execute L1 on w, it non-deterministically divided the string into
  • Execute M1*on divided parts, if all the divided parts are accepted , accept, else reject.

Therefore, The collection of Turing recognizable language is closed under star operation

05

Turing-recognizable languages are closed under the operation of an intersection.d)

The machine is the same as in union. Turing machine which recognizes the union of languages L2 and L2 on input ω runs machines M2 and M2 simultaneously on a stringand accepts if any of these accept if any of these machines accept.

Consider the two turing recognizable languages L2 and L2 that are defined by the turing machines M2 and M2 respectively. The intersection of the languages and the turing machines is represented as , LL1L2 and ML1L2 respectively.

On input s, run the languages L2 and L2 Consider that thew is a word from LL1L2 . ML1L2 runs for the input string. as follows,

  • Execute M1 on w, if M1 accepts, then M2 on w, else reject.
  • Execute M2 on w2 , if M2 accepts, accept. If M2 halts and rejects, reject.

Therefore, The collection of Turing recognizable language is closed under intersection operation

06

Turing-recognizable languages are closed under the operation of an Homomorphism.e)

Let f:*be homomorphism and L a Turning recognizable language, recognized by the machine M will be non-deterministic it first splits up input string in all possible ways such that ω=ω1ω2.......ωk.

And for each of these splits, tries to find symbolsrole="math" localid="1663167165362" α1,α2,α3,.......αksuch thatfαn=ωn.Then it runs machine input u=α1,α2,α3,.......αk. If any of these computations accept, then the machine M' accepts.

'Therefore, The collection of Turing recognizable language is closed under homomorphism operation.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

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

Examine the formal definition of a Turing machine to answer the following questions, and explain your reasoning.

a. Can a Turing machine ever write the blank symbol on its tape?

b. Can the tape alphabetΓbe the same as the input alphabet?

c. Can a Turing machine’s head ever be in the same location in two successive steps?

d. Can a Turing machine contain just a single state?

Let a k - PDA be a pushdown automaton that has k stacks. Thus a 0 - PDA is an NFA and a 1 - PDA is a conventional PDA. You already know that 1 - PDAs are more powerful (recognize a larger class of languages) than 0 - PDAs.

a. Show that 2 - PDAs are more powerful than 1 - PDAs.

b. Show that 3 - PDAs are not more powerful than2 - PDAs. (Hint: Simulate a Turing machine tape with two stacks.

Question:A Turing machine with stay put instead of left is similar to an ordinary Turing machine, but the transition function has the form

δ:Q×Γ-Q×Γ×{R,S}.

At each point, the machine can move its head right or let it stay in the same position. Show that this Turing machine variant is not equivalent to the usual version. What class of languages do these machines recognize?

A Turing machine with doubly infinite tape is similar to an ordinary Turing machine, but its tape is infinite to the left as well as to the right. The tape is initially filled with blanks except for the portion that contains the input. Computation is defined as usual except that the head never encounters an end to the tape as it moves leftward. Show that this type of Turing machine recognizes the class of Turing-recognizable languages.

Question:LetB={M1),(M2.......} be a Turing-recognizable language consisting of TM descriptions. Show that there is a decidable language C consisting of TM descriptions such that every machine described in B has an equivalent machine in C and vice versa.

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