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:
“The whole theory of modern education is radically unsound. Fortunately in England, at any rate, education produces no effect whatsoever. If it did, it would prove a serious danger to the upper classes, and probably lead to acts of violence in Grosvenor Square.”
—Oscar Wilde (18541900)
“Hygiene is the corruption of medicine by morality. It is impossible to find a hygienest who does not debase his theory of the healthful with a theory of the virtuous.... The true aim of medicine is not to make men virtuous; it is to safeguard and rescue them from the consequences of their vices.”
—H.L. (Henry Lewis)
“We commonly say that the rich man can speak the truth, can afford honesty, can afford independence of opinion and action;and that is the theory of nobility. But it is the rich man in a true sense, that is to say, not the man of large income and large expenditure, but solely the man whose outlay is less than his income and is steadily kept so.”
—Ralph Waldo Emerson (18031882)