I want to know if my proof is wrong and whether what I am doing works.
$$\sigma = \{0, 1\}$$ $$A = \{0^n1^m \mid n < m\}$$
Claim: A is not regular.
Proof:
Assume A is regular. Let p be the pumping length.
Let $S = 0^p1^{p+1}$
$S = xyz$ where $y \neq \varepsilon $ where $ \varepsilon $ is the empty string and $|xy| \leq p$
$y = 0^k$ where $0<k \leq m$
$x = 0^q$ where $0\leq q < m$
$z = 0^{p-k-q}1^{p+1}$
The pumping lemma says that $xyyz \in A $
$$xyyz = 0^q0^k0^k0^{p-k-q}1^{p+1}$$ $$ = 0^{p+k}1^{p+1} $$
Since $p+k \geq p+1$
$0^{p+k}1^{p+1} $ is not an element of $A$. This is a contradiction.
Therefore, A is not regular.