Solution (source code)

= Solution

The automaton is irreducible if every state is accessible and no two distinct states are indistinguishable.