in reply to Re^2: Comparative satisfiability of regexps.
in thread Comparative satisfiability of regexps.
Of course, "finite" is not the same thing as "practical". The brute-force solution mentioned in that article is exponential (test all strings of length equal to the number of states). There is a second method that XORs the two DFAs that looks more promising.
It looks like either method could be adapted to test whether one DFA accepts a subset of the other.
Update: blokhead below gives the same solution in a more thoroughly-explained way.
|
|---|