Whether an automaton is standard, i.e.:
See also:
import vcsn
b = vcsn.context('lal_char(abc), b')
a = b.expression('a').standard() | b.expression('b').standard()
a
assert(not a.is_standard())
assert(a.standard().is_standard())
%%automaton a
context = "lal_char(abc), z"
$ -> 0 <2>
0 -> 1 a
1 -> $
assert(not a.is_standard())
assert(a.standard().is_standard())
%%automaton a
context = "lal_char(abc), z"
$ -> 0 <2>
0 -> $ <2>
0 -> 1 a
1 -> 0 b
assert(not a.is_standard())
assert(a.standard().is_standard())