I think an LLM trained on pre-calculus material would easily stumble into reinventing at least early calculus. It's already pretty easy for students to stumble into calculus from solid enough fundamentals.
We even think that the Babylonian astronomers figured out they could integrate over velocity to predict the position of Jupiter.