Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Def: num(x, y) means the number of times x appears as a substring in y 1. Using the pumping lemma technique, prove that the following

image text in transcribed

Def: num(x, y) means the number of times x appears as a substring in y 1. Using the pumping lemma technique, prove that the following languages are not regular. For reference, here is the pumping lemma game: 1. Adversary picks a positive integer p 2. You pick w A with [wl 2 p 3. Adversary splits up w into w- xyz with lxyl s p and lyl>0 4. You pick a nonnegative integer i You win the game if xy'z A. If you can describe a strategy in which you always win, then A is not regular. (a) {w {a, b)' I num(aa, w)-num(bbb, w)) Note: Be careful in your counting: bbbb contains the substring bbb two times. (b) {w {a, b)' : lwl is a square number} Hint: choose i so you can argue that the length of the resulting string is strictly between adjacent squares, ie.,

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

Does it avoid using personal pronouns (such as I and me)?

Answered: 1 week ago

Question

Does it clearly identify what you have done and accomplished?

Answered: 1 week ago