Consider the following game: you are given a sequence of the letters A and B, and...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider the following game: you are given a sequence of the letters A and B, and you are given the following replacement rules that allow you to replace some combinations of letters with different combinations of letters. (1) AA can be removed or inserted anywhere in the sequence. (ii) BBB can be removed or inserted anywhere in the sequence. (iii) ABA can be replaced with B, and B can be replaced with ABA. As an example of a round of play, consider starting with the word BABB. Using (1), we can insert AA at the beginning of the sequence to get AABABB. Then using (3), we can replace ABA in the middle of the sequence with B to get ABBB. Then using (2), we can remove BBB to get just A. (a) Show that rules (i), (ii) and (iii) allow you to transform AB to B.A. (b) Show that you cannot transform A to B using rules (i), (ii), and (iii). (c) Use part (a) to show that rules (i), (ii) and (iii) allow any finite sequence of 'A's and 'B's to be transformed to one of the following A, B, AB, BB, ABB or, where is the empty word; that is, is a word with no letters. (d) Consider the situation where (iii) is replaced by (iii*) ABA can be replaced with BB, and BB can be replaced with ABA. Show that (i), (ii), and (iii*) do not allow you to transform AB to BA. (e) Show that even though AB cannot be replaced by BA, any finite sequence of 'A's and 'B's can still be transformed to one of the following A, B, AB, BB, ABB or, with rules (i), (ii) and (iii*). Consider the following game: you are given a sequence of the letters A and B, and you are given the following replacement rules that allow you to replace some combinations of letters with different combinations of letters. (1) AA can be removed or inserted anywhere in the sequence. (ii) BBB can be removed or inserted anywhere in the sequence. (iii) ABA can be replaced with B, and B can be replaced with ABA. As an example of a round of play, consider starting with the word BABB. Using (1), we can insert AA at the beginning of the sequence to get AABABB. Then using (3), we can replace ABA in the middle of the sequence with B to get ABBB. Then using (2), we can remove BBB to get just A. (a) Show that rules (i), (ii) and (iii) allow you to transform AB to B.A. (b) Show that you cannot transform A to B using rules (i), (ii), and (iii). (c) Use part (a) to show that rules (i), (ii) and (iii) allow any finite sequence of 'A's and 'B's to be transformed to one of the following A, B, AB, BB, ABB or, where is the empty word; that is, is a word with no letters. (d) Consider the situation where (iii) is replaced by (iii*) ABA can be replaced with BB, and BB can be replaced with ABA. Show that (i), (ii), and (iii*) do not allow you to transform AB to BA. (e) Show that even though AB cannot be replaced by BA, any finite sequence of 'A's and 'B's can still be transformed to one of the following A, B, AB, BB, ABB or, with rules (i), (ii) and (iii*).
Expert Answer:
Answer rating: 100% (QA)
Lets go through each part of the question separately a Show that rules i ii and iii allow you to transform AB to B4 Using the given rules we can perform the following transformations 1 Start with AB 2 ... View the full answer
Related Book For
Making Hard Decisions with decision tools
ISBN: 978-0538797573
3rd edition
Authors: Robert Clemen, Terence Reilly
Posted Date:
Students also viewed these mathematics questions
-
By recognizing that your data set consists of smokers and nonsmokers, you gain tremendous power in extending conclusions beyond the data by recognizing that these events are mutually exclusive (or...
-
In many situations, we are confronted with the decision of whether to challenge someone who is currently engaged in a particular activity. In personal relationships, for instance, we decide whether...
-
You are given a sequence of n elements to sort. The input sequence consists of n/k subsequences, each containing k elements. The elements in a given subsequence are all smaller than the elements in...
-
Refer to the Webers Data Set above. 1. Compute the direct materials efficiency variance for onion, mustard, and ketchup. 2. As a manager, what would you learn from the variances and supporting data?...
-
An object placed 8 cm from a concave spherical mirror produces a virtual image 10 cm behind the mirror. (a) If the object is moved back to 25 cm from the mirror, where is the image located? (b) Is it...
-
In Problem find the conditional probability, in a single roll of two fair dice, that The sum is odd, given that at least one die is a six.
-
The independent auditor must evaluate a client's system of internal control to determine the extent to which various auditing procedures must be employed. A client who uses a computer should provide...
-
1. Most aspects of foreign culture, like language, religion, gender roles, and problem-solving strategies, are hard for the casual observer to understand. In what ways do Hollywood movies affect...
-
Electricity & Magnetism 1. Consider the circuit below: R =24Q www R = 60Q R = 80 a) which resistor would have the greatest current passing through it? Explain. b) Which resistor would have the...
-
Several years after reengineering its production process, Dettling Corporation hired a new controller, Alana Metzgar. She developed an ABC system very similar to the one used by Dettling's chief...
-
Q3. Paraphrase the following passage with APA 7 th Edition Referencing conventions providing appropriate parenthetical in-text citation plus a detailed end-text reference with the help of the details...
-
The art of negotiation is especially important when working in an international business setting. Negotiating a successful contract is a highly valuable skill that is to be attained by working on...
-
Information that does not have an adjustment reason code to route payments into the correct bank accounts to relay about patient benefit coverage to indicate the amount being paid and the date of...
-
How do you prioritize features and attributes when designing a new product or service? What steps should be taken to ensure that the design process aligns with the organization's overall strategy and...
-
Find a hospitality organization that uses forecasting techniques. How does the organization use them to predict its staffing and product supply needs, or for other purposes? How does the organization...
-
What are the key elements to consider when designing a new product or service? How do you prioritize features in the design process for a product or service? Can you explain the importance of...
-
What is the variance of your portfolio if the correlation between Stock A and stock B is -0.3? 2. Assuming your variance is 0.03017, what is the standard deviation of your portfolio? 3. Assume a...
-
State whether each of the following will increase or decrease the power of a one-way between-subjects ANOVA. (a) The effect size increases. (b) Mean square error decreases. (c) Mean square between...
-
Explain in your own words the difference between preferential independence and utility independence.
-
Explain why a simulation model with only discrete probability distributions produces the same results as the corresponding decision tree model even though it uses very different solution methods.
-
In Problem 4.16, find: a. EVPI for the cost of making the processor. b. EVPI for the cost of subcontracting the processor. c. EVPI for both uncertain events.
-
The central difference approximation of \(d^{4} W / d x^{4}-\beta^{4} W=0\) at grid point \(i\) with step size \(h\) is a. \(W_{i+2}-4 W_{i+1}+\left(6-h^{4} \beta^{4} ight) W_{i}-4...
-
What is the difference between explicit and implicit integration methods?
-
Find the solution of a spring-mass-damper system governed by the equation \(m \ddot{x}+c \dot{x}+k x=F(t)=\delta F . t\) with \(m=c=k=1\) and \(\delta F=1\). Assume the initial values of \(x\) and...
Study smarter with the SolutionInn App