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

  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

  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

  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.

  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

  Write grammar for language consisting of strings

Write a grammar for the language consisting of strings that have n copies of the letter a followed by same number of copies of the letter b, where n>0

  If l recognized by dfa then language left half is regular

We showed to prove that if L can be identified by DFA then the language left half(L) = {x ∈ ∑*|∃y xy ∈ L and |x| = |y|} is also regular; here |x| means length of x.

  Redundant sequence identi cation

Redundant sequence identi cation

  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.

  Write first four strings in lexicographic enumeration

Consider the language L = L1 ∩ L2, where L1 = {ww^R : w ∈ {a, b}* and L2 = {a^n b*a^n: n ≥ 0}. Write the first four strings in the lexicographic enumeration of L?

  Propositional and predicate logic

Write down a structural induction principle for the PlayTree free type

  Impact of moore-s law on data center costs

Discuss the impact of Moore's law on data center costs on such things as servers and communications equipment. List at least 3 steps or recommendations your data center can take to offset some or all of the effect of Moore's law.

  Design a syntactic analyzer

Design a syntactic analyzer for the language specified by the grammar

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