Chapter 1: Q42P (page 89)
For languages , let the shuffle of be the language
Show that the class of regular languages is closed under shuffle.
Short Answer
The class of regular languages is closed under shuffle.
Chapter 1: Q42P (page 89)
For languages , let the shuffle of be the language
Show that the class of regular languages is closed under shuffle.
The class of regular languages is closed under shuffle.
All the tools & learning materials you need for study success - in one app.
Get started for freeLet Here, contains all columns of localid="1663175934749" of height two. A string of symbols in gives two rows of . Consider each row to be a binary number and let . For example, but . Show that C is regular. (You may assume the result claimed in Problem 1.31.)
a. Let be an infinite regular language. Prove that can be split into two infinite disjoint regular subsets.
b. Let be two languages. Write and contains infinitely many strings that are not in . Show that if and are two regular languages where , then we can find a regular language where .
A homomorphism is a function from one alphabet to strings over another alphabet. We can extend f to operate on strings by defining:.
We further extend to operate on languages by defining for any language .
a. Show, by giving a formal construction, that the class of regular languages is closed under homomorphism. In other words, given a DFA that recognizes and a homomorphism f, construct a finite automaton role="math" localid="1660800566802" that recognizes Consider the machine role="math" localid="1660800575641" that you constructed. Is it a DFA in every case?
b. Show, by giving an example, that the class of non-regular languages is not closed under homomorphism.
The construction in Theorem 1.54 shows that every GNFA is equivalent to a GNFA with only two states. We can show that an opposite phenomenon occurs for DFAs. Prove that for every , a language exists that is recognized by a DFA with k states but not by one with only states
Question:Read the informal definition of the finite state transducer given in Exercise 1.24. Prove that no FST can output WR for every input if the input and output alphabets are {0,1}
What do you think about this solution?
We value your feedback to improve our textbook solutions.