Consider the problem of determining whether a Turing machine M on an input w ever attempts to move its head left at any point during its computation on w. Formulate this problem as a language and show that it is decidable.

Short Answer

Expert verified

The given problem in question is undecidable

Step by step solution

01

Introduction to Turing Machine and Undecidability

Turing Machine

A Turing Machine is computational model concept that runs on the unrestricted grammar of Type-0. It accepts recursive enumerable language. It comprises of an infinite tape length where read and write operation can be perform accordingly.

Undecidable

A problem is undecidable if no Turing Machine exist which will halt in finite amount of time

02

Proving the language is undecidable

Assume a language that is expressed according to the question:

LMTM=M,w|MisturingMachinethatmovesleftwhilecomputingw

It is known that is decidable.

Now construct Turing Machine that will decide .

Assume that for any, which makes a left move must do so at most count or step.

Here,.

Now construct as below:

  • Run on for steps.
  • If makes a left move, Accept

Else Reject.

Since successful is created for , is decidable for which is itself decidable as mention at starting of the solution.

Hence, above problem is decidable.A

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

Question: A two-dimensional finite automaton (2DIM-DFA) is defined as follows. The input is anm×n rectangle, for any m,n2. The squares along the boundary of the rectangle contain the symbol # and the internal squares contain symbols over the input alphabet Σ. The transition functionδ:Q×(Σ#)Q×{L,R,U,D} indicates the next state and the new head position (Left, Right, Up, Down). The machine accepts when it enters one of the designated accept states. It rejects if it tries to move off the input rectangle or if it never halts. Two such machines are equivalent if they accept the same rectangles. Consider the problem of determining whether two of these machines are equivalent. Formulate this problem as a language and show that it is undecidable.

Question: Consider the problem of determining whether a two-tape Turing machine ever writes a nonblank symbol on its second tape during the course of its computation on any input string. Formulate this problem as a language and show that it is undecidable.

Question: Consider the problem of determining whether a Turing machine M on an input w ever attempts to move its head left at any point during its computation on w. Formulate this problem as a language and show that it is decidable.

Question: Consider the problem of determining whether a PDA accepts some string of the form {ww|w{0,1}*}. Use the computation history method to show that this problem is undecidable.

Question: LetΓ={0,1,} be the tape alphabet for all TMs in this problem. Define the busy beaver function BB:NNas follows. For each value of k, consider all K-state TMs that halt when started with a blank tape. LetBB(k) be the maximum number of 1s that remain on the tape among all of these machines. Show that BB is not a computable function.

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