Use this to show that the language L = {a | i 2} is not...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Use this to show that the language L = {a²³ | i ≥ 2} is not context-free by filling in the gaps below. (4 marks) Proof: Assume So the Pumping Lemma applies, and so for any string wEL with |w| ≥n there exist strings x, y, z, u, v such that w = xyzuv and i. yzu n ii. yu > 0 iii. xyzu'v E L for all i ≥ 0 Let So w EL and and xyzu v E L for all i 20. Now as u ≤n and so y + u ≤n. -|y|-|u| = n³ - (ly) + Let i = 0 and consider xyzuv| = |xzv| |u) n³n. Now as n ≥ 2, 4n < 3n² and so n < 3n²-3n. This means ≥ n³nn³-3n² + 3n > = (n − 1) ³. > ]xy°zu°v] > (n − 1)³, and so This is a contradiction, So n³ = and so L is not context-free. and w = xyzuv, yzu| ≤ n, │y| + |u| > 0 this means |yzu|=|y|+||+ Use this to show that the language L = {a²³ | i ≥ 2} is not context-free by filling in the gaps below. (4 marks) Proof: Assume So the Pumping Lemma applies, and so for any string wEL with |w| ≥n there exist strings x, y, z, u, v such that w = xyzuv and i. yzu n ii. yu > 0 iii. xyzu'v E L for all i ≥ 0 Let So w EL and and xyzu v E L for all i 20. Now as u ≤n and so y + u ≤n. -|y|-|u| = n³ - (ly) + Let i = 0 and consider xyzuv| = |xzv| |u) n³n. Now as n ≥ 2, 4n < 3n² and so n < 3n²-3n. This means ≥ n³nn³-3n² + 3n > = (n − 1) ³. > ]xy°zu°v] > (n − 1)³, and so This is a contradiction, So n³ = and so L is not context-free. and w = xyzuv, yzu| ≤ n, │y| + |u| > 0 this means |yzu|=|y|+||+
Expert Answer:
Answer rating: 100% (QA)
Assume L is contextfree So pumping lemma applies and so for any string w L with w n ... View the full answer
Related Book For
Introduction to Probability
ISBN: 978-0716771098
1st edition
Authors: Mark Daniel Ward, Ellen Gundlach
Posted Date:
Students also viewed these mathematics questions
-
The recommended number of hours of sleep per night is 8 hours, but everybody "knows" that the average college student sleeps less than 7 hours. The number of hours slept last night by 10 randomly...
-
Each day, a young person should sleep 8 hours plus 1/4 hour for each year that the person is under 18 years of age. Assuming the relation is linear, write the equation relating hours of sleep y and...
-
Using the 526 observations on workers in a certain dataset, we include educ (years of education), exper (years of labor market experience) and tenure (years with the current employer) in regression...
-
What are the retained earnings of a firm? .
-
The beginning balance sheet of Text Source Co. included a $700,000 investment in Taylor stock (20% ownership). During the year, Text Source completed the following investment transactions: Mar. 3...
-
Within the chapter, three alternative statistical sampling plans are introduced and illustrated for use when conducting tests of controls under the second standard of field work: attribute estimation...
-
The sales department of F. Pollard Manufacturing Co. has forecast sales in March to be 20,000 units. Additional information follows: Finished goods inventory, March 1....................................
-
1. List AND explain 3 concepts one must learn about Plain View, Open fields, abandonment, and border searches. 2. List AND explain 3 concepts one must learn about Lineups and other means of Pretrial...
-
Joseph and Diane Smith 1580 West Street Chatham, VA 24531 Joseph and Diane are both 35 and have no dependents. If your clients receive a refund, they want the full amount refunded to them. Diane is...
-
For the functions f(t) = 2t and g(t) = sin(t), defined on 0
-
Aldean Company Aldean Company wants to use absorption cost-plus pricing to set the selling price on a new product. The company plans to invest $130,000 in operating assets to produce and sell 13,000...
-
Paul Duncan, financial manager of EduSoft Inc., is facing a dilemma. The firm was founded 5 years ago to provide educational software for the rapidly expanding primary and secondary school markets....
-
Fern Inc. manufacturers custom furniture for both residential and commercial clients. Fern has a December 31 year-end. On September 1, Fern had two jobs in progress: Direct materials Direct labour...
-
Add the polynomials 2x3 + x-3 and 2x+4x-1.
-
Simplify. (3x x + 4) (2x +7x + 1) + (9x-3x+2) -
-
Pottery Barns in house team of economists has estimated the following U.S. market demand function for Pottery Barns iconic apothecary table (which is given below). Let good X be the apothecary table...
-
Cleaning Service Company's Trial Balance on December 31, 2020 is as follows: Account name Debit Credit Cash 700 Supplies Pre-paid insurance Pre-paid office rent Equipment Accumulated depreciation -...
-
Ten people are going to a private screening of a movie in a small theater. There are two rows in the theater. The first row has I seats, and the second row has 6 seats. a. How many ways can you...
-
A grandmother is knitting wool sweaters to donate to a non-profit organization. She knits pink and blue ones for girls and boys, respectively. It takes 3 balls of yarn to knit one. She has promised...
-
Study time. Let X be the time (in hours) that Stephen spends studying on one particular day during "dead week" (the nickname for the week before final exams). Then X has density 1/4e-x/4. Let Y be...
-
A uniform simply supported beam carries two masses \(m_{1}\) and \(m_{2}\) with \(m_{2}=3 m_{1}\) as shown in Fig. 7.12. Find the fundamental natural frequency of the beam using Dunkerley's method....
-
Using Rayleigh's method, find the fundamental natural frequency of the torsional system shown in Fig. 6.11. Assume that \(J_{1}=J_{0}, J_{2}=2 J_{0}, J_{3}=3 J_{0}\), and \(k_{t 1}=k_{t 2}=k_{t...
-
Can we use any trial vector \(\vec{X}_{1}\) in the matrix iteration method to find the largest natural frequency?
Study smarter with the SolutionInn App