Question: = {a,b,c}, L = { s : #a (s) = max ( #b (s), #c (s) ) }. Use the pumping theorem to show that

= {a,b,c}, L = { s : #a (s) = max ( #b (s), #c (s) ) }. Use the pumping theorem to show that L is not a regular language. For example, cab L, but abbc L.

Points to remember when constructing this proof: Start by expressing w in terms of k, where w L, and |w| k.

The goal is to show that for every possible value y, where w = xyz, q(q 0, xyqz L).

For each equivalence class for y, state if you are pumping in or out, and if pumping in how many times.

Do not propose literal values for k, y, or |y|. For example, you cannot assume that |y| is 1, or say something like "let y = ab", or "let k = 1".

Formulas for x and z (the non-pumpable parts of w) are rarely useful. Please do not use them in your proofs.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!