# Prove that $L= \{w|$ $w$ ends with a palindrome of length greater than or equal to $4\}$ is nonregular using the pumping lemma.

The alphabet is $\{a, b\}$

Hi, I tried this:

Assume to the contrary that $L$ is regular. Let $p$ be the pumping length given by the pumping lemma. Let $s$ be the string $a^{p}ba^{p}$. Because $s$ is a member of $L$ and $s$ has length more than $p$, the pumping lemma guarantees that $s$ can be split into three pieces, $s=xyz$, satisfying the three conditions of the lemma:

1. for each $i\ge0,xy^{i}z\in L,$

2. $|y|>0, and$

3. $|xy| \le p.$

$x=a^{s}, y=a^{t},z=a^{p-s-t}ba^{p}$

for $i=0,$ $xy^{0}z \in L$

I don't understand how to solve it.

Thanks.