Using closure properties to show that $a^n b^m a^{n+m}$ is not regular

I want to show that $L = \{a^n b^m a^{n+m} \mid n, m \geq 0\}$ is not regular.

Can I say that the complement of $L$ intersected with $a^*b^*$ equals $\{a^n b^n \mid n \geq 0\}$ and since I know that $\{a^n b^n \mid n \geq 0\}$ is not regular, then $L$ is not regular?

Or would I have to use the pumping lemma?

• You can do whatever you want as long as it's logically valid. – Yuval Filmus Oct 18 '15 at 21:51
• @YuvalFilmus Does that make sense tho? Like I guess is that true? – user270494 Oct 18 '15 at 23:10
• That's for you to answer. Try to be more confident in your knowledge. – Yuval Filmus Oct 19 '15 at 7:05

Unfortunately, you do not get $\{a^nb^n\}$. For instance, $a^3 b^4 \in \overline{L} \cap a^*b^*$. Check out our reference question for more techniques you can try.
• Actually can I just use the pumping lemma and state $a^0b^pa^p$ is in the language, then y = $a^k$ with 0 < k <= p, choose i = 0 so I get $a^{−k}b^pa^p$ which is not in the language? – user270494 Oct 22 '15 at 5:46
Hint: What do you get when you intersect $L$ with the language denoted by $b^*a^*$? It won't be quite what you need, but it's close. You can then get the $b^ma^m$ language by subtracting (i.e., set difference) some regular language from that.