"The fundamental principal that some equations are easier to calculate in one direction than the other has not changed."
This is literally what we suspect might change. You can't make new equations if you figure out that the entire foundation of cryptography was an illusion in the first place.
It would be catastrophic.