Theory
We define a standard Turing machine by the 9-tuple
where
- is a finite set of states;
- is the finite set of the input alphabet;
- is the finite tape alphabet;
- is the left endmarker;
- is the blank symbol;
- is the transition function;
- is the start state;
- is the accept state;
- is the reject state.
So given initial state reading symbol, we have a transition defined by which replaces with, transitions to state, and moves the "read head" in direction (left or right) to read the next input. In our 2DFA read-only machine, however, always.
This model is now equivalent to a DFA. The proof involves building a table which lists the result of backtracking with the control in any given state; at the start of the computation, this is simply the result of trying to move past the left endmarker in that state. On each rightward move, the table can be updated using the old table values and the character that was in the previous cell. Since the original head-control had some fixed number of states, and there is a fixed number of states in the tape alphabet, the table has fixed size, and can therefore be computed by another finite state machine. This machine, however, will never need to backtrack, and hence is a DFA.
Read more about this topic: Read-only Turing Machine
Famous quotes containing the word theory:
“No one thinks anything silly is suitable when they are an adolescent. Such an enormous share of their own behavior is silly that they lose all proper perspective on silliness, like a baker who is nauseated by the sight of his own eclairs. This provides another good argument for the emerging theory that the best use of cryogenics is to freeze all human beings when they are between the ages of twelve and nineteen.”
—Anna Quindlen (20th century)
“There could be no fairer destiny for any physical theory than that it should point the way to a more comprehensive theory in which it lives on as a limiting case.”
—Albert Einstein (18791955)
“The great tragedy of sciencethe slaying of a beautiful theory by an ugly fact.”
—Thomas Henry Huxley (18251895)