At least since pocket calculators were available there is an ongoing debate in math education of how meaningfull it is to continue to teach students how to calculations only using a paper and pencil. At the beginning the discussions were only about arithmetic operations but later (after CAS systems were available) also for example about calculating integrals. Many concluded that those skills are not needed anymore and one need to focus much more on solving complex problems, creative and critical thinking and mathematical modelling. Calculators or CAS were meant as tools to do the "routine" tasks described above.
[As a side note: At least in Germany I got the impression that this idea never really got implemented, because it didn't work to teach the average student complex, creative problem solving skills. Thus it ended up that exams consist of problems that are not more complex than in earlier times, but require less calculating skills thus being effectively easier]
Now, if you look at GPT4, it one sees that computers cannot only do "routine tasks", but also solve mathematical modelling problems or provide new mathematical proofs. See for example this research paper, where for example on page 40 a math olympiad problem was solved by GPT 4.
I know that currently GPT4 makes many errors and is not really reliable. But if the development goes on as fast as in the past years, this will not sooner or later not be a problem anymore.
So assume that GPT x or another AI can reliable solve such "creative" and "complex" math tasks (which are out of reach for the average high school students).
How to reasonable change the math curricula in this scenario? Are there any reasons to continue teaching math as we have done it in the past? If so, how to explain the students that it makes sense to learn those things when AI can do it better and much faster?