I'm trying to proof that the following language is not regular using pumping lemma. $L=\{w\bar{w}|w\in \{0,1\}^* and\ \bar{w}\ is\ one's\ complement\ of\ w\}$
I started by stating that:
$|w\bar{w}| = 2p = |xyz|$
Because of Pumping Lemma the following has to be true:
$1 \leq |y| \leq |xy| \leq p$
Because $|xy| \leq p$ and $|w|=|\bar{w}|$ have to be true, $\bar{w}$ has to be completly in $z$. I now tried somehow to manipulate the first half, so that it always evaluates to a contradiction, but I am stuck.