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: 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.

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 automaton E2DIM-DFA, we have to reduceATM by m intoE2DIM-DFA using map reductionM,w to <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..CK such as:C1 is in first row,C2 in second row and so on.

So for given rectangular matrix, will check initial configuration of TM M on w is in first row 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

Say that a variable A in CFG G is necessary if it appears in every derivation of some string wG. Let NECESSARYCFG={G,AAisanecessaryvariableinG}.

  1. Show that NECESSARYCFG is Turing-recognizable.
  2. Show that NECESSARYCFG is undecidable.

Define a two-headed finite automaton (2DFA) to be a deterministic finite automaton that has two read-only, bidirectional heads that start at the left-hand end of the input tape and can be independently controlled to move in either direction. The tape of a 2DFA is finite and is just large enough to contain the input plus two additional blank tape cells, one on the left-hand end and one on the right-hand end, that serve as delimiters. A 2DFA accepts its input by entering a special accept state. For example, a 2DFA can recognize the languageanbncn|n0 .

  • a. Let A2DFA={<M,x>|Mis a 2DFA and M acceptsx} . Show that A2DFA is decidable.
  • b. Let E2DFA={<M>|Mis a 2DFA and LM=}. Show that E2DFA is not decidable.

Let Γ=0,1,σbe the tape alphabet for all TMs in this problem. Define the busy beaver function BB:NN as follows. For each value of K, consider all K-state TMs that halt when started with a blank tape. LetBBk be the maximum number of1s that remain on the tape among all of these machines. Show thatBB is not a computable function.

Show that m is a transitive relation?

Prove that the following two languages are undecidable.

  1. OVERLAPCFG={G,HGandHareCFGswhereLGLH6=}and are CFGs where. (Hint: Adapt the hint in Problem 5.21.)
  2. PREFIX-FREECFG={GGisaCFGwhereL(G)isprefix-free} .
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