Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using Pumping Lemma one can show the language L = { | n N } is not regular. This is done by way of contradiction.
Using Pumping Lemma one can show the language L= { | n N } is not regular. This is done by way of contradiction. We assume L is regular. Since L is infinite, Pumping Lemma applies. We then consider the string where is the number of states of the DFA that recognizes L. Since the length of is bigger than , by Pumping Lemma, there exists strings such that , , and for all . If then the first repeated state on the acceptance path must be a final state. Why?
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