I can use the pumping lemma to prove simpler examples, but i'm finding this problem rather complex partly due to the notation.
Can anyone explain how I would do this problem:
For any string $s$ in $\{a, b\}^*$, let $n_a(s)$ be the number of a’s in s, and let $n_b(s)$ be the number of b’s in s. Let L over {a, b} be given by $L = \{x \in \{a, b\}^* | n_b(x) = n_a(x)^2 \space \text{and} \space x \notin ((a^∗b^∗) ∪ (b^∗a^∗))\} $. Prove, using the pumping lemma for regular languages, that the language L is not a regular language
I know we suppose that it is regular then by the pumping lemma it has to satisfy the properties of the pumping lemma for regular languages.
Hence, we need to find a decomposition and break it by pumping this decomposition which is no longer in the language forming a contradiction by hypothesis. However, I fail to see the decomposition or what to pump....