LetIntersect it with the regular languageEvery word of contains exactly two copies of . If it is a proper power, its exponent must therefore be two and its root must contain one . HenceThis language is not regular: if were a pumping length, pumping any nonempty substring among the first copies of in would change only its first -block. Since regular languages are closed under intersection,This is the proper-power language is not regular.
This language is recognized by the parity-counting deterministic finite automaton with four statesThe initial state is and the only accepting state is . Reading leaves the state unchanged, reading toggles , and reading toggles . The state therefore records exactly the parities of the numbers of 's and 's. Thus
Use the bounded-run deterministic finite automaton with statesState records that the current suffix consists of exactly consecutive zeros. Every is accepting; is rejecting. Reading sends every accepting state to , while reading sends to for and sends to . The dead state loops on both symbols. This finite automaton accepts exactly the words with no run of eight zeros, so
Articles by others on the same topic
There are currently no matching articles.