A two-dimensional finite automaton (2DIM-DFA) is defined as follows. The input is an m×nrectangle, 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,Dindicates 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.

Short Answer

Expert verified

The language in given question is undecidable

Step by step solution

01

Undecidable

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

02

Formulating language and proving it undecidable

In order to check undecidability of two-dimensional finite automatonE2DIM-DFA, we have to reduceATMby m intoE2DIM-DFAusing map reductionM,wto B.

This means, if w is accepted by Turing Machine M, then language L(B) must be non-empty otherwise L (B) must be empty.

We can get this by making L (B) as set of accepting all the histories of TM M on w.B can be consider as matrix that represent computational historyc1,c2,.....cksuch as: c1is in 1strow, c2in 2ndrow and so on.

So for given rectangular matrix, B will check initial configuration of TM M on w is in 1strow or not and last row is accepting or final configuration. B also works as checking of each row that must follow the previous row as according to TM M .

Now, if M accepts w, that means there exist an accepting configuration history of TM M on w and L (B) is non-empty.

But if L (B) is empty, there is no accepting configuration history of TM M on w.

Thus,m -reduction mapping fromATM toE2DIM-DFA is undecidable.

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

Using the solution you gave to Exercise 1.25, give a formal description of the machines T1 and T2depicted in Exercise 1.24

Show that P is closed under homomorphism iff P = NP.

A queue automaton is like a push-down automaton except that the stack is replaced by a queue. A queue is a tape allowing symbols to be written only on the left-hand end and read only at the right-hand end. Each write operation (we’ll call it a push) adds a symbol to the left-hand end of the queue and each read operation (we’ll call it a pull) reads and removes a symbol at the right-hand end. As with a PDA, the input is placed on a separate read-only input tape, and the head on the input tape can move only from left to right. The input tape contains a cell with a blank symbol following the input, so that the end of the input can be detected. A queue automaton accepts its input by entering a special accept state at any time. Show that a language can be recognized by a deterministic queue automaton iff the language is Turing-recognizable.

Let CFG Gbe thefollowing grammar.

SaSbbYYaYbYaYε

Give a simple description of LGin English. Use that description to give a CFG forLG , the complement of LG.

Let. ={0,1}LetC1 be the language of all strings that contain a 1 in their middle third.

Let C2be the language of all strings that contain two 1s in their middle third. So C1={xyz|x,z*andy*1*,where|x|=|z||y|}and C2={xyz|x,z*andy*1*1*,  where|x|=|z||y|}.

a.Show that C1is a CFL.

b. Show thatC2 is not a CFL

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