First of all, there's already a question very similar to this, but in my case I just wanted to show my attempt with the hope that if there are any erros or it's wrong completely you can help me in the process of understanding better.
So, I am asked to prove using the pumping lemma that $L = \{0^m1^n \mid m \neq n \}$ is not regular.
Here's my attempt.
Suppose $L$ is regular. Then $\exists$ a $p$ (the pumping length), s.t. $\forall s \in L$ with $|s| \geq p$ and $s = xyz$ (that is $s$ can be decomposed in three smaller strings $x$, $y$ and $z$). Then, the following is also true:
$xy^iz \in L, \forall i=0...n$
$|y| > 0$
$|xy| \leq p$
Now, lets pick one of these strings s, and lets call it $t$, and define like this $$t = 0^p1^{p + |y|}$$ Note that $|y| > 0$, so $p \neq p + |y|$.
Because of condition $3$, we know that $xy$ only contains $0$s, so $y$ is composed of just $0$s too. Take now for example $xy^{\mid y \mid}z$, which should be in $L$ according to condition $1$, but $xy^{\mid y \mid}z$ = $0^{p + |y|}1^{p + |y|}$, which is not in the language, and this contradicts the fact that $L$ is regular.
I am not $100 \%$ sure this is correct. If not, any corrections, suggestions to improve are well-accepted. Actually, I am quite doubtful about the following statement $xy^{\mid y \mid}z$ = $0^{p + |y|}1^{p + |y|}$...