Isn't that assuming there is a roughly similar amount of actually invested resources to tackle both set of problems?
Also a little while ago I tinkered to switch the OpenSSL backend on my test server to support Kyber for PQC. The math behind all this is not trivial, obvious, but switching from one algo to the other is actually trivial. Sure it'd be a mess for a bit, especially with... as always unmaintained old systems, that's nothing new.
So I'm not saying breaking the most popular crypto algorithm is a nothingburger BUT I would still argue it wouldn't be the end of the World as we know it.
We are already seeing a bunch of security issue with a lot more boring stuff, like unpatched vulnerabilities.
Maybe cryptanalysis is much easier than proving the Riemann Hypothesis. Or maybe cryptanalysis actually has more invested resources, secretly, because the ROI is a lot clearer than the PR they're getting with the pure math results, and they can ask the NSA for extra budget.
And surely by now they would have broken some of the old ciphers, or improved slightly on attacks that are not yet practical. Instead, there's a huge hole where those results would be.