A linear algorithm for testing equivalence of finite automata (1971)

by J E Hopcroft, R M Karp