Translation of εNA into εNA with a single start and a single accept state #
Defines the transformation toSingleStartAccept for εNA.FinAcc, which adds a start state with
ε-transitions to the original start states and no incoming transitions, and an accept state with
ε-transitions from the original accept states and no outgoing transitions. The transformation
preserves the language of the automaton.
Any εNA.FinAcc can be converted into an εNA.FinAcc with a single start state and a single
accept state. The original states are wrapped in inr, and the fresh state inl b is accepting
exactly when b: the start state inl false has ε-transitions to the original start states, and
the original accept states have ε-transitions to the accept state inl true.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The transitions from the start state are ε-transitions to the original start states.
A run from an original state to the accept state is a run of the original automaton to an original accept state, followed by the ε-transition to the accept state.
toSingleStartAccept preserves the language of the input automaton.