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
Let be the undecidable set denoted in the question. The language satisfies the pumping lemma for regular languages with pumping length one. For any nonempty , write with , its first symbol, and the remaining suffix.
If , then for every . Otherwise for some . If the chosen first symbol lies in , pumping it preserves the same final suffix . If , then : pumping down gives , while every positive pump gives and all but its last can be absorbed into . Thus every sufficiently long word has a valid pumping decomposition.
Nevertheless, if were regular language, closure under intersection would makeregular. A finite automaton deciding this unary language would decide whether by running it on , contradicting the halting problem. ThereforeThis is a nonregular language satisfying the pumping lemma.
Articles by others on the same topic
There are currently no matching articles.