Posted by nb-t 5 hours ago
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!
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
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
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.
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]?
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.
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.
https://github.com/lsernau/grh-lean/blob/main/grh/src/New/Up...
This is the non-compact 'Human Readable' version. Still pretty intense!
Something that I wonder where is the "eureka" part of this proof, or perhaps the top 10 "eureka" moments.
>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.
Is there an ELI35 explanation for mathematicians that don't speak Lean?
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?
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-...