Inspired by SETI@home, we have a leaderboard and 18 independent validators so far who ran the 17M line proof. Now up and running with the 300k line proof!
My understanding has been that the reason that the original was so long is that it was formalizing lots of previously proven things for the first time, and, also a bit sloppy with it's imports in importing certain libs more than truly needed.
Is the compressed proof just a cleanup of the imports, or was the original providing formalizations of proofs that were not truly needed if we accept the proof in place of the formalization?
github.com/ityonemo/2b4m
The much more likely scenario is that the lean compiles fine, and is correct, but just doesn't prove the exact problem it purports to
Before, it was used as a starting point for prof like "if the GRH is true, then $somethingsomethin is true".
Note that I qualify whether it does or doesn't do the job, not because I don't think AI should or shouldn't be awarded such an award, but because I, a mere random on the interwebs who is suddenly being bombarded with explanations of the Rieman hypothesis via Tik Tok/Reels, have no actual idea if it does hold up or not, and just have to go on what I am being told.
Note also - I do feel (based on the aforementioned reels) that this is more accessible for celebration than the discovery of the Higgs Boson particle which had people writing things up on my workplace whiteboard that, when I asked for explanation, they had no idea about. (A win for reels/tik tok science educators I think)
Lean works within the framework of standard structural rules that include weakening [0]. Extra results cannot "interfere" with a logical inference that doesn't use any of them.
[0] https://math.stackexchange.com/questions/933289/weakening-an...
The fix has already been incorporated into the proof. All fixes will be incorporated into the truth. Any criticism is therefore momentary and the fix will always be correct and mistakeless (until the next mistake is found)
If you think having trivial/tautological intermediate parts in a large proof makes the proof invalid then I don't think you have an accurate mental model of how Lean works. I found working through the online natural numbers game exercises in Lean helped me with this, and it was pretty fun too: https://adam.math.hhu.de/#/g/leanprover-community/nng4
Edit: I'm pretty sure by now nobody cares about whether the original x million lines were correct or not.
I have plenty of reservations about AI in various forms but I’m starting to think people engaged in this kind of denial are actually in a pretty bad place and actively sabotaging themselves by not facing reality. I don’t know. These are strange times.
I have no idea why my feed is like this, either. I don’t intentionally follow any AI doomers or deniers. It’s a hot topic over there
Now we've built up hard logical barriers - like in the olden days - but the discourse hasn't caught up.
My position is that, to be very charitable to everyone, I assume people to act reasonably and professionally. What that means when it comes to software engineering is that I don't care if any AI was used to code. It is a tool that a professional can use, what I care about and judge is what they commit. It's what you commit that you take accountability and responsibility for, at least in a sane environment with a harsh but good engineering culture. Similarly, I believe the person reviewing can also use any tool they want, it's what they ultimately merge that they must take accountability and responsibility for. And they stay accountable for that even long after it was merged.
In terms of capabilities, I believe AI has become good enough for most coding and other technical (and many other) tasks. I do also believe that AI is still objectively terrible at writing prose (ironically it is natural language that we humans still do a lot better). I highly dislike it when people do not write things I have to read themselves. I think that once again anyone professional and responsible would realize that it's not there yet when it comes to that. I should note that this may change at any moment and when it does I will adjust and change my position on that.
I don't use "weirdos" in a pejorative sense either, I think many would happily self-describe that way too, it's undoubtedly a place that is welcome to oddballs and outcasts. That's not a bad thing in the main!
The risk there isn't so much an echo-chamber effect, but the chilling effect instead. If you're like me, you're self-censoring by not talking up in favour of AI there because you know it'll get backlash. That just increases the sense that everyone there is anti-AI.
Eventually culture there will have to catch up with reality, but you're spot on that right now, many people seem to believe that all the AI results are fake, or flawed.
People are highly motivated to believe what aligns with their sense of self, their psyche, or whatever the correct way of putting it is. And from there, they will - I mean this very literally - just completely invent a reality that aligns with that sense of self. This has been evident to me across decades of usenet, then forum, then reddit/hn presence. It happens across everything, from sports to politics to the sciences.
The ability to organise into silos of like minded thinking, and algorithms that promote more of the same online surely must make this much more pronounced.
My standards are machine - reachable but clearly the work is not done yet - it's being done in this very article. I look forward to the day I actually learn from any of this!
I found this to be an interesting proposal, but also kind of forced, if not even nascent. Could not really appreciate it at the time either (as in e.g. why this mattered), matter of fact, just typing this out now is also me kind of understanding it for the first time where he was coming from. If something has the potential to inform, I'd already consider that information. I'd preferred simply thinking of data as persisted information, something that has been instrumentally measured or recorded, so that it could be space and/or timeshifted, to become information again in some other context.
Bit of an aside I appreciate. Regarding the slop proofs, I think we're slowly approaching a better place with this idea of only publishing the Lean, especially if they could restrain themselves to only publishing an optimized Lean. This would leave exposition to experts until the models catch up in quality, perhaps retaining some of the social effects they're afraid of losing. The optimization did have to sacrifice some of the "richness" though that Alpöge was beaming about, which mathematicians may yet again despair over.
Though if one really internalizes Tao's idea of a prospective era of "proof abundance", where these capabilities would no longer be restricted to these labs with their gigantic budgets and unconstrained secret models, I think that might open up the possibility of re-proving the same theorems in distinct ways, potentially identifying new maths that way, or simpler (or harder, more inter-disciplinary) arguments, even ones that'd have been already available at the time the hypotheses were formulated. Maybe a lot of already long existing proofs can also be optimized, or "ported over" to different subfields of mathematics, illuminating those from there-new perspectives. I think there's plenty to explore still. What becomes the "deliverable" that people can get credit and wages for though, I indeed also struggle to fathom.
I like that - from a Statistics point of view, the raw data is just that, until statistical analysis looks closer at the data and provides information about relationships within
This is why I didn't find his idea illuminating, and why I preferred mine at the time. It formed a dependence on the human aspect, even though that was not the key bit, but the mechanism of informing, which does not require a person per se.
Saying this out loud does make me wonder whether this is just my mind playing tricks on me though, and subtly adjusting the memories recalled to fit the context. It's been a long time, take it with a grain of salt.
Now I know more than zero.
Err
Slightly more …
I…at least didn’t…go backwards. heh
I mean that's just Bluesky in a nutshell. A good amount of the audience for the platform sought explicitly that kind of environment.
It's a similar deal with many Reddit communities, these are people who actively want irrational echo chambers.
It's not an AI proof. It's a proof-proving program that Lean compiles to C.
A progam is, of course, not a proof. A program may be isomorphic to a proof, but you can't prove this isomorphism and will just have to trust the "vibes" that it is true.
In other words, it will only be a proof if a human reads the Lean code and verifies it manually.
A program is a proof - via the Curry-Howard theorem. This is proven, not trusted or vibed.
Lean is not "compiling a proof-proving program to C", it is verifying if the proof is correct. Beyond implementation bugs in Lean, it is not possible for a Lean proof to compile if the proof is wrong, or vice versa (for a Lean proof not to compile if the proof is valid). And implementation bugs in Lean are not likely in these cases, since multiple different Lean compilers (one of which is itself formally verified to match the Lean forma system) have verified the proof of the RH.
Human mathematicians are incomparably more error prone than Lean in verifying proofs. The truth of this proof of the RH (and of the many other Lean-verified results from the last few days) is much more certain than any human-verified proof can ever be.
Edit: what would make sense to say, and it does have a profound meaning to the whole field of (human) mathematics, is that we still don't actually know what is the proof of the Riemann Hypothesis. We now know with 100% certainty, or as near as can be, that this proof exists - but since no human has been able to actually go through it and explain it to other humans, we still don't know what it is in some sense. Once it will be made explainable to the mathematical community at large, that is when it will become known in a real sense that mathematicians can work with (beyond abandoning any work that was trying to disprove the RH today, as we now know that can't succeed).
Part of my idea before building this Riemann@home tool is that Lean proofs will become a more frequent occurrence in my newsfeed and I want some understanding of what it all is.
A new idea since is with Lean + LLM now more people can explore the frontiers of mathematics. And since math has a funny way of underpinning our universe, this AI stuff is a bit like getting a superfast spaceship you can travel without leaving your bedroom. So in some sense it seems the journey of understanding math is at a new beginning. Though the pros say it’s over?
Happy to be encouraged or dissuaded but figured you were a good person to ask. Thanks in advance!
However, I will say this - Lean is not like cryptography, it's more like a language for describing formal statements, just like the language we learned in school to write mathematical formulas, plus a "compiler" for this language that verifies the proof you wrote is correct. The complexity comes from two or three places: Lean requires rigurous formal versions of every statement you make, whereas most math you see even in math papers is more informal than that (e.g. you can't just say "n numbers in in increasing order" in Lean, you have to give the exact statements, e.g. For every x_i, x_j in $numbers, x_i <= x_j <=> i < j; or use a library that defines this if you can find one) ; and the actual math proofs for RH and many of these other theorems that are recently published is extremely advanced - that's why no one has been able to find these proofs until now.
I think that if you're really interested in learning this, your best bet is to look for / use AI to show you some Lean proofs for theorems you are familiar with from your math education (say, prove Pythagoras' theorem), and then try your hand at translating some textbook proofs into Lean to see the difference between informal and formal proof.
But I don't think Lean itself can help you get an intuition for an area of math you are not familiar with. I believe it would be very much the opposite - Lean requires extreme rigour and handling each nitty gritty detail, whereas building an intuition usually requires looking at the bigger picture and focusing at the core concepts while ignoring (initially) the many many details.
No, a type system for a model of computation is a proof.
You understand the difference?
There seems to be a free copy of it here https://github.com/Mzk-Levi/texts/blob/master/The%20Formulae...
To prove that Lean corresponds one-to-one with the abstract type theory you'd have to formally verify Lean. (And formal verification is a pseudoscience, no software is formally verified.)
Why the hell not? Several LLM-generated proofs already turned out to be actually be exploits of Lean and not real proofs.
LLMs are pretty good at finding exploits. (Much better than they are at math.)
And with this, we are now in an era where LLMs are much better at math than they are at finding exploits. No LLM has found an exploit yet that is of any complexity remotely similar to proving the Riemann Hypothesis.
Maybe, but "compiles and runs with several implementations" is not a mathematical proof.
We already knew the Riemann hypothesis is true because we checked it numerically. If all we want is a reasonable practical demonstration of it then we don't need formal math at all, it would be a waste of time and resources.
Indeed, what is the point of that? This is not an audit in any way.
Audit the instructions, build with ASAN, run Valgrind, build manually without lake. Anything to actually audit rather than engaging in a performative action.
Now what does that have to do with established audit practices?
I would say in this case because this is arguably the most important proof for over 100 years there hasn’t just been one effort to validate it, so people have gone above and beyond those steps, validating it with multiple independent lean kernels (that’s con-ron, lean4lean, con leche that are mentioned in the grh page on the validation effort[2]). These independent kernels are what caught the “dishonest” proofs that exploited old bugs in lean to claim a proof of the Collatz conjecture around 18 months or so ago so here we have a situation where a dishonest proof would need to exploit not only lean itself but 3 other clean room implementations of the language somehow and also evade the human scrutiny that is involved in this effort. This is vanishingly unlikely given the level of effort that is being put in.
I think where you are perhaps being confused by the wording is just because people are rerunning the same official build doesn’t mean that they are checking the exact same thing. They are running the same versions of lean, mathlib and the proof, checking that compiles without issue as a baseline and then running whatever other checks they want to run. It wouldn’t be reasonable to (say) blame the proof if I have a problem when I run it on my machine with say a version of mathlib that I had locally broken somehow.
The grh validation page steps are “If you do these exact steps you should get exactly what we get” (ie a very high standard of scientific reproducibility to justify the confidence that they have that the original long proof is correct). Everything that’s being done on shorter versions of the proof builds on the fact that the long version works.
[0] https://leanprover-community.github.io/blog/posts/riemann-hy...
[1] https://xenaproject.wordpress.com/2026/11/12/and-the-proof-i...
It is a fuzzy process that requires patience, creativity and perseverance. If Torvalds posted a four step blog post how to audit the Linux Kernel, everyone would laugh.
What Buzzard posted is the bare minimum.
What Linus would do in a given situation doesn’t seem super-relevant here, and the word “audit” which keeps coming up in this thread is a strange one. This isn’t an audit- It is a verification of a mathematical proof. There have separately been several efforts to audit the lean kernel and to make cleanroom implementations of the kernel. This effort isn’t that though, it’s verifying that the proof is correct and proves what the author says it does.
It’s not necessary or helpful to audit a lean proof in the traditional sense of a software audit. “Bugs” don’t invalidate an honest proof - they cause it either to prove a different thing from what it intended or to fail to prove the thing they do intend. So all that’s needed is to check whether it proves the correct statement and the proof is honest (in the sense of not constructed to deliberately exploit a bug in lean). People are doing a lot of checks on all aspects of that and are satisfied.
Are these steps worth adding to Riemann@home. Let me know!
Also that it builds was point #4 of this letter from the Lean community: https://leanprover-community.github.io/blog/posts/riemann-hy...
If there’s steps you want to add, submit a PR!
“1. The statement of the Riemann Hypothesis is correct. This statement is part of Mathlib: RiemannHypothesis and has been carefully vetted by experts in Lean and number theory.
2. Alpöge’s library compiles correctly. …
3. The code proves the correct statement …
4. The Lean proof is valid. “It proved that a long set of steps that are all derived only from the ZFC axioms is true if and only if the known Lean statement of the RH is true.
The set of steps was 17M lines of formal statements, which was now reduced to 300k.
Lots of credit too llms in thr comments, and nothing for the humans that madr it possible. Given the lastest unreleased model I couldnt figure it out. And I also havent seen Anthropic give any credit to the mathmaticians that made it possible.
Anthropic is misanthropic and they are anti-human.
Do not project yourself onto others.
> Lots of credit too llms in thr comments, and nothing for the humans that madr it possible.
And you could've been the one to credit them here but, instead, you'd rather just complain about, which does show some priorities.
> Anthropic is misanthropic and they are anti-human.
Sure.
2. AI Lab releases 17 million Lean proof
3. React negatively to 17 million
4. AI Lab releases 300k version
5. React negatively to 17 million
6. Get accused of moving the goal post
during revision some researchers found there was a function called anyGeometry which returned True for any parameter. This is a work in progress that is crowdsourcing the proof building work to mathematicians under the false pretense that it was solved.
there’s a lot of valid math proofs being released right now (mostly by OpenAI), but they are less grandiose than a milennium problem (except for navier stokes), if you have enough nuance you can see between “AI is fake” and “The riemann hypothesis is solved”
During further revision, they found that was immaterial to the proof, it was dead code.
Also, Lean doesn't work like this. You can't get a Lean program to compile by asserting that false is true.
axiom false_is_true : False
Then you can prove anything by exact False.elim false_is_true
However, the Lean proof for the Riemann Hypothesis didn't add any axioms. Instead, the `anyGeometry` objection was that the proof used true assumptions, which would supposedly render it invalid. This is of course complete nonsense, because all assumptions of a valid proof should be true, and it's only a problem if they're false (as in the axiom above).But you CAN get Lean to compile if you define 1+2=4 and define 2=3. It just won’t pass comparator checks.
I feel math is having its rust or static typing moment where they discovered some techniques to avoid some type of bugs, but they don't realize you still can have semantic bugs and there's no static checker that will avoid those.
First of all that's incorrect, anyGeometry was used in 8 places which linked to the main hypothesis. There was a github showing this, but github is currently unavailable (surprise), but this is verifiable.
Second of all, if it is used by the main hypothesis (which it is) it's not necessary for it to directly invalidate the proof to show that the proof is invalid. Since a mistake like this shows that the original proof was relying on unproven assumptions. That the mistake was fixed and the new updated proof fixes this issue by making the assumptions explicit only means that the new proof is valid, but the old proof is still invalid!
Make no mistake, the new repo by Apolge is not just a compacted version, it contains both a compacted version and a big version, but the big version contains a fix for this issue! And the repo is presented as new from scratch, it doesn't contain the fix for the issue as a commit or anything, it just pushes it under the rug!
QED stop being nerd sniped into this.
Please read https://leanprover-community.github.io/blog/posts/riemann-hy... and https://math.mit.edu/~drew/grh/ . The idea that noone has “looked for issues in the lean files” is beyond insulting to the very serious effort of many people to validate the proof.
The hubris is inmense, the discourse is roughly as follows:
"The lean code compiles therefore its true" "But maybe there's a bug in lean"
"the Lean kernel has been built 6 times (on 64 bit) and it has been verified by more than 1 verifier" "Maybe the verifier has a bug" "It has itself been verified by another verifier" "Maybe that is wrong" "Maybe"
That one is a dead end (in this case, in July there was a proof that was allegedly found, but it was because a kernel bug made True == False.)
"there's a (trivial) semantic mistake in the proof" "It's not being used" "It is being used actually" "It's not relevant, it asserts True, it needs to assert False in order to invalidate a proof" "An incorrect True assumption can be trivially inverted, even if this mistake (and it is a mistake) doesn't end up invalidating the proof, there's probably other mistakes, and whether or not they invalidate the proof is something that has not been proven"
>The idea that noone has “looked for issues in the lean files” is beyond insulting to the very serious effort of many people to validate the proof.
That's not what I'm saying, I'm saying people have looked in issues in the .lean files (as opposed to the lean kernel), and they find issues. The people that are verifying are just congratulating each other that the kernel has no bugs or whatever (the dead end)
The proof also still contains a few unused intermediate results. Sounds like these were neat findings where the proof of RH ultimately only needed a weaker version of the result, but folks at Anthropic thought it would be worthwhile to finish fleshing out the details.
This is exactly the type of thing that moves a field forward, that many people were (inexplicably IMHO) saying we wouldn't get with an AI proof
Odd - I would have thought releasing it before the IPO would have been in their interests - people have posited that the work is only being done to increase shareholder value, therefore releasing before IPO would have pushed the price per share up (surely) (edit: nope, I was way off)
edit:
SEC "Quiet Period" & Liability Risks: During an IPO registration window, companies face strict restrictions on promotional publicity ("gun-jumping"). Dropping a massive, unverified scientific claim right before listing invites intense regulatory scrutiny, potential IPO delays, and massive shareholder lawsuit liability if a bug were found in the 17M-line proof a week later.
Lock-up Periods & Post-IPO Momentum: Founders and insiders cannot sell shares on Day 1—they are typically locked up for 90 to 180 days. Releasing a major catalyst after the IPO sustains institutional momentum, keeps the stock from suffering the classic post-IPO dip, and supports the share price closer to when insiders and early investors can actually realize value.
Audit & Credibility Risk: Because the initial 17M-line release had not yet been simplified or broadly audited by the wider math community, holding it until post-IPO insulated the listing itself from any immediate "slop" backlash or technical controversy.
So even if maximizing enterprise value was a primary driver, holding a high-profile, high-risk announcement until after the IPO bell rings is textbook capital-markets risk management rather than a contradiction.
Assuming so, personally I'd prefer a somewhat more brief human-written summary of the new understanding gained via the conversation.
Edit: looks like you also found that right before my answer
OpenAI caught some (deserved, imo) pushback over that and Anthropic gains a sustained media presence this way as well.
Except that the Anthropic founders were not locked and they sold shares for hundreds of million $ on Day 1, when the price share was much greater than today, which is one of the many irregularities of this IPO.
Why? Let the public have some fun!
Good. Shows who to ignore.
Who was certain of that?
I can just about see how someone might hold the latter position, maybe. But the former seems pretty silly?
There was already a proof that was shortened by 20% so your position is untenable. I was literally waiting for them to publish a reasonable proof.
The overwhelming goal of most mathematicians is to advance human understanding of mathematics. This is a tremendous opportunity to do that.
Why this huge discrepancy?
2. I disagree with the methods used by the Lean community repo, which is to try and shrink the original 17 million line Lean proof down. Instead, I believe it was much better to try and formalize the proof from scratch.
I was in the process of doing that greenfield formalization by myself. I am about maybe ~70% done, and I am currently at ~35k lines of Lean right now. Unfortunately, I do not have access to Anthropic's compute; this is all done with a $100 ChatGPT plan running GPT-6.2 Sol. Since Anthropic has the resources to beat me to the punch, I guess I will just publish my current progress here: https://github.com/jamesyc/riemann-hypothesis
Note that this is not my first rodeo; I have previously formalized a proof of the smallest Turing Machine that cannot be proven to halt in ZFC https://github.com/jamesyc/BusyBeaver/tree/main/ZF192
Useful tactics and thought processes are still a helpful skill. Maybe the model can come up with those, but if you already have a strategy with high chances of success then you can already do that!
Like just a bit of direction can make you spend an order of magnitude less time on this kind of stuff
And the go with the robot and no understanding doesn't interfere with the mathematician with a robot and more understanding.
Edit: they just switched to the version in this repo.
These hill climb-y tasks tends to hit a limit based on model capability (and getting stuck making tiny improvements in bad directions)
Left a comment under it that may be more directly relevant for you: https://news.ycombinator.com/item?id=50648003
Also relevant are the topic-specific comments from the Lean Zulip thread (linked elsewhere here) on how this was done:
Luke Sernau:
> Yes, it's based on the same proof. I'm not able to say very much about methods, unfortunately, but I had some luck with unrolling definitions to get a long, flat proof, looking for simplifications there, and then rolling them back up again. That way I could simplify across boundaries. Some stuff just needed entirely new arguments though, like getting rid of Vandiver.
Devin Watson:
> For RH I took the millions of lines of Lean from Alpöge and fully decomposed it into atomic binary math functions. Decomposing it to the atomic functions enabled structural deduplication, hash-consing, direct binary term reduction, DAG theorem inlining, and shift-aliasing and binary packing. I am sure there are other strategies for essentially compression that could be applied. Using a custom framework on top of Lean I have gotten it down to 528,681 lines of Lean since starting around lunch yesterday. Obviously I haven't been dumping this directly into the main GitHub repo but it has been guiding my work. I was hoping to have a fully condensed RH Lean package and paper some time tomorrow.
Luke Sernau:
> sounds cool! And way more aggressive than what I was doing. I would bet that there are some big wins still to be had doing that on the shorter version.
Then he makes it "go green", and doesn't care about cleaning it up
I only did CTF once or twice, long ago, pre-AI ... but that's how I felt: just keep writing code and trying things. No cleanup. Whereas when I write code I plan to maintain, I probably do too much cleanup and refactoring.
Still an incredible result! Not taking away from it. And with how much he poured into it, I can understand going a bit crazy and not empathizing with the eventual reviewers.
But, it’s able to be optimized to such an extent because it was purposefully long before.
I don't think he said that.
He admitted to publish the fist version that compiled (or something close to that) instead of taking a few days/weeks to cleanup it. Not ideal, but I don't mind it.
IIUC he notice the English proof he would get was going to be too long and no human would be able to read it, so he decided to drop the English version and publish only the Lean version. The "joke" was pretending that the Lean version printed in A4 paper counts as an English version.
Note: I expect that after some cleanup and a few years of study, we will get a "short" proof that enters in one or two books. But the guy didn't have a few years to sit on the proof and clean it.
The process by which math is done is being redefined in real time. It's fascinating to watch, and think about what this means for the field going forward.
looks like it passed most of the tests
It's reducing the proof to make it more likely that insights are possible.
But no it doesn't reduce Tao's point.
Why doesn't [the proved capability of reducing the proof size (by 99%!) to make it more likely that insights are possible] reduce the criticism of [no insights are possible from huge proofs]?
Kurt Gödel showed how to find explicit examples of statements in formal systems that are provable in that system but whose shortest proof is unimaginably long. For example, the statement:
"This statement cannot be proved in Peano arithmetic in fewer than a googolplex symbols"
is provable in Peano arithmetic (PA) but the shortest proof has at least a googolplex symbols, by an argument similar to the proof of Gödel's first incompleteness theorem: If PA is consistent, then it cannot prove the statement in fewer than a googolplex symbols, because the existence of such a proof would itself be a theorem of PA, a contradiction. But simply enumerating all strings of length up to a googolplex and checking that each such string is not a proof (in PA) of the statement, yields a proof of the statement (which is necessarily longer than a googolplex symbols).It doesn't. We already knew the Riemann hypothesis was true long before AI. (We checked it numerically.)
The point of math is to figure out why it is true, and if the "why" has broader implications in other domains.
AI slop doesn't help us answer these questions and just wastes people's time.
No we didn't. We knew it was true as far as we had managed to check, around up to 10^13. That's really not enough. See e.g. Mertens conjecture[0], which if true would imply the Riemann hypothesis. It's true for all n < 10^16 (and probably much further), but is false nevertheless.
Perhaps now I know why mathematicians aren’t rich..
I don't agree with this, personally. They're a great research tool, I certainly appreciate having them, but they can't compare to a well-written document or video. And interestingly this doesn't really seem to be getting better, while they're much better these days at writing code, retrieving information, etc. their ability to communicate that information is still about where it was a year ago. Claudlish sucks to read, it's better than nothing, but I certainly wouldn't say it's the one thing they're good at.
I just disagree that they're somehow going to make human explanation obsolete, as the parent comment was somewhat implying. Given the choice (which of course, isn't often available) I'd almost always want to read decent human writing over LLM writing, it's just better at keeping one's attention and conveying info
If you haven’t spent the time to deeply understand and form your own mental model about the system it’s documenting, you won’t notice all the inconsistencies, contradictions, omissions, overcomplication, etc. in the AI output.
If someone already has a good mental model (because they made the system or worked on it for a long time) then they would be better at it, but that's apples and oranges; when a company asks a human to document a system, the reasonably allocated time for such a task does not really allow to deeply understand that system.
> when a company asks a human to document a system, the reasonably allocated time for such a task does not really allow to deeply understand that system.
Then it's just a badly defined task. If resources are lacking, you redefine the task to fit the available resources. You do not do a bad job and pat yourself on the back for it.
You mean producing an explanation that sounds believable to those with little expertise.
Not sure this is a good thing.
But looking at the code, I can't help but wonder:
Who on Earth can understand that ?
Random example: https://github.com/lsernau/grh-lean/blob/main/grh-compact/sr...
Genuine question for people who know Lean: How realistic is it for a human to read this code, 'grok' it and verify that it is correct ?
> Scaled Hecke operators repair divisibility at inert primes pairing tops
Literally every word here has a precise definition. Probability takes forever to get an intuition for all of that. But that's always the problem with math.
Plus, these proofs are actually quite tame compared to human-written Lean proofs.
> How realistic is it for a human to read this code, 'grok' it and verify that it is correct ?
You don't need to verify any of this, but for the final theorem statements. That's the point of formal methods.
To be clear, it is not a human who verifies it's correct.
Lean does that.
Humans just have to verify that the statement of the theorem is accurate, and that it is rooted in mathlib.
To properly understand a proof you need to run it interactively (or at least I do), which is kind of running in a debugger
I mean the here's the gist of what takes to understand a proof
To prove a theorem in Lean (or similar theorem provers; I'm actually more familiar with Rocq) you have goals, which are the things that are left to prove. The "main goal" is what you want to prove right now, and the other goals are other things you also need to prove
When the list of goals becomes empty, you have proved the theorem. You start with a single goal: the theorem itself
It proceeds like a game. Depending on what the main goal looks like, you can eliminate it calling some piece of code (there's more to it but let's say it's a tactic). But more often than not, eliminating a complex goal just pushes more, hopefully simpler goals into the goal list. So you need to be, well, strategic in what tactics you employ - you need to go into the direction of making things easier to prove, not harder
So what looks like to run a proof interactively? You can go through the proof step by step, all the while you observe how the goal list changes. That's analogous to run a C program in a debugger, watching the local variables of each stack frame
Ok so that's how you (or at least I would) understand a proof - run it interactively, which is like watching a professor write down each step of the proof in a white board, all the while she carefully keeps track of what's left to prove
But anyway. The innovative thing about theorem provers in general is that to verify a proof you run a program (a kernel) which is just a trusted type checker. Unfortunately the official kernel is written in C++ and agents found bugs before (that made the kernel accept theorems that were false). However, there's multiple kernels, so if all of them type checks the proof (and the proof doesn't contain stuff like "sorry", which means it's not proved at all), there's a high confidence in the result
Alas we’re about to stop caring about programming languages at all.
https://github.com/lsernau/grh-lean/blob/main/grh/src/New/Up...
This is the non-compact 'Human Readable' version. Still pretty intense!
>How realistic is it for a human to read this code, 'grok' it and verify that it is correct ?
Data presented this way isn't simply read and understood, it often has to be studied.
Something that I wonder where is the "eureka" part of this proof, or perhaps the top 10 "eureka" moments.
A bit of orchestration and review layer on top, taken from what the SWE have been building for the past year, is all you really need.
If you want to look at the absurd version of that - go look at some live streams of the GTA PC port; minimal prompts in modern harnesses get you there >90% of the time and all you need is an expert to have it change course/stay on track at a high level.
Is there an ELI35 explanation for mathematicians that don't speak Lean?
Longer answer: in layman's terms:
propext - treat "if and only if" as "is"
Classical.choice - allow to pick an element from any known non-empty type, even you don't know what the element is
Quot.sound - Quotient ("quot") means to split a type's elements into groups. It's called quotient because, for example, you can split all integers into two groups - odds and evens - by dividing them by 2.
Quot.sound means you can go the opposite way: you can say "since 9 % 2 = 13 % 2, the group where 9 is the group where 13 is."
If all these three sound very trivial to you, that's because they are. Our everyday math already assumes these hold.
(Edit: I didn't realize you meant to ask for explanation for mathematicians. These might be "too layman" for you, sorry. I'll leave this comment here for future non-mathematicians passing by.)
In the strictest sense, without an axiom to replace AoC, it can never "show" us something: ZF is strictly weaker than ZFC, and can never prove anything that ZFC can't. In plain ZF, lots of things that we take for granted, like "a countable union of countable sets is countable" are no longer true (provable) -- although most of these intuitive things can be proven either by much weaker versions of AoC, or are also proven by common alternatives to AoC like the Axiom of Determinacy.
Lean's type system is also stronger than ZFC: according to Google it's more like ZFC + inaccessible cardinals.
The summary is that these are the axiom of propositional extensionality, choice, and a quotient construction (which implies function extensionality, i.e. what makes two functions equal).
Classical.choice is the axiom of choice.
idk what Quot.sound is.
How difficult is it to learn to use Lean?
Any similar example to see the level of difficulty?
Lean is like a universal DSL. Learning the syntax is one thing, but learning the background domains of a Lean proof is another.
Depending on what you want to use Lean for. Do you want to prove math, or do you want to do software with some theorems sprinkled in?
Thanks much for the resources.
I'm guessing you can get pretty far just using the models as almost a translator to/from Lean.
(ofc it can still can be interesting to learn, I'd just treat it more like learning Latin)
[0] https://www.kitp.ucsb.edu/sites/default/files/4th-Statement-...
That's not quite what you said, your version is more nuanced, but I expect that's how some will take it. Hopefully the potential risks are obvious.
Lean code is good and all ig but I'd really like to see an actual mathematical paper about this with someone who understands it presenting it at a conference.
If this were “from Anthropic” surely it would be hosted on an Anthropic account?
Definitely a thing to watch out for though, Lean is just arbitrary code after all, with metaprogramming facilities.
I know this is circumstantial. It is not possible to prove identity matching like this, and the repo may contain novel prompt injection attacks to defend against LLM security audits (though I'm pretty sure Astra just ran some well directed rg commands). I did not have it sanitize the code before it ran its scan.
If real, using the original 14.7M lines to 250K pages metric, this would imply a <1300 page exposition being well possible.
Edit: actually, the core proof in this new minimized release is only 35 kloc, so the majority of the 76 kloc is still for formalizing pre-existing math: https://math.mit.edu/~drew/grhexplorer/#g=New
Four Futures is the book I'm referring to.
And I don't think any government in China or Europe will just stand by and watch. This can only happen in America.
Their leaders are some of the most hated in the nation, workers everywhere reject their wares, all they've done is enable mass surveillance at every level in society now including our jobs, the decreased the ability required to run elaborate scams and lie to masses.
Like wine moms that voted for Kamala now want Elon Musk in prison. Voters want this and they will likely get it, because the first person to do it will become President or hold whatever office they want for life.
The optimism is here, people are openly rejecting neoliberalism. In 2016 socialists were still political pariahs and now someone who identifies openly as one is Mayor of the NYC (the capital of the planet).
> it's super absurdly funny how much time and resources have been put into tiny incremental gains to reducing the proof and Anthropic can just throw compute and better internal models at it and get a reduction of this magnitude in days
This is PURELY with GPT-6.2 Sol, by the way. On a $100 ChatGPT plan, using only one agent, no subagents. My implementation plan could use subagents, but it ate up my weekly usage too quickly.
Anthropic engineers with access to {way more usage, fast mode, and can afford to use subagents} obviously can move a lot faster than me.
Also, CLEARLY 17 million lines is overkill. At my current rate of progress, I'm pretty sure that I can do it in even less lines of Lean than Anthropic. This is with most the work being done by AI, with me giving it nudges (in ways that helps avoid the common pitfalls that happen if you fully give AI the reins).
When you formalize a proof with Lean, you want to start off with the Challenge.lean statement file, which is good standard practice (which is surprising to me that the original proof by Alpoge lacked one). Make sure that's correct, and just replace the proof with a `sorry` statement. If your Challenge.lean is correct, then that means nobody can complain about you "proving the wrong thing". Then, counterintuitively, you want to liberally use `sorry` statements in your proof as you go. For software engineers, just think of `sorry` statements as NotImplemented exceptions. Track all the sorry statements in a centralized location, and have the AI build out the proof with breadth first search, not depth first. That's the biggest rookie mistake; most people tell their AI to do one component at a time, DFS style. You will get a much cleaner codebase if you do BFS.
The other counterintuitive thing is that you DON'T want to compile the Lean code all that often. If you let the AI do what it wants to do, it will try to compile the Lean code after every little change to some random function. That means your entire context is littered with dealing with that. Instead, have the AI do a solid chunk of work without compiling the Lean code, then do a build occasionally. Accept that fact that the AI occasionally will make mistakes and the build will fail and will need to be fixed, but fixing the mistakes is pretty quick and the AI is much smarter if you make it focused on math, rather than handling Lean compiles and checking it.
You did a great job and you should be proud regardless
The GPT-6.2 series seems to truly be bad when it comes to real people doing real stuff. So far we're seeing Sol 6.2 underperform even Mimo v2.6 Flash, a super cheap model that's completing tasks at $0.03 each vs. ~$2. Sol is in last place except for Grok 4.7 (which is a truly bad model). (Data from https://github.com/bottomless/agent-duel.)
That being said, I picked GPT-6.2 Sol because:
1. I cannot afford Astra
2. I found that GPT-6.2 Sol and Astra are better than Opus 5.5 for mathematics, even though I use Opus 5.5 as my main workhorse for coding. I suspect this is because 6.2 was posttrained a lot on mathematics and not coding... because OpenAI threw a lot of RL for math at 6.2 after Navier Stokes a few months ago, which is why it shines better than Claude at mathematics.
3. Sol has much faster tokens/sec than Astra
If you want to collaborate, I'd be interested in giving free Sol / Neon inference to generate head to head battles on who does this work better.
> Is the Fields Medal going to still be relevant in 10 years, when most of the the major mathematical discoveries are made by deep learning and deep reinforcement learning systems? Already systems are learning to reason about concepts [1] and of course there is classical work on proof checkers [2]. It's very likely that the 2028 Fields medal will be awarded to a programmer, not some mathematical super-genius (assuming that the committee is fair, and not biased against machines).
https://news.ycombinator.com/item?id=17662219
The responses have aged like fine milk.
Here is a link to that comment: https://news.ycombinator.com/item?id=17663622
Edit: Curious how did you find that comment? ... Its also a throw away account... Was it you that posted it, or your memory is so great :)
From here: https://www.reddit.com/r/mathematics/comments/1y5k50k/is_the...
I don't know how that person found it.
Accustomed to meeting the highest of standards, he
saw his dissertation as mediocre. Quietly, Venkatesh
started eyeing the exit ramps, even taking a job at
his uncle’s machine learning startup one summer to
make sure he had a fallback option.It's often said that people don't see such changes coming because they can't intuitively understand a rising exponential.
What I find hilarious is that even mathematicians can't understand a rising exponential.
I think it's less that people don't understand exponentials and more that people passively and unconsciously reject predictions that in some way contradict their preferences. (In the case of left on energy, that was a degrowth mindset.) It helps to identify ones own preferences and consciously check if one is doing this.
And he is one of the OGs of ML. Turns out meatbags, regardless of their expertise, suck at predicting the future. And the negativists are often proven wrong and their comments age like milk. Something, something, bitter lesson, RL goes brr and whatever kids say these days.
It looks like a miserable job; reading LLM produced code is bad enough but I feel lean could have been named 'thick'.
[1] https://github.com/lsernau/grh-lean/blob/main/grh-compact/sr...
Plus, this big proof really isn't that bad. What a line like
simp_rw [invDFT_apply, ← nsmul_eq_mul', AddChar.map_nsmul_eq_pow, ← smul_sum, @sum_comm _ _ ℕ, ← sum_smul, hψ.fourierTransform_eq_inv_mul_gaussSum]
really means to say is simply, "simplify and rewrite the goal statement iteratively according to these equalities, in the specified directions." Understanding this in an interactive proof assistant just comes down to comparing the before-and-after of the goal state, only referring to the specific equalities mentioned if it's not obvious to you. The `grw` tactic used all over is similarly a rewriter.
In this, I appreciate you and quietly envy you.
Maybe this is my 2026 xmas-break project...
In one particular domain they may be hard to find. Said bug may be covered by other bugs or weird behaviors.
I'd think where you have two different branches of maths that have typically not been used together is where these things may stand out. Like axioms or values that should ether be equal, or should not be equal violate those conditions.
I feel like actual understanding be damned, we will ship slop as fast as possible until everyone who cared has drowned in it. Is basically the subtext of all AI companies now.
The most important properties of the things around us cannot be predicted yet from their fundamental mathematical models, because those are too difficult to solve.
So most of the properties of physical systems must still be obtained experimentally and the prediction of their behavior can be done only with simplified mathematical models, which contain tons of ad hoc empiric parameters.
It would be nice to be able to compute what chemical substance you need to synthesize to have certain properties, or how to modify your DNA to grow a third arm (as an example of an arbitrary shape change).
We cannot compute mathematically even something as simple as the emission spectrum of a typical atom or its atomic mass, much less what will grow from a plant seed or animal egg.
With that said, if AI just provided us a life of hedonism would you take it? With all the Calvinism in the US it would be hard for a lot of us to accept. Some people just want to work until they die.
Take this post on HN about maths mostly being solved by AIs 10 years in the future. Downvoted to hell: https://news.ycombinator.com/item?id=17663622
Which was then picked up by Reddit in their infinite wisdom: https://www.reddit.com/r/badmathematics/comments/9436cm/is_t...
And now mocked by the pro-AI people on Reddit: https://www.reddit.com/r/singularity/comments/1y5l3hu/discus...
> I of course amused myself, and hit 250, 000+ pages.
> Claude cutely called it the GRH..."book" — I looked at Theorem 1 and it began by noting that because the reals are totally ordered if σ̸ = 1/2 then σ > 1/2 or σ < 1/2.
He said he literally did it to amuse himself and that the natural language proof starts with restating that the reals are totally ordered. So not only did he ask Claude to create it on a whim, he noted that the proof is clearly way too detailed to be useful.He and Claude really did prove RH with a massive amount of Lean, he really did ask Claude to make a natural language proof on a whim, it really did come out to more than 250,000 pages, and he thought that number was funny.
That's what people are calling a "joke", which I would argue is worse communication than anything Levent said, which I thought was very clear.
Now the massive amount of Lean has been pruned way down. There will be a natural language proof that is also much smaller at some point.
From reading other comments, it seems Alpöge did publish a more normal/concise proof too, but releasing the 250,000 pages of unrefined slop too feels like asking for confusion. Just recall how many entirely circular discussions happened on this very site, just because of this perception novel "AI math" is always going to be this degree of impenetrable.