Much shorter version of GRH Lean verification from Anthropic

nb-t 375 points 191 comments November 25, 2026
github.com · View on Hacker News

Discussion Highlights (20 comments)

lelandfe

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

dward

Zulip discussion here: https://leanprover.zulipchat.com/#narrow/channel/658556-Riem...

bananaflag

From ~17M lines to just ~76k lines, a 99.56% reduction.

eamag

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

gre

Does this challenge Tao's point from a month ago that getting huge proofs with no insight is a problem? Are we already past that with smarter LLMs that can golf the proofs and explain them?

spootydooty

Nice! The more readable 300kloc proof even has a clear "known math" vs "new math" split and human-readable documentation all over the place. This should greatly aid with digesting it.

contron

Whatever model did this we are not getting. Can't make that hella cash flow without pumping those output tokens. Alas, one day.

delegate

I don't know Lean.. 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 ?

aborsy

I have no experience with Lean. How difficult is it to learn to use Lean? Any similar example to see the level of difficulty?

xqcgrek2

Really, at this point University trustees should disband math departments, and give their staff transition grants for retraining to do other stuff

keyle

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

minraws

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.

formerly_proven

Why do they even bother putting a copyright license in a repo like this? The contained materials are clearly not copyrightable.

jwpapi

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.

gus_massa

> and using only the axioms propext, Classical.choice and Quot.sound Is there an ELI35 explanation for mathematicians that don't speak Lean?

tescreal

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.

pfdietz

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.

eggsome

Have any of the labs pointed a internal model at foundational lean proofs made by humans to see if they could be simplified?

galoisrepresent

This ( https://github.com/tzu-chen/slim ) can be used to navigate the lean source and take a look at the shape of the project without setting up lean or building.

efitz

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.

Semantic search powered by Rivestack pgvector
4,151 stories · 37,739 chunks indexed