Sample size of one, and obviously there's a million confounding variables here, but I think that my love of math stems from the fact that both my parents, and especially my dad, really loved math (and physics), and so whenever I had any questions about any aspect of math (at least up to calculus and differential equations), I could ask one of them for help pretty much whenever I wanted, and they would enthusiastically help me immediately, and eventually I grew to love it myself.
Eventually I did well enough in math to where they gave me a test in school and I was able to skip two grades in it (going from 7th grade to 9th grade level). I ended up getting much more into discrete math and surpassed my parents in the more "pure" math. Even if my genetics were completely unaltered, I am quite convinced that if my parents weren't there to provide constant help then that wouldn't have happened.
I think AI has the possibility of providing a comparable experience to what I had. It can patiently explain every aspect of math that any middle or high school student is likely to come across, and I think it has power to "de-frustrate" them as a result.
So yes, I'd personally say we should expect people to "keep up in math".
(Plus every one of them who gets out makes life better for the rest at least by reducing downward pressure on wages, and hopefully also by creating new business opportunities that raise wages further by increasing supply. Rigorous education is almost always a win-win: https://matiane.wordpress.com/2021/09/15/democratic-educatio... )