Much shorter version of GRH Lean verification from Anthropic (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
Lean is designed to write mathematical proof. It only compiles successfully if the steps on the mathematical proof are correct. So you only have to verify that the final statement is the one you want, and the compiler will check that all the crap you wrote before is a correct mathematical proof.
In this case, the final statement is copied from Mathlib and has been used for years, so it has a lot of review by the community. Before it was used as a initial step to prove followup like "If GRH is true than $something is true." Now it is used as the final step to prove "GRH is true".
There are some escape hatch to avoid writing missing steps using the magical "sorry" instruction. They are useful to write the high level structure of the proof and later fix the holes. But the compiler at the end complains that you used "sorry", so it's not possible to hide it.
So in this case "compiles IS a mathematical proof".
There are a few implementations. It's possible that they have bugs, but highly unlikely that all of them have the same bug. Also if the AI finds a bug, I expect it to abuse it to prove all king of results. So it's very unlikely.