Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Let L={1^n|n is prime} Using the Myhill-Nerode theorem show L is non-regular. I have already got this explanation from my lecture but I don't understand.

Let L={1^n|n is prime}

Using the Myhill-Nerode theorem show L is non-regular.

I have already got this explanation from my lecture but I don't understand. Here's the explanation given in lecture:

Assume without loss of generality that i < j

Pick an arbitrary prime p > i, where p > 2

Since p > 2 and (j-i) > 0, we know that: p + 0 (j-i) is prime and p + p (j-i) is NOT prime

Let 1<=k <= p:

p + (k-1)(j-i) is prime

p + k (j-i) is NOT prime

We show that:

1^i . 1^([p+(k-1)(j-i)]-i) L

1^j . 1^([p+(k-1)(j-i)]-i) L

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

More Books

Students also viewed these Databases questions

Question

3. What information do participants need?

Answered: 1 week ago

Question

Describe the factors influencing of performance appraisal.

Answered: 1 week ago

Question

What is quality of work life ?

Answered: 1 week ago