What a shallow midwit reductionist take. This is no different than people who claim that artists are only mad because AI has made everyone world class “artists”.
The simple fact that you're comparing art to mathematics is making my point for me.
Or at least tell me the functional value of Fermat’s last theorem.
You can make the argument that "high" math has no function value which is fair.
But I would not agree.