In the context of the pumping lemma for regular languages, one of the conditions is that y ≠ ε, meaning |y| > 0 . However, the lemma also allows for the string to be pumped for any k ≥ 0 , which includes k = 0 .
When k = 0 , we would expect y^0 = ε, meaning y effectively “disappears” from the string, reducing the expression xy^kz to xz .
Could someone help clarify why it works if there is a contradiction ?
**Attached there is a photo of my summary notes, please check if my reasoning are wrong.