Pumping Lemmas
[20/55%]is not a regular language.
is not a regular language.
Show that is not a regular language.
Show that is not regular.
Show that the language is not regular.
Consider the following multiplication table on :
Recall, from Example 2.28, that for any string in , denotes the value obtained by multiplying symbols in from left to right. Show that the set
is not regular.
Show that the set of all strings over alphabet
that represent correct multiplication is not regular. For example, the relation
implies that the following string is in :
Show that the set of the binary expansions of the integers in set is regular, but the set of the ternary expansions (base 3 representations) of the integers in is not regular.
Show that is not regular.
Show that is not regular.
Let be a regular language. Show that
is not necessarily regular.
Show that the following languages are not regular.
.
.
.
.
.
.
For each of the following languages, determine whether it is regular. Present a proof for your answer.
The set of binary strings having an equal number of 0 's and 1 's.
The set of binary strings having an equal number of 01's and 10's.
The set of binary strings having an equal number of 010's and 101's.
.
.
.
Let be the alphabet of Example 2.65.
Show that the set of all strings over alphabet that represent correct division is not regular. For example,
implies that the following string is in :
Show that the set of all strings over that represent correct multiplication, with the second multiplier equal to 3, is regular.
Is it true that for any regular language over , the set is also regular? Prove your answer.
Prove the following stronger form of the pumping lemma: For any regular language and any positive integer , there exists a positive integer such that any string in with can be decomposed into such that and for any .
Find a regular language such that
is not regular.
Let and be regular sets over alphabet . Which of the following languages, if any, are necessarily regular?
.
.
.
.
.
.
Consider the language
where and are nonempty sets over alphabet . Can you find regular sets such that is not regular? Can you find regular sets such that is regular? What if must be infinite regular sets?
Is the language regular? Prove your answer.
Let be a language over alphabet . Show that is regular. [Hint: Prove and use the fact that if and are relatively prime natural numbers, then for any integer , there exist nonnegative integers and such that .]