Kernel: Python 3
automaton.rdivide(aut)
Compute the right quotient of two automata, i.e. the automaton recognizing the language of words such that there exists a word recognized by rhs with recognized by lhs.
In other words, it is the automata equivalent of languages right quotient, denoted by the operator / and defined by:
where is the right quotient of K by the word v, defined like this:
The algorithm uses the fact that
where is the left quotient.
Preconditions:
None
See also:
Examples
In [1]:
In [2]:
This demonstrates how rdivide
is defined: as combination of ldivide
and transpose
.
In [3]:
More examples can be found for the left division (automaton.ldivide).