http://www.cs.uiuc.edu/class/fa06/cs273/Lectures/pumping-lemma/pumping-lemma.html
So, I went to that site and it says:
- $w = xyz$
- $|xy| \leq p$
- $|y| \geq 1$
- for all $i$, $xy^iz$ is in $L$.
There exists a string $w^p$ in $L$ of length at least $p$ such that if we choose any strings $x$,$y$,and $z$ satisfying conditions (1)-(3), then there is some number $i$ such that $xy^iz$ is not in $L$.
So, we can choose the values for $x$, $y$ and $z$, and we get to choose the $i$ in $xy^iz$, but not $p$, which remains $p$, right?
How do we choose a good string for the pumping lemma?
I asked a question and one of the guy said:
Mr. Pumping Lemma divides $s$ into three parts $u,v,w$, subject to the restrictions that $|uv|≤p$, $|v|≥1$.
which implies I cannot choose a particular value of $x$, $y$ and $z$, but that's not the case, right?
I only have to make sure that $i$ is an integer, amongst other things. What are those other things?
Also, I have another question: there is a case where we have to cover several cases. Like there may be a case where y can take different values and we have to prove that for every case there is a contradiction if I remember well. When does that happen?