Top
Best
New

Posted by nb-t 5 hours ago

Much shorter version of GRH Lean verification from Anthropic(github.com)
303 points | 137 commentspage 2
tescreal 2 hours ago||
The people complaining that the LLM "cheated" are running out of places to hide their magical belief. Quite an accomplishment on the proof. With two different proofs on the table, it'll make for a lot of wonderful insights going forward.
pixl97 2 hours ago|
Don't worry, they'll say the AI cheated when millions of micro-drones descend from the sky and exterminate us too. I'd rather they wake up and prevent a world where that happens rather than adamantly denying it could ever happen.
phoghed 1 hour ago||
Final human dies muttering something about it not actually being AGI
yewenjie 1 hour ago||
*Yann LeCun muttering...
efitz 33 minutes ago||
Just smiling to myself that GitHub (not Arxiv) has replaced the gatekeeping academic journals. You ca fake diagrams and make writing incomprehensible, but the code works or it doesn’t.
eamag 4 hours ago||
From comments

> 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

jychang 4 hours ago||
I'm actually a little bit miffed about this announcement, because I was working on this in parallel. I'm about 70% done with the proof and it's at 35k lines of Lean right now. However, Anthropic beat me to the punch.

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

buzzy_hacker 4 hours ago|||
Please keep up your effort and write up your approach in a blog post, people would love to read it still!
jychang 3 hours ago|||
The most important thing is to take regular Software Engineering skills and apply it to Lean. The basic concepts like DRY still hold. You also want to reuse Mathlib as much as possible.

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.

thirtygeo 3 hours ago|||
Yes and what if it is different!!?
bigmadshoe 3 hours ago||||
Keep going! It's good to have both.
fcoury 2 hours ago||||
Please keep going!
vatsachak 4 hours ago||||
I mean this just means that in the future we will have to pursue what we want without caring for whether a big lab scoops us.

You did a great job and you should be proud regardless

seizethecheese 3 hours ago||||
Doing this with GPT 6.2 Sol is insane. My hat is off!

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

jychang 2 hours ago||
Yeah, and I do have a Claude subscription too.

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

seizethecheese 2 hours ago||
Looks like Neon could be good too, but yes OpenAI models seem to overperform and Fable is shockingly low https://epoch.ai/benchmarks/frontiermath-erdos?view=graph&ta...

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.

sunir 3 hours ago|||
You can’t fight city hall. But you can learn something by doing.
hax0ron3 4 hours ago||
Anthropic also has the AI context from the work that created the original proof. I wonder if that might have helped.
jychang 4 hours ago||
No, I'm working on it with ChatGPT and I am creating a proof that is roughly the same order of magnitude in size.
traes 3 hours ago|||
Just because it's not necessary doesn't mean it wouldn't have helped
hax0ron3 3 hours ago|||
Interesting!
lelandfe 4 hours ago||
> This repository is a shorter version, produced in collaboration with my colleagues at Anthropic, and Claude.

If this were “from Anthropic” surely it would be hosted on an Anthropic account?

perching_aix 4 hours ago||
The username resolves to Luke Sernau. His GitHub seems lively, but all his activity is constrained to private repos, all the way back to 2013, so it's not possible to check what he works on. On his LinkedIn, without being logged in, I can see Anthropic in the "current company" section, though most everywhere else I see him to be associated with Google DeepMind. Fed the repo to Astra and told it to hunt for malware concerns, came up clean.

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

conradkay 4 hours ago|||
Anthropic hasn't even acknowledged the Riemann proof yet, Levent just posted it on his own website (after asking Dario for permission)
londons_explore 4 hours ago|||
Perhaps because it was not exclusively made with Claude, or because it was done as a weekend project?
johnnyApplePRNG 4 hours ago|||
[dead]
keyle 3 hours ago||
Is anyone going through this stuff? [1]

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

Paracompact 3 hours ago|
There are only two theorem statements here. When vetting a (trusted) theory as a mathematician, scrutinizing proof bodies tends to be the very last thing on the checklist. Top-down learning beats bottom-up.

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.

keyle 55 minutes ago||
I read what you wrote and I have absolutely no idea about what you're talking about! :-)

In this, I appreciate you and quietly envy you.

Maybe this is my 2026 xmas-break project...

contron 4 hours ago||
Whatever model did this we are not getting. Can't make that hella cash flow without pumping those output tokens. Alas, one day.
pfdietz 2 hours ago||
Amusing comment from HN, Aug 1, 2018:

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

CamperBob2 1 hour ago|
I also liked the comment from one of the medal winners that was related in one of the thread comments, concluding that he wasn't good enough for mathematics:

   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.
pfdietz 1 hour ago||
The irony!
jwpapi 3 hours ago||
It‘s really interesting. I just want to add that if there’s any bug with Lean or any library, AI would be as good in finding it as finding the proof. I don’t think so, but would be a nice plot twist.
geysersam 1 hour ago||
Sure but if it found one, why wouldn't it tell us? I'd imagine it would be enough for the anthropic employees working on this to ask a hundred agents: "is this (part of the) proof utilizing any bugs in lean, if it is, demonstrate the bug with a minimal reproducible example" and since, as you say, the models are good at finding bugs they would likely find them quickly.
pixl97 2 hours ago||
I guess it depends on a number of factors.

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.

minraws 3 hours ago|
This just proves my previous point that this is how it should have been released not the nonsense memo and 17M line proof and claim.

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.

More comments...