Two-way complementation on the canonical automata model #
Translate the existing endmarker, movement, and state conventions into the source model without adding states. Swapping the configuration components identifies the step relations and finite runs, including zero-step acceptance.
Translate the two numbered endmarkers and ordinary letters.
Equations
Instances For
Translate source move codes zero, one, and two into left, stay, and right.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Encode left, stay, and right moves as zero, one, and two.
Equations
- Complexity.FiniteAutomaton.Complementation.Internal.encodeMove Complexity.FiniteAutomaton.Move.left = 0
- Complexity.FiniteAutomaton.Complementation.Internal.encodeMove Complexity.FiniteAutomaton.Move.stay = 1
- Complexity.FiniteAutomaton.Complementation.Internal.encodeMove Complexity.FiniteAutomaton.Move.right = 2
Instances For
def
Complexity.FiniteAutomaton.Complementation.Internal.asSource
{Alpha : Type}
{s : ℕ}
(M : NMachine Alpha s)
:
View a canonical nondeterministic automaton as a source automaton on the same states.
Equations
- One or more equations did not get rendered due to their size.