I have a regular language $a(a+b)^*$ to which i applied pumping lemma.
Let the pumping length be $'p'$
and the example string be $$w=a(a+b)^{p-1}$$.
The string satisfies the condition that it is at least length 'p'.
We now divide it into 3 parts $x y z$ with $$x=epsilon ,y= a(a+b)^{p-1} , z= epsilon$$.
This division also satisfies the condition that $|xy|<=p \land |y|\neq epsilon$.
Thus, $$w=xy^1z$$.
since , i can be zero in $y^i$, we pump down to get,
$$w=xy^0z = epsilon$$
which doesn't belong in the given language $a(a+b)^*$.
Thus,now that we have proved that $\exists w\in a(a+b)^*$ such that it can't be pumped.
I have already spent 2 hours trying to figure out what is wrong with this proof as the results doesn't make sense. Any help is appreciated.