Finite acceptors as two-way automata #
A nondeterministic finite acceptor (NA.FinAcc) is the special case of a nondeterministic two-way
automaton (TwoWayNA) that moves its head one symbol to the right in every step,
NA.FinAcc.toTwoWayNA.
The head of a.toTwoWayNA is thus at position i exactly when a has read the first i
symbols of the input, so the runs of the two-way automaton are in lockstep with the multistep
transitions of a (TwoWayNA.mTr_take_of_mTr_toCfgNA, TwoWayNA.mTr_toCfgNA_of_mTr) and the two
accept the same words (TwoWayNA.accepts_toTwoWayNA_iff, TwoWayNA.language_toTwoWayNA).
The two-way automaton that performs the transitions of the nondeterministic finite acceptor
n, always moving its head one symbol to the right.
Equations
Instances For
A run of a.toTwoWayNA that starts in an initial configuration reads a multistep transition
of a over the prefix of input that its head has scanned.
A multistep transition of a over a prefix of input is read by the run of a.toTwoWayNA
that takes its head from the beginning of the input to the end of that prefix, moving one symbol
to the right in every step.
A nondeterministic finite acceptor and its two-way rendering accept the same words.
A nondeterministic finite acceptor and its two-way rendering recognise the same language.