I don't think that we have enough information to effectively measure NPV of something like this.
We neither understand the long-term potential value of this as a foundational discovery. (i.e. What will we discover now that we know this? How much sooner? How will those discoveries impact the world?) Nor do we understand what the true opportunity cost of this discovery is to derive the discount rate. (i.e. Is there something more valuable that a mathematician and these compute hours should be doing.)
Last, I think when you look at this through the lens of value capture in addition to value creation, it's hard to think of a cleaner way to accrue value directly to society as a whole than fundamental discovery.