upvote
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.

reply
> 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

reply
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.
reply
Maybe there are more important things in that "slop". It can be a gold mine.
reply
So why did they feel like rushing it? Was OpenAI close?
reply
Alpöge was personally impatient and they’d already made him wait until after the IPO.
reply
> 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.

reply
Curious whether your edit is copied from AI, as it has multiple tells. Section headings, A rather than B, verbosity, even em-dashes...

Assuming so, personally I'd prefer a somewhat more brief human-written summary of the new understanding gained via the conversation.

reply
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

reply
Thanks, yeah I self checked and realised that I should stick to things I am better acquainted with :)
reply
I know the conversation is dead ended here, but I'd like to add I got the feeling that their marketing strategy was deliberately moved to breadcrumbing after OpenAI's initial drop of ~400 proofs.

OpenAI caught some (deserved, imo) pushback over that and Anthropic gains a sustained media presence this way as well.

reply
> Lock-up Periods & Post-IPO Momentum: Founders and insiders cannot sell shares on Day 1

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.

reply
> 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.

Why? Let the public have some fun!

reply
>It was massive ammo that fed the trolls to just call it “slop” and a trash proof.

Good. Shows who to ignore.

reply
Ultimately it's more egg on their face. People were certain the proof couldn't be shortened or be made sense of. Now what? The goalposts are in orbit at this point.
reply
> People were certain the proof couldn't be shortened or be made sense of.

Who was certain of that?

I can just about see how someone might hold the latter position, maybe. But the former seems pretty silly?

reply
No it sounds to me like your strawman is in orbit.

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.

reply
Makes you think that maybe the ‘let’s shorten the original 17M lean loc’ community rally should rather be ‘let’s mine the original 17M for new mathematics’
reply
A lot of people are doing both things at the moment. This proof is being studied very widely and very seriously, and for a long time will be attacked from all possible angles.

The overwhelming goal of most mathematicians is to advance human understanding of mathematics. This is a tremendous opportunity to do that.

reply
You can have more than one community rally. Both are fun and important!
reply
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/

reply
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

reply
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.
reply
I praise people like you!
reply
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!

reply
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
reply
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

reply
Fortunately, lots of people can have a go.

And the go with the robot and no understanding doesn't interfere with the mathematician with a robot and more understanding.

reply
The community-driven one is here: https://rh-shrink.github.io/

Edit: they just switched to the version in this repo.

reply
The internal models are smarter.
reply
Or they just have access to way more compute.
reply
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)

reply
When hill climbing gets stuck, you can always wheel out beam search.
reply
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.
reply
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.
reply
Yes anyone can do it just like anyone can decompile GTA6. Humans are doing very little in all of this.
reply
deleted
reply
I assume the in house models are significantly more powerful.
reply
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.
reply
Show Claude the before and after and then get it to work out a repeatable method :)
reply
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.

reply
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.
reply
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.

reply
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.

reply
> 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.

reply
Publishing the first version that compiled opened the rest of the process to the entire community. In this case that's probably better than the alternative.

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.

reply
76k lines sounds like it would just about fit into a 1m token context window. Cool.
reply
It doesn't quite fit with the o200k tokenizer, I just checked.
reply
[flagged]
reply
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!)
reply
If it's big it means it sucks, if it's small it means it sucks.
reply
[flagged]
reply