Chapter 1: Q31P (page 88)
For any string , the reverse of w, written wR , is the string w in reverse order,. For any language Show that if A is regular, so is AR.
Short Answer
It means that if
Chapter 1: Q31P (page 88)
For any string , the reverse of w, written wR , is the string w in reverse order,. For any language Show that if A is regular, so is AR.
It means that if
All the tools & learning materials you need for study success - in one app.
Get started for freeThe pumping lemma says that every regular language has a pumping length P , such that every string in the language can be pumped if it has length p or more. If P is a pumping length for language A, so is any length The minimum pumping length for A is the smallest p that is a pumping length for A . For example, if , the minimum pumping length is 2.The reason is that the string is in A and has length 1 yet s cannot be pumped; but any string A in of length 2 or more contains a 1 and hence can be pumped by dividing it so that is the rest. For each of the following languages, give the minimum pumping length and justify your answer.
role="math" localid="1660797009042"
A finite state transducer (FST) is a type of deterministic finite automaton whose output is a string and not just accept or reject. The following are state diagrams of finite state transducers .
Each transition of an FST is labeled with two symbols, one designating the input symbol for that transition and the other designating the output symbol. The two symbols are written with a slash, , separating them. In , the transition from has input symbol 2 and output symbol 1. Some transitions may have multiple input–output pairs, such as the transition in from to itself. When an FST computes on an input string w, it takes the input symbols one by one and, starting at the start state, follows the transitions by matching the input labels with the sequence of symbols . Every time it goes along a transition, it outputs the corresponding output symbol. For example, on input , machine enters the sequence of states and produces output . On input , outputs . Give the sequence of states entered and the output produced in each of the following parts.
a. on input
b. on input
c. on input
d. on input
e. on input b
f. on input bbab
g. on input bbbbbb
h. on input localid="1663158267545"
Let be the same as in Problem 1.33. Consider the top and bottom rows to be strings of 0s and 1s, and let the bottom row of w is the reverse of the top row of w}. Show that is E not regular.
Let .Show that if is regular and is any language, then is regular.
Let be a DFA and let be a state of Mcalled its “home”. A synchronizing sequence for M and h is a string s∈Σ∗where (Here we have extended to strings, so that equals the state where M ends up when M starts at state q and reads input s .) Say that M is synchronizable if it has a synchronizing sequence for some state h . Prove that if M is a state synchronizable DFA, then it has a synchronizing sequence of length at most . Can you improve upon this bound?
What do you think about this solution?
We value your feedback to improve our textbook solutions.