Firstly I pick a language $xyz$ where $x = \epsilon$, $y = (abb)^{k}$, $z = (bba)^{k}$ where $|y| \ge$ the number of states in the automaton representing my language. Then $xyz = (abb)^k(bba)^k$ is a palindrome.
Now I split $y$ into $uvw$, where $v \ne \epsilon$ contains a state visited more than once. If the language is regular then $xuv^iwz$ is within the language $\forall i \ge 0$.
I choose $i = 2$, then $uv^2w = (abb)^n$ where $n > k$.
Then $xuv^2wz = (abb)^n(bba)^k$ where $n > k$, which is not a palindrome.
Firstly, is my reasoning for this particular proof correct? I'm unsure about how to properly apply the pumping lemma to this problem. And secondly the question asks me to state a proof for palindromes in general, whereas I only attempted to prove it for a single case. Is there an example I can choose which proves the conjecture for all palindromes? I assume not, seeing as I can't think of how that could be represented using regular expressions.
Consider the language $$ L = \left\{ w^p : w \in L \right\}, L \subseteq A^{*}.$$ Where $A$ is the input alphabet of the automaton that recognizes $L$.
where $w = a_1a_2...a_n, \left| w \right| = n $ and $w_p = a_na_{n-1}...a_1, \left| w_p \right| = n $
From a general approach using Kleene's theorem we know that a language is regular iff it is rational. However, in order for language $L$ to be regular/recognisable from a finite automaton it must have an infinite set of states, which is impossible. Thus, Kleene's theorem guarantees that this language is NOT regular.
Things are getting a bit harder when we have to prove our claim using the pumping lemma.
By presuming the language is regular, there exists a number $p$ (length of pump) so that the following conditions are true:
$$ \forall i \geq 0, xy^iz \in L$$ $$ \left| y \right| > 0 $$ $$\left| xy \right| \leq p $$
You should try with the word $w_p$ and go through all 3 conditions of the pumping lemma. The key to the solution is condition Number 3 since the first condition cannot always lead to a contradiction.