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

  Compute a shortest superstring

Dynamic programming algorithm to compute a shortest superstring.

  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

  Redundant sequence identi cation

Redundant sequence identi cation

  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

  Create standard 1-tape turing machine to calculate function

Create a standard 1-tape Turing machine M to calculate the function sub3. Specifically, calculate sub3 of a natural number represented in binary.

  Finite-state machine design

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

  Considering a single programmed operating system

Considering a single programmed operating system, what is the minimal total time required to complete executions of the two processes? You should explain your answer with a diagram.

  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.

  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.

  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

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