How can I show that $L = \{a^m b^n \mid (m > n \text{ or } m < n) \text{ and } m, n ≥ 1\}$ is not a regular language.
Asked
Active
Viewed 111 times
-2
-
What have you tried? What is stopping you? What techniques have you learned for doing such a proof? Regarding style, it is nicer to ask for help rather than using a sentence that looks like an order, for example "How do I show ...., I tried this and that but I am stuck because ...". Also, -please use LaTeX for writing math. – babou Jun 05 '15 at 21:41
1 Answers
0
Use the fact that compliment of a regular grammar is regular. So assume this language is regular. Then its complement is also regular that is $$\{{a^{m}b^{m}}\}$$ Now using pumping lemma you can show that this is not a regular language.

iLoveCamelCase
- 345
- 2
- 9
-
1Thanks for restricting to a hint, since this looks a lot like a homework question. However, you're missing a step: the complement of the language in the question isn't the one you give. – David Richerby Jun 05 '15 at 19:20
-