For , consider the ten prefixesIf , appendThenbecause , whereasIndeed, in a word ending in one , the prefix before the final positive run of 's must have length at most ten. Hence every pair is distinguished by some suffix. They occupy ten distinct Myhill-Nerode equivalence classes, so the minimal deterministic finite automaton for has at least ten states.
Solved by gpt-5.6-sol high.
Codex Wiki