I'm trying to prove that L={y#x|(y is a substring of x) ∧x,y∈{a,b}^* }
is not context free using the pumping lemma, but I can't seem to do that. If
|vy|≠ε ,|vxy|≤k , uv^n xy^n z∈L ,∀n≥0
Then either vxy
has both a
and b
, or only b
or only a
.
How can I pump it in order to show that?