I have been having an extremely hard time proving a language is irregular using the pumping lemma. I looked and dozens of examples and spent hours on this one topic, and I am still not able to wrap my head around it. Below is my first example that I worked out from my understanding until this point. I would truly appreciate it if someone looked at whether or not I am on the right track, and possibly what I can do to make proof stronger.
OR An over-simplified explanation of Pumping lemma will also be greatly appreciated.
Many thanks in advance!
$$L = \{0^{(n)}1^{(n)}2^{(n)}\}$$
Let $s = 0^{(p)}1^{(p)}2^{(p)}$ where $|s| > p$.
Consider $$x=0^i, i >=0$$ $$y=0^j, j >=0$$ $$z=0^{(p-i-j)}1^{(p)}2^{(p)}$$
Consider $xy^2z$
$$=0^{(p-i-2j)}0^{(j)}0^{(i)}1^{(p)}2^{(p)}$$
$$=0^{(p+j)}1^{(p)}2^{(p)}$$
Since, $p+j \neq p$
$$0^{(n)}1^{(n)}2^{(n)} \not\in L$$