Let $L$ be a language. $w \in\ L$ , and $w$ could be broken in $xyz$.
Then if $L$ is regular, there exists a pumping length $p$ such that:
- $\vert y\vert>0$
- $\vert xy\vert \leq p$
- $\forall i \geq 0,\ xy^i z\ \in L$
I understand that this lemma is
- based on pigeon hole principle
- we use it to prove that a language is not regular by contradiction.
For condition (1), I understand that the string we are pumping should be $\geq 1$.
But I don't understand the significance of condition (2).
Why should the length of $xy$ be equal to or smaller than $p$ . Won't it work otherwise?