Answered step by step
Verified Expert Solution
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started