A total binary interface to the rational hitting-list generator #
The input is true^n ++ [false] ++ true^s, with both parameters positive.
Every other string returns the empty string. The successful output is exactly
the source's encoding of its rational matrix hitting list.
The binary form of the source's two unary parameters.
Equations
Instances For
States recognizing two nonempty unary blocks separated by one false bit.
- start : InputState
No input has been read.
- left : InputState
At least one bit of the first unary block has been read.
- separator : InputState
The separator has just been read.
- right : InputState
At least one bit of the second unary block has been read.
- dead : InputState
The input is malformed.
Instances For
The validator uses five concrete states.
Equations
- One or more equations did not get rendered due to their size.
A five-state validator for the literal source input format.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The format check is computable by the finite validator.
Read the first unary block.
Equations
Instances For
Read the remaining unary size, excluding the separator.