-1

Using pumping lemma, how can I prove that $L=\{a^n b^m c^k \mid n = m \vee m\neq k\}$ is not regular?.

If I choose $w= a^m b^m c^m$ and pump up with $i=2$, if have $a^m=1 b^m c^m$ but the string is still in the language. Any hint?

babou
  • 19,445
  • 40
  • 76
user3841581
  • 117
  • 5
  • I tried to improve your question, but there are still parts that do not make sense for me. – babou May 07 '15 at 22:20

1 Answers1

1

The easiest way to show that $L$ isn't regular is by noticing that $$ L \cap b^+c^+ = \{ b^m c^k : m,k \geq 1, m \neq k \}. $$ This should look familiar.

Yuval Filmus
  • 276,994
  • 27
  • 311
  • 503