| ▲ | bananaflag 6 hours ago |
| From ~17M lines to just ~76k lines, a 99.56% reduction. |
|
| ▲ | gregdeon 3 hours ago | parent | next [-] |
| It's worth noting that the 76k line version is heavily "golfed" (e.g., cramming the same content into fewer lines), which heavily hurts readability for the sake of a smaller line count. A more sane version is around 300k lines. Still, a massive reduction! 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. |
| |
| ▲ | DonsDiscountGas 3 hours ago | parent [-] | | > The proof also still contains a few unused intermediate results. 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 | | |
| ▲ | stingraycharles 2 hours ago | parent [-] | | To be fair, since it’s only a few days later, it would have been better if Anthropic did that simplification before releasing it to the public. It was massive ammo that fed the trolls to just call it “slop” and a trash proof. | | |
| ▲ | pishpash 2 hours ago | parent [-] | | So why did they feel like rushing it? Was OpenAI close? | | |
| ▲ | randallsquared 2 hours ago | parent [-] | | Alpöge was personally impatient and they’d already made him wait until after the IPO. | | |
| ▲ | awesome_dude an hour ago | parent [-] | | > they’d already made him wait until after the IPO. 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. | | |
| ▲ | stingraycharles an hour ago | parent [-] | | it was stated explicitly that they didn't want to release it before IPO to avoid "hyping up" the IPO Edit: looks like you also found that right before my answer | | |
| ▲ | awesome_dude an hour ago | parent [-] | | Thanks, yeah I self checked and realised that I should stick to things I am better acquainted with :) |
|
|
|
|
|
|
|
|
| ▲ | w-m 6 hours ago | parent | prev | next [-] |
| Meanwhile, the community-driven compression with a hundred contributors and thousands of pull requests sits at a mere 33% reduction. Why this huge discrepancy? https://riemann.verifytask.cn/ |
| |
| ▲ | jychang 6 hours ago | parent | next [-] | | 1. That chinese website might be the wrong dashboard, I think there's a chinese group that's doing the same thing. The main Lean community work is at https://github.com/leanprover-community/riemann-hypothesis 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 | | |
| ▲ | lwarfield 4 hours ago | parent | next [-] | | As somebody who tried the other way around, I think you made the right decision. I was able to condense down the proof by a lot, but in retrospect, it would have been much faster to just build it from scratch again. | |
| ▲ | jwpapi 6 hours ago | parent | prev [-] | | I praise people like you! |
| |
| ▲ | rtpg 6 hours ago | parent | prev | next [-] | | The "obvious" thing is a mathematician with a proper understanding of both the tooling, math in itself, and good strategies. 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! | | |
| ▲ | seizethecheese 4 hours ago | parent [-] | | There’s someone in this thread who is doing it on a $100 per month plan and claims to be under the Anthropic size so far. It looks like they are a software developer | | |
| ▲ | rtpg 3 hours ago | parent [-] | | Sure, I just mean like.... someone who isn't just asking a robot to "make it smaller and cleaner". Like just a bit of direction can make you spend an order of magnitude less time on this kind of stuff |
|
| |
| ▲ | kccqzy 5 hours ago | parent | prev | next [-] | | The community-driven one is here: https://rh-shrink.github.io/ Edit: they just switched to the version in this repo. | |
| ▲ | bananaflag 6 hours ago | parent | prev | next [-] | | The internal models are smarter. | | |
| ▲ | jeltz 6 hours ago | parent [-] | | Or they just have access to way more compute. | | |
| ▲ | conradkay 6 hours ago | parent [-] | | Nah, you can see how little progress that project has been making recently. Even with 1000x compute I doubt it'd hit 80% These hill climb-y tasks tends to hit a limit based on model capability (and getting stuck making tiny improvements in bad directions) | | |
|
| |
| ▲ | traes 5 hours ago | parent | prev | next [-] | | I unfortunately can't recall the exact source but I saw some Lean experts early on commenting that those efforts appeared to be a poorly organized dead end that were focusing on cheap "easy wins" that don't actually reduce the fundamental complexity of the proof, like inlining imports. | | |
| ▲ | pishpash 2 hours ago | parent [-] | | This does bring all sorts of weirdos out of the woodwork making it seem like anyone can do math. I mean yes it's more accessible now, but you need some skill. It has gone the other extreme towards pseudo intellectualism, or maybe a kind of anti-academic populism. | | |
| ▲ | dyauspitr an hour ago | parent [-] | | Yes anyone can do it just like anyone can decompile GTA6. Humans are doing very little in all of this. |
|
| |
| ▲ | dyauspitr an hour ago | parent | prev | next [-] | | I assume the in house models are significantly more powerful. | |
| ▲ | 3 hours ago | parent | prev | next [-] | | [deleted] | |
| ▲ | lightbendover 6 hours ago | parent | prev [-] | | [dead] |
|
|
| ▲ | josephg 6 hours ago | parent | prev | next [-] |
| Does anyone have any tips for simplifying llm output like this using LLMs? I’ve never had any luck getting Claude to simplify code unless I just reprompt. |
| |
| ▲ | perching_aix 6 hours ago | parent [-] | | Consider: https://news.ycombinator.com/item?id=50611593 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. |
|
|
| ▲ | 6thbit 6 hours ago | parent | prev | next [-] |
| That's interesting. If the method used to reduce is applicable to arbitrary software libraries, we could be able to simplify a lot of cruft that may help making some systems easier to understand. |
|
| ▲ | chubot 5 hours ago | parent | prev | next [-] |
| That is some ratio! I picture Alpoge just hacking like crazy on Claude and not looking at the code! I guess he has a strong intuition and just keeps piling stuff on in parallel. 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. |
| |
| ▲ | tyre 3 hours ago | parent [-] | | He admitted to including a bunch of crap to troll people. It was unprofessional, especially with how much attention this got and the amount of people’s time he wasted. 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. | | |
| ▲ | gus_massa 2 hours ago | parent [-] | | > He admitted to including a bunch of crap to troll people. 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. |
|
|
|
| ▲ | seizethecheese 6 hours ago | parent | prev | next [-] |
| 76k lines sounds like it would just about fit into a 1m token context window. Cool. |
| |
| ▲ | jychang 6 hours ago | parent [-] | | It doesn't quite fit with the o200k tokenizer, I just checked. |
|
|
| ▲ | qwrt1a 6 hours ago | parent | prev [-] |
| [flagged] |
| |
| ▲ | Sharlin 6 hours ago | parent | next [-] | | Clearly the 17M lines was just because we're once again measuring productivity by lines of code output (don't tell the managers that you just reverted almost all of that progress by optimizing the proof!) | | | |
| ▲ | 12h590 6 hours ago | parent | prev [-] | | [flagged] |
|