Extend tobyThe extended transition function of a deterministic finite automaton processes a whole word from left to right. The language accepted by is
Let . The pumping lemma for regular languages states that every with can be writtenwithThus one may take the pumping number to be exactly the number of states of the given automaton, whether or not all of them are accessible.
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.
Suppose first that is a regular language, accepted by a deterministic finite automaton . If two words reach the same state, then every continuation is accepted from both or rejected from both. Thus they are equivalent under , and the number of equivalence classes is at most the finite number of states of .
Conversely, suppose has finitely many classes. Define a deterministic automaton byandThe transition is well defined: if , then for every suffix ,so . Likewise, membership in is independent of the representative by taking the empty suffix in the definition of . Induction givesso the automaton accepts exactly . It has finitely many states, and therefore is regular. This proves the Myhill-Nerode theorem in the stated formulation. The assumption merely says that the initial state is not accepting.
Articles by others on the same topic
There are currently no matching articles.