Chess is a very narrowly-bounded problem, and mathematics is vast. But you're right: We really have no idea.
Thing is, even if AI starts solving the hardest problems and determines for itself what the right problems to solve are... math, like chess, is still a human activity.
Humans watch other humans play chess, and using stockfish in competition is the lowest form of cheating. Chess is more popular than ever, because it's more a human sport than a problem to be solved.
In an analogous way, I'd suggest that math is, traditionally, a form of pedagogical activity. The future will always need people who interpret and explain the work of LLMs in human terms, as a form of mental training, and as a means of furthering human understanding -- just as the study of philosophy is a form of mental training.
Industrial math (generating useful results for engineering or cryptography) is absolutely certain to become AI-dominated in the very near future, but math as a discipline for building human mental models and advancing our understanding of the world isn't going away any time soon.
Theorem-proving has never been a "spectator sport" and I don't see why it would become one now that AIs can do it better. Humans are better at being "explainers" for now, but how long do you think that will last? Human-done math is headed for "exclusively a very niche hobby" status, like blacksmithing.