Prove that l is not regular using pumping theorem

Assignment Help Theory of Computation
Reference no: EM1357376

Define a color word to be an English word that is the name of a color. So some example color words are red, fuschia, and ochre. Define an animal word to be an English word that is the common name of an animal. So some example animal words are cow, cats, and hippopotamus. Let L = {w : w is a sentence with legal English syntax and the number of color words in w equals the number of animal words in w}. As examples, observe that red cats like catnip ∈ L, but red cats like blue green balls ∉ L. Note that, to be in L, w must satisfy the syntactic rules of English. It is not necessary for w to make sense. So, for example, red red blue red cats like dogs and dogs and dogs ∈ L. Prove that L is not regular. (Be particularly careful if you use the Pumping Theorem. You must choose a w that is actually in L.)

Reference no: EM1357376

Questions Cloud

Find magnitude of acceleration of the boy toward the girl : A hunter aims directly at a target (on the same level) 113 m away. If the bullet leaves the gun at a speed of 255 m/s, by how much will it miss the aim.
Show what you want to be measured by analyzing ksao : you should show what you want to be measured by analyzing KSAO's from the job description and the information on organizational culture in the case.
Self-performance appraisal - human resources : Accomplishments: Explain any accomplishments achieved by the employee since the last review. What contributions did the employee make this year? Did employee meet goals set forth during last review?
Find out the magnitude of the electrostatic force : An airplane flies 200 km due west from city A to city B and then 300 km in the direction of 30 degrees North of West from city B to city C. In straight-line distance, how far is city C from city A.
Prove that l is not regular using pumping theorem : Prove that L is not regular. (Be particularly careful if you use the Pumping Theorem. You must choose a w that is actually in L.)
Calculate financial ratios : I have several things to accomplish for an indepth corporation analysis on GM for three years. I am having difficulty with collecting the information and doing the ratios. I then have to answer the following questions.
Illustrate what is the cost of an extra minute on the phone : Your demand for minutes of calling is given by the equation: Q_d = 150-50*P, where P is the price of a minute. illustrate what is the cost of an extra minute on the phone.
Negotiations- influencing decision making : Under what conditions would someone readjust their "no" position to a "yes? in negotiation" What are the influences? How can you "stay with no? In negotiations"
Development of phobias and mate selection : Do you feel that one's environment can also affect development of phobias and mate selection?

Reviews

Write a Review

Theory of Computation Questions & Answers

  Interpreting the regular expressions as languages

Show that the following identities hold for regular expressions over any alphabet: epsilon + R*R = R*. These should be done by interpreting the regular expressions as languages.

  Consider a logic function with three outputs

Consider a logic function with three outputs,  A ,  B , and  C , and three inputs,  D ,  E , and  F . The function is defined as follows:  A  is true if at least one input is true,  B  is true

  Design a syntactic analyzer

Design a syntactic analyzer for the language specified by the grammar

  Express set as regular expression

Express the following set as a regular expression: The set of all strings of length at least three over {0,1} such that every three consecutive.

  Design unambiguous grammar to parse expressions

Write a program would read two numbers and then print all numbers between the first and the second, inclusive. Design unambiguous grammar to parse expressions

  Redundant sequence identi cation

Redundant sequence identi cation

  Finite-state machine design

Create a finite-state machine design to turn your FPGA development board into a simple programmable music box.

  Explain declarative knowledge and procedural knowledge

Write some examples of declarative knowledge. Write some examples of procedural knowledge. Then, compare examples, highlighting the similarities & differences.

  Proving language to be pumping lemma

Show that the language F = {a^i b^j c^k | i, j, k greater than or equal to 0 and if i = 1 then j = k} is not regular. Show, however, that it satisfies the statement of the pumping lemma

  Propositional and predicate logic

Write down a structural induction principle for the PlayTree free type

  Equivalence classes to construct minimal dfa for language

How many equivalence classes does this relation have and what are they? Use these equivalence classes to construct the minimal DFA for the language.

  Problem encountered in statements in predicate logic

How the problem would be encountered in attempting to represent the following statements in Predicate logic. it should be possible to: John only likes to see French movies.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd