I have following language $L:= \{a^n b^n c^m \mid n \neq m; n,m \ge 0 \}$ and would like to use proof by contradiction by applying Pumping Lemma for CFLs to show that $L$ is not a CFL.
In any case, i need to choose $w = uv^iwx^iy$ so that $w \in L$.
I tried $a^p b^p c^{p+1}$ , $a^p b^p c^{p+p!}$ ($p$ - Pumping Length) and couple of others. All of my proofs converged to 5 cases:
- Only A (both $v$ and $x$ pump $a$'s),
- A & B ($v$ pumps $a$'s, $x$ pumps $b$'s),
- Only B (both - $b$'s),
- B & C ($v$ - $b$'s, $x$ - $c$'s),
- Only C (both - $c$'s).
Cases #1-#4 are not a problem, but in #5 $w \in L$ regardless $i$ chosen (cause condition is not broken). Thus, how do i choose the word here?
This page hints to take p!-Trick, but it doesn't work here..?