Text this: Decomposition of Automata recognizing Ideals