How can I prove that $\{0^n 1^{n^2} \mid n \in \mathbb{N}\}$ is not a context free language?I tried to prove it using the pumping lemma, but I don't know how to deal with the case when $vxy$ contains both $0$ and $1$.
Proving that $\{0^n 1^{n^2} \mid n \in \mathbb{N}\}$ is not context-free
context free