Top
Best
New

Posted by jlebar 10 hours ago

Formalizing Fermat's Last Theorem(www.anthropic.com)
https://xenaproject.wordpress.com/2026/09/04/flt-anthropic-h...
558 points | 343 comments
lalitmaganti 10 hours ago|
I suggest also reading Kevin Buzzard's blog post which was just posted: https://xenaproject.wordpress.com/2026/09/04/flt-anthropic-h...

Provides great context on this accomplishment, what it means but also doesn't mean.

dang 9 hours ago||
Thanks! I've added that link to the toptext.

I'd really like to make it the top link (and relegate https://www.anthropic.com/research/formalizing-fermats-last-... to the toptext) since HN has been tracking the work of https://news.ycombinator.com/user?id=kevinbuzzard for a long time and we're big fans. But I guess that would be overkill.

faitswulff 10 hours ago|||
I’m not very good at mathematics, but it seems like Kevin should take his girlfriend on trips more often for the good of all mathematicians.
aquafox 10 hours ago||
We should start a gofundme to send him 2 months to a remote tribe in the Amazon. Chances are, we see the Riemann hypothesis and twin prime conjecture proven. ;)
BeetleB 10 hours ago|||
"I was given £1M to run my project over 5 years; Anthropic took only 11 days but I do wonder if they spent more money…"

Gives you an idea of the scale...

sebzim4500 9 hours ago|||
It sounds plausible they spent more, given the output tokens (6 billion of them) would cost $300k at API prices and presumably there will have been many more input tokens than output tokens.
_aavaa_ 9 hours ago||
Unlikely, api pricing includes a healthy profit margin (as near as we can tell from the outside) which they wouldn’t charge themselves.
musictubes 1 hour ago|||
And which they could not charge anyone for. Unless these were extra resources that would otherwise go unused it cost them the amount they could have charged for them. Normally I would expect most businesses to make reasonable tradeoffs when it comes to how to allocate resources. I’m not convinced that any of the AI providers should be given that benefit of the doubt.
mbesto 8 hours ago||||
> healthy profit margin (as near as we can tell from the outside)

Ugh we still don't know if this is true and it's nearly impossible to calculate without a full understanding of the real CAPEX cycle. Stop spreading these rumors until we know for sure.

bryanlarsen 7 hours ago||
SemiAnalysis estimates their profit margin to be 70%. To be losing money on inference implies that their costs are almost 4X higher than SemiAnalysis has calculated. That's not credible.
p-e-w 5 hours ago||
I don’t see how they could credibly estimate inference costs without knowing the model size.
FuckButtons 5 hours ago||
But we do have a reasonable estimate of model size.
2muchcoffeeman 7 hours ago||||
The token price seems like a poor measure.

Building the LLM that could do this work in 11 days cost multi billions.

The economics probably only make sense if LLMs prove to be a benefit to almost everyone in a way we can all accept.

Otherwise this cost a lot more than we’d otherwise pay. It was incredibly fast though. But we all know: cost, speed, quality. Pick two.

alch- 9 hours ago||||
I don't think Anthropic is turning a profit ;)
_aavaa_ 8 hours ago|||
Whether on net they turn a profit as company overall is neither here nor there.. My point is that they are selling API tokens at a profit (or if being pedantic, then at a price higher than the cost to serve them ignoring research costs). And that that price is got a healthy margin which they don't charge themselves.
irthomasthomas 8 hours ago||||
Because of the ongoing training costs. They are certainly making a healthy profit margin on inference.
Philip-J-Fry 7 hours ago||
Never really a sound argument.

It's like having new solar panels installed every week. Sure you're "profitable" on the $0.20/kWh you're selling your "free" energy at when you ignore the cost of the solar panels you're buying every week.

ludwik 20 minutes ago||
It is a sound argument in the context of trying to estimate what it costs them to generate this specific output. They have training cost eather way.
dist-epoch 9 hours ago|||
Neither did Amazon for it's first 25 years ;)
btilly 5 hours ago|||
Amazon didn't make a profit because they were reinvesting money into starting new lines of business.

Basically there was a choice between taking the money, and growing. They chose growth.

chpatrick 5 hours ago||
As opposed to...?
caughtinthought 8 hours ago|||
I think you're missing the point of the comment you responded to, lol.
CaptWorld 8 hours ago||
Regardless the profit margin as a talking point seems to be bad as AI as a tech might never be reversed whether anthropic failed or succeeded. Indeed it's imperative we subsidize AI companies and tech to make them explore more solutions to scientific problems which has a downstream effect on human flourishing.
oblio 8 hours ago||
Or we could invest in a ton of other non AI related research we're underinvesting in.
CaptWorld 7 hours ago||
Like? I feel breakthroughs that can be found via AI might help us more in the long term where even previously non AI fields can be helped by AI. So you have specific non AI research in mind that we're underinvesting in? Because the USA is already spending crazy anyway for healthcare and I don't feel like funding is the issue but better incentives, reforms etc
hcknwscommenter 39 minutes ago|||
Funding for basic research is being slashed by the current administration. Our society is underinvesting in basic scientific research. And, AI will not fill the gap.
fyredge 3 hours ago|||
Like funding education. Let's build up human intelligence instead, they seem to have made great breakthroughs in every single field!

The US doesn't pay too much to healthcare, they pay too much to health insurance. Too much for too little value

CaptWorld 1 hour ago||
But US also spends too much on education as well. The issue doesn't seem to be funding but the educational reform like in mississippi, where they increased student performance without increasing their budget too much. That's why you see bad k12 educational outcomes compared to the budget spent in blue states. It's all about efficiency. Give AIa chance in few years as I feel it can make great strides.. it's hard to imagine that chatgpt released in 2022 and look at the progress in just few years as it just changed software engineering field entirely.. i expect similar kinda progress where of course humans will still be making breakthroughs but it'll be accelerated with the help of AI.

Spending on health insurance is spending on health care.. Americans want free healthcare but no tax bump so health insurance is a compromise.. when even just ACA was passed and premiums increased, democrats got destroyed at midterms so Americans might be living in la la land.

fyredge 39 minutes ago||
You see funding of chatgpt as a panacea for progress.

I see funding of chatgpt as one of small part of a history where governments and industry fund basic science and moonshot programs, not to generate revenue, but to explore what is possible.

LLM funding is not aimed at improving our understanding of the world, it's aimed at making people reliant so that they may extract wealth through subscriptions for shareholders.

Americans don't get good healthcare and education because that's what they vote for, in elections and wallets. I am hopeful that that changes, but we shall see.

iterateoften 6 hours ago||||
How many previous attempts with other models failed or on other problems. Perhaps this is $300k out of $100M or $1B of total budget just breadth first searching theorems in math and all the failed attempts conveniently don't get mentioned.
UltraSane 7 hours ago|||
I burned $70 on fable 5.1 Max in about 2 hours. I suggest never using fable 5.1 on higher than High reasoning unless someone else is paying for it.
paulpauper 4 hours ago||
Yeah, "major conjecture proved" with unlimited token budget bankrolled by trillion dollar firm.
blondie9x 6 hours ago||
"I was given £1M to run my project over 5 years; Anthropic took only 11 days but I do wonder if they spent more money…"
sigmar 10 hours ago||
>The speed with which we were able to produce this proof demonstrates that it is now possible to formalize large swaths of mathematics, which may both catch errors in the common body of mathematical proofs and reduce the burden of refereeing new work.

^ this section should have been in the first few paragraphs imho. Explaining why this is relevant shouldn't be so far down.

t_gamer_kle 8 hours ago||
Forgive the authors of the article for assuming readers would complete it.
salomonk_mur 8 hours ago||
For any body of text (or in general, any exposition of any kind), the responsibility to explain the value of the article is very much in the author's side.

Explaining the value of what you are showing should always go towards the start. Else, why would anyone bother with the rest?

beepbooptheory 5 hours ago|||
Feel very grateful I was never taught this... Would have missed out on quite a lot of good bodies of text in my life I think! Pushing through any initial friction or ignorance I might have as a reader, having the patience and charity to bear with an author until you get it, was instead what I was always taught.

Giving such a blanket "responsibility" to the author at all is just such a bummer! I say let them do whatever they want, there is always more than one way to express oneself. Someone who was never taught to write a clear thesis in the first paragraph for whatever reason doesn't inherently have less to say.

Geof25 2 hours ago|||
> Feel very grateful I was never taught this...

Never heard of Abstract section? First semester on a college or last year on high school.

SoMomentary 4 hours ago|||
Unfortunately I don't see this particular view paying off in the age of AI, as many prove they have nothing at all to say but say it anyways. Which isn't to say people shouldn't write if they enjoy writing, but I for one will stay a discerning reader.
HappyPanacea 7 hours ago|||
Buzzard is writing for his blog audience - mostly mathematicians and not the casual visiting HN user.
jibal 5 hours ago||
Eh? The quote is from Anthropic, not Buzzard.
doctoboggan 7 hours ago|||
Isn't it the cost we care about, rather than the speed? All we know know is that a frontier AI lab was able to do it in 11 days, we have no idea how much compute they threw at it.
SoMomentary 4 hours ago||
They said 6 billion tokens, which isn't as much as I thought it might be.
trostaft 2 hours ago||
Am I doing my napkin math correct? The post says it's using a model comparable to Fable 5.1, which is $50 per million output tokens. So this is ~$300K? Surely an over-estimate due to caching.
paxys 8 hours ago||
Nah they should have released it in a 14-part tweet instead.
herbcso 1 hour ago||
So I don't know Lean or Mathematics to any degree to really be able to say this with any level of confidence, but speaking from a pure software engineering backgrouand, how do we know that 13 MILLION lines of Lean code are bug-free? It seems to me that for a mathematical proof, bug-free would be an absolute requirement. Maybe the structure of Lean imposes that, I don't know, but that seems highly unlikely to me. That just feels like a LOT of code to be comletely error-free... What am I missing here?
raincole 1 hour ago||
The answer is we don't really know [0]:

> In 2026, AIs designed to spot bugs in software were directed at Lean, and found several loopholes which were then fixed. Perhaps related to this effort, a purported disproof of the Collatz conjecture was announced as verified in Lean. However, this proof was soon determined to rely on a bug in Lean, and once the bug was fixed the proof was found invalid

However it's a bit different than the usual 'bugs' we encounter in normal software development. Lean is more like a type checker. If you can write a false proof in Lean then the bug is in Lean itself, not your code.

In other words, Lean can have bugs, but the amount of code we need to check scales with Lean itself, not with the length of proof. Just like the chance that C compiler has bugs doesn't increase as we write more C code. So the 13M lines of code doesn't really matter here.

[0]: https://en.wikipedia.org/wiki/Lean_(proof_assistant)

dwohnitmok 21 minutes ago|||
The structure of Lean does impose that. The code isn't being run, it's being type checked. And that's it. The overwhelming majority of Lean code is never run. It exists only to be type checked (because type checking is equivalent to verifying the proof).

You could imagine the typechecker has bugs (and indeed another comment mentions examples of bugs!). Crucially though anytime the typechecker has a bug fixed you could rerun the typechecker on the code to see if it still type checks.

This is the whole promise of formal verification. It reduces the problem of verification purely to the typechecker. If the typechecker is correct, then the proof is verified, no matter how many lines of code the proof is. As a sibling comment puts it, the chance of bugs mainly scales with the number of lines of code in the typechecker, not in the amount of lines of Lean code.

Your question is akin to asking, "yes this spellchecker ran fine on your essay, but are you sure it runs fine on War and Peace? That's 1000x more words!" To which the answer is the number of words doesn't matter if the spell checker is correct (which it might not be! And longer passages might reveal more bugs! But you can always rerun it). The main source of bugs is more lines of code in the spell checker, not in number of words in the text.

thevivekpandey 1 hour ago|||
In lean, a theorem is specified by a type (in their highly complex "dependent type system") and proof is specified by a code that produces a term of that type.

If the compiler certifies that the code indeed produces a term of that type, then the proof is correct.

So, only need to trust: (1) That theorem statement is correctly encoded (FLT has a very short 1 liner description really)

(2) Lean compiler is correct

gorgolo 9 minutes ago||
> That theorem statement is correctly encoded (FLT has a very short 1 liner description really)

As someone not very familiar with Lean, does it really just depend on the entry point / theorem being correctly encoded? Can intermediate statements ever be mis encoded or misinterpreted, or is this what would count as a “bug in the Lean compiler”?

twiceaday 1 hour ago||
Lean is like a statically typed programming language and validity is guaranteed if it compiles. The only room for errors is in translating a non-Lean theorem into Lean, so that you are not proving what you think you are proving.
glimshe 7 hours ago||
"The proof is not the modern proof which I have been formalizing myself following ideas of Khare, Taylor etc, but the Darmon–Diamond–Taylor exposition from 1995 of the Wiles–Taylor–Wiles argument, via the Langlands–Tunnell theorem and Ribet’s level-lowering theorem. Anthropic’s repository develops Fontaine theory (to study flat deformations of Galois representations) and develops enough of Mazur’s work on the Eisenstein ideal to conclude that no Frey curve can have a point of order p>=17. This means that their FLT proof only works for p>=17, however FLT was already formalized for odd regular primes by Best-Birkbeck-Brasca-Rodriguez, and the smallest irregular prime is 37, so it’s all good."

My question to any mathematician reading this: does the above make ANY sense to you?

I ask that because I can read most technical material related to computer engineering, programming, hardware specifications etc. Even if I don't fully understand all details, I can follow them pretty well. So I wonder if professional mathematicians can look at the above and still make sense of it like experienced software engineers do for computer stuff.

CogDisco 7 hours ago||
Yep. While I'm not focussed on these areas, I know enough from scoping out a "learn about the proof of FLT" course that it's covering all the usual suspects and says the right-enough words. Patching their weaker results with someone else's seem like a good strategy (and I could find the result on arXiv so it isn't obviously hallucinated).

This is very different to believing the proof, which would require at least a pass understanding the general approach, seeing that it all actually fits together, then going deeper. At some point you transition to relying on the Lean all hanging together, but as mathematicians we all draw that line somewhere.

But yeah, makes sense. Same thing if you saw news on someone's new database technique to improve performance. If they say the right words, don't say the wrong words, and if you cared enough you'd do spot checks proportional to the claim. If pressed you'd examine the source code, and run independent checks. But if smells roughly right, that's a good first approximation.

jovas 7 hours ago|||
Yes, I'm a mathematician.

But not an expert on this.

While I don't know the specifics, and someone more "in-the-field" than me would recognize all the "named" theorems etc

I am aware that there have been minor issues that have come up with the formalization specifically, and that previous proofs for lower values of n were always needed.

Though it used to be n=5 and lower needed to be checked.

LanceH 7 hours ago|||
It's something you would have to be keeping up with as a mathematician, really.

Vaguely. It's describing connections between a number of other mathematics results than can be connected to prove FLT. I assume all the work described is being done to make the proof more presentable, smaller, basically "prettier".

It sounds like they established a minimum and maximum bounds for n in x^n + y^n = z^n, where one proof works for n greater than or equal to 17, and another proof for n < 37 (when prime).

I believe the case (remembering back 40 years here) n is even is very easy, and n is composite and odd slightly less so. Neither really being in the ballpark of what they describe here.

zmgsabst 7 hours ago|||
I did an undergrad in math with a little research in number theory and recognized parts — eg, I myself worked through the proof for odd regular primes and that 37 is irregular, breaking the general case.

Wiles-Taylor-Wiles was the original proof by Andrew Wiles, and its corrections.

Galois representations is about vectors over Galois extensions, which are essentially adding roots to regular numbers (rationals, integers, etc). That ties into the Langlands program, which is a big area in number theory (that I don’t know much about).

Together with flat deformations and Frey curve, I think they’re talking about a topic in algebraic geometry as applied to number theory.

I also recognize the name Eisenstein from my time as an undergrad, though two decades out and not working in the field I’ve forgotten what his work on ideals implied here. Ideals are a well-known topic though, a sort of structure inside a ring (set with + and *) that is closed under operations — like evens in the integers are the 2Z ideal.

So I’d describe it as “sensible with an undergrad background”.

atombender 5 hours ago||
About the Langlands program, Nunberphile has an excellent episode with Edward Frenkel explaining what it's about: https://youtu.be/4dyytPboqvE.
auntienomen 2 hours ago||
Frenkel does a nice job explaining the Langlands program in general. But Buzzard's complaint about Langlands, I believe, refers specifically to the proof of a version of the Geometric Langlands Conjecture by Gaitsgory et al. The proo f is of order thousand pages of mathematical text and builds off of thousands of pages of higher-categorical algebraic geometry by Lurie & others. It's a ripe target for formalization because it's terrifically complicated, not well understood or thoroughly digested yet, and relatively important. A formal proof would be reassuring to mathematicians, whereas Fermat's Last Theorem is relatively unique in that so many mathematicians have examined the proof that it's not very likely to be wrong.
skipants 5 hours ago|||
Funnily enough, this is more readable to me than most Clayde jargon.
mathisfun123 3 hours ago|||
This question gets asked every single time a serious mathematical result gets posted.
jibal 5 hours ago|||
I'm not a mathematician and I don't see the problem, at all.
UltraSane 5 hours ago||
advanced math like this takes 10 years to learn all the tower of things it is based on.
hackandthink 3 hours ago||
if you are a fast learner
cyode 3 hours ago||
I saw the 1996 FLT documentary in high school calculus class. For me, it forever cemented that archetype of modern math researcher at the top of my mental “smart” totem pole.

It also convinced me I had no interest in that path. Setting aside the grinding work of producing a proof that can only be reached by existing years in the abstract and hyper niche isolation of the problem space (not to mention that you might never discover it or that it DNE), the anguish of the output being a paper or presentation or some other artifact of human symbology (_words_, really) that could at any moment be refuted by a single observation of a single mistake—-that sounded like hell to me.

An equivalent high schooler today probably sees things differently, in light of this news and the undeniable implications of LLMs on mathematics. Sturdy autoformalization tooling should with time completely dispel the aforementioned anguish, once our confidence in converting a human proof to Lean/etc. reaches that of a compiler translating Java application language to bytecode. Errata may always exist, but in practice these new methods will do wonders for rigor and peace of mind.

(I’m far less confident re novel discoveries. There’s too much chance of derivative findings based on something part of the training looking like genius but really just tiptoeing on the shoulders of humans, whereas autoformalization is absolutely convincing to me as transformative, particularly to check correctness of AI outputted proofs as mentioned in the post.)

m_w_ 10 hours ago||
> Along the way, it wrote 13 million lines of Lean and proved 29,500 intermediate theorems.

Pretty insane. I suppose it lends further credence to the idea that anything that can be shown to be correct can be done by a model.

jameshart 9 hours ago||
There is no way Fermat could have fit that in the margin. Definitely vindicated.
zamadatix 8 hours ago|||
While pretty much everyone is certain Fermat was mistaken in believing he had a valid proof for the theorem, this is an expanded (compared to proof presentations) version of one proof - not the shortest presentation of the shortest valid proof.
vlovich123 8 hours ago||
Given the likely length of the shortest possible proof, I feel like Fermat is 100% vindicated - the proof won’t fit in the margin.

My strong hunch is that it was a joke - he knew how difficult the problem was and claiming he had a solution was I think a huge motivating factor for many mathematicians trying to prove it. The greatest nerd snipe troll in history.

BeetleB 8 hours ago|||
Most likely an error. Some time after he wrote that margin note, he wrote a document proving a special case of the FLT (i.e. it's true for n satisfying some property). Why would he do that if he had already proved it?
zamadatix 8 hours ago||
I think that point actually agrees with GP's take (joking/lying about having had a proof too big to fit in the margin): He would do that because if he thought the problem was extremely difficult but didn't actually have a proof when writing the note he would still want to go on and try to pick away at the problem.
zamadatix 8 hours ago|||
Maybe, we'd have to go back and ask him to be sure. I mostly just didn't want to leave an as of yet certainly unproven vindication about this hanging in a thread about finally having a formalized proof of the star topic :D
bananaflag 9 hours ago||||
I am really interested in whether AI will find a significantly easier (1920 level or so) proof of FLT.
HappyPanacea 7 hours ago||
It seems unlikely to find 1920 level or so proof although it might be the case that a significantly easier/shorter proof exits via Vandiver conjecture + extra work or Effective Mordell conjecture but it also wouldn't surprise me if that would be even more complicated than the current proof of FLT.
egl2020 3 hours ago||||
Maybe we need "de Moura complexity": the shortest Lean proof of a theorem.
avodonosov 6 hours ago|||
And he was right to call it marvelous.
kccqzy 8 hours ago|||
The next step, if Anthropic is interested, is definitely performing refactoring to cut down on the size of the proof. It’s clear to everyone including Anthropic that this proof isn’t as concise as it could have been. When it’s concise enough to be accepted into Mathlib is when victory truly is upon us.
skobes 7 hours ago|||
Maybe I'm misunderstanding something about how all this works, but can we have any confidence that 13 million lines of AI-generated Lean code are... correct?

How have we not merely substituted one verification problem for another?

Legend2440 6 hours ago||
The point of Lean is that it can be mechanically verified by a proof checker.
sashank_1509 5 hours ago||
Not always, there can be bugs in lean. Recently some guy with claimed to disprove Collatz conjecture, only to turn out that there was a bug in lean. I actually have no idea, how anyone can be sure this 13 M lines is meaningful
newAccount2025 5 hours ago|||
It’s common for formal proof efforts about software and hardware to involve thousands to tens of thousands of small lemmas.

13M lines does seem extreme and there is probably a lot of inefficiency given the way the proof was developed. Cutting it down is probably a long road, but is also a very well defined problem that AIs can probably just go do with enough time and budget now.

andriy_koval 9 hours ago|||
especially compared to existing 129 pages proof by human
black_knight 7 hours ago|||
A human can cite previous published results. I am sure a lot of this development was formalising the prerequisites.
itishappy 6 hours ago|||
A published formalization is code. I would not think humans have any edge when it comes to citing previously published results.
andriy_koval 7 hours ago|||
> I am sure a lot of this development was formalising the prerequisites

How can you be so sure its not result of inefficiency?

black_knight 7 hours ago||
Oh, I am quite sure there are inefficiencies! Just that they are not entirely inefficiencies.

I have used Fable for formalisation and it will, unless I catch it, reprove results it previously had proven, inline, in other results.

dist-epoch 8 hours ago|||
Insert meme with 200 pages needed to prove 1+1=2 rigurously
thaumasiotes 6 hours ago||
>> Along the way, it wrote 13 million lines of Lean and proved 29,500 intermediate theorems.

> Pretty insane.

I don't think the count of "intermediate theorems" tells you anything. Here's something from an algebra textbook:

---

Let G be a group, let H be a subgroup [of G], and let N be a normal subgroup [of G]. Then

H ∨ N = HN = { hn | h ∈ H, n ∈ N }.

---

This says that the subgroup closure of H and N, the smallest subgroup that contains them both, is identical with the set consisting of all products of an element of H (on the left) and an element of N (on the right).

Part of the proof:

---

Suppose that x and y are elements of [the set of products hn]. Then x = h₁n₁ and y = h₂n₂, where hᵢ ∈ H and nᵢ ∈ N. Now h₂⁻¹n₁h₂ = n₃ ∈ N, as N is normal in G. So n₁h₂ = h₂n₃. In this case

    xy = (h₁n₁)(h₂n₂)
       = (h₁(n₁h₂)n₂)
       = (h₁(h₂n₃)n₂)
       = (h₁h₂)(n₃n₂),
which shows that xy has the correct form.

---

This will translate directly into lean. If you do it this way, you will prove at least 10 of what would be described in lean as 'intermediate theorems':

    ∃ h₁ ∈ H, ∃ n₁ ∈ N, x = h₁ * n₁
    ∃ h₂ ∈ H, ∃ n₂ ∈ N, y = h₂ * n₂
    h₂⁻¹ * n₁ * h₂ ∈ N
    n₁ * h₂ = h₂ * n₃
    x * y = (h₁ * n₁) * (h₂ * n₂)
    (h₁ * n₁) * (h₂ * n₂) = (h₁ * (n₁ * h₂) * n₂)
    (h₁ * (n₁ * h₂) * n₂) = (h₁ * (h₂ * n₃) * n₂)
    (h₁ * (h₂ * n₃) * n₂) = (h₁ * h₂) * (n₃ * n₂)
    h₁ * h₂ ∈ H
    n₃ * n₂ ∈ N
But none of these would be called an "intermediate theorem" in a paper proof.
davmre 9 hours ago||
> a team of agents completed the proof in a little under two weeks, consuming about six billion output tokens from a general-purpose internal research model roughly comparable to Claude Fable 5.1.

At $50/M output tokens, this would have cost on the order of $300k (plus a bit for input/prefill tokens) at API rates.

3192987 9 hours ago||
And human salaries for those who worked on the prover harness etc. which isn't just standard Fable.

It also uses Prove2Me, which uses a graph like previous automated theorem provers. A fact that LLM hawks have categorically denied here before, with opposition naturally flagged.

Now they have it in writing.

logicprog 5 hours ago||
> A fact that LLM hawks have categorically denied here before, with opposition naturally flagged.

Yeah, because before now there's been literally zero proof of an automated theorem prover scaffold around the LLMs being used, and big counterexamples and such being found, with raw chat logs available, where no such thing was used.

> Now they have it in writing.

Yeah, because now it's actually being done. They talk about it as a novel thing, because it is. You don't get to claim being "right all along" from this

tonyarkles 9 hours ago|||
But also achievable on a $150/mo (CAD) Max 5 subscription (I currently have 11.6B tokens in the last 30 days) according to /usage. It doesn’t break down input vs. output tokens as far as I can tell.
wolttam 9 hours ago|||
~10B tokens a month is pretty typical overall input/output usage from my own experience and other developer accounts I've seen
fspeech 8 hours ago||||
It's 6B output tokens, as stated by the blog post.
dist-epoch 8 hours ago|||
When writing software with Codex 95+% of tokens are cache, I would assume the same in your case (if you also used it for coding).
jensgk 9 hours ago|||
What would it cost to make a team of mathematicians do the same?
nearbuy 7 hours ago|||
The Kevin Buzzard post linked at the top says they budgeted £1M over 5 years for a smaller proof.
margorczynski 6 hours ago||||
Buzzard was given 1kk GBP and 5 years and his goal I think wasn't the full thing like Anthropic did. So much more cash and orders of magnitude more time. The proof is about 5x the whole Mathlib library which was developed over many years by dozens of people.
traes 5 hours ago|||
It's true that his goal was not the full thing, but it was also not merely a Lean verified proof. From the blog post linked in the toptext:

> The work certainly achieves some of the aims of the EPSRC project, and indeed it goes much further in terms of what is formalized (I only promised the EPSRC that I would reduce FLT to the 1980s; this repo proves the whole thing). But I also promised several other things to EPSRC: firstly, that I would be making pull requests to Lean’s mathematics library, adding fundamental objects from modern number theory; this is ongoing. And secondly, and perhaps most importantly, that I would be creating a dynamic document enabling humans to explore the modern proof.

jascination 5 hours ago|||
1kk? Why not say 1M?
dist-epoch 8 hours ago|||
More importantly how many years it would take.
somberi 10 hours ago||
On a tangential note, I highly recommend this book by Simon Singh. https://en.wikipedia.org/wiki/Fermat's_Last_Theorem_(book)
OroPla 8 hours ago||
Makes me feel old again. I read this over twenty years ago.
raverbashing 9 hours ago|||
100% It is a very insightful book
The_Blade 8 hours ago||
i read it from a library. this all just makes me feel cozy and nostalgic and uplifted and sad all at once
dominotw 8 hours ago||
one of the most popular books in india growing up. used to see it everywhere
KaiserPister 9 hours ago||
13M LoC, are we sure it didn't exploit any latent issues in the lean proof system?
kingstnap 9 hours ago||
The AI labs have out considerable effort in trying to find and patch lean exploits. They explicitly set agents and have them try to prove false.

> Daniel used OpenAI internal models to discover new soundness issues in the official Lean kernel and runtime

https://leodemoura.github.io/blog/2026-8-24-postmortem-for-t...

They found several bugs and they have patched them. Lots of work going into making sure lean is sound.

Jaxan 9 hours ago|||
This is a crucial point. There have been many bugs in Lean (and in other proof assistants for that matter). Proof assistants work well on human input, because it was created with a certain intent.

We simply don’t know what those 13M contain and whether it “makes sense” and doesn’t trigger Lean bugs. (There are “independent” lean verifiers, but historically they contained the same, or similar, bugs.)

Smaug123 9 hours ago|||
It is possible, although the post notes that the proof was also verified by the Comparator, which means any exploited bug has to also be present in that checker. Which is not unheard of, but is much less likely than merely an exploit in Lean 4.
jmusall 7 hours ago||
The comparator was only used to verify that the final statement indeed is a valid formalization of Fermat's Last Theorem, not that the proof leading up to it is correct.
jmusall 7 hours ago|||
That must have slipped through Kevin Buzzard's review, which is not entirely unplausible with 29500 theorems to verify...

I think they should spend another few billion tokens and let agents try to disprove any of those statements or links between them. Then I'd be a lot more convinced.

holmesworcester 9 hours ago|||
Nope! :(

Meaning, people and LLMs are finding 1=0 bugs in formal verification tools. I have no idea how likely this is in this case, though!

dist-epoch 8 hours ago|||
Anthropic surely is well aware. Most likely they asked separate agents multiple times to code review the proof and look for exploits.
andriy_koval 9 hours ago|||
Not just lean, but math foundation itself, I am not strong expert, but my understanding is that there is no fully recognized axiomatic foundation for modern math, all proposals could lead to some weird results.
deepsun 7 hours ago|||
There is, or rather are, fully recognized axiomatic foundations. You are free to choose one you like. Of the most popular ones is ZFC or ZF, but there are others (some lead to the same results some not). The main criteria for popularity is how useful it is. You can even make your own axiomatic where 2+2=5, but it would be useless.

You probably heard about Goedel Incompleteness -- the proof that the the axiomatic itself cannot be proven, like using ZFC to prove ZFC, but that's another topic.

It would be fun to play with this Anthropic/Lean formalization under different axiomatics.

SP3269 6 hours ago|||
Interestingly, in his ICM 2026 lecture, Terence Tao specifically mentioned that Lean is not based on ZFC.
andriy_koval 7 hours ago||||
> Goedel Incompleteness -- the proof that the the axiomatic itself cannot be proven, like using ZFC to prove ZFC, but that's another topic.

Godel theorems are for systems with basic arithmetic, zfc doesn't include arithmetic, thus are not object of Godel theorems.

Almondsetat 7 hours ago|||
If you start with "I'm not a strong expert" maybe you should stop continuing saying wrong stuff. What you just wrote is completely wrong.
andriy_koval 7 hours ago||
support your point with explanation or be ignored :-)
Almondsetat 7 hours ago||
Godel proved that any system expressive enough to produce an arithmetic is incomplete. He initially proved it for the peano axioms but then it got generalized. ZFC can produce an arithmetic. Also, before being arrogant and demanding explanations, you should give them first for your claims
andriy_koval 7 hours ago||
> expressive enough to produce

you understand that "expressive enough to produce" are not obvious elements of zfc, that's some average consumer napkin math and not strict formalization.

Almondsetat 7 hours ago||
why should they be obvious? they are derived and have been thoroughly proven.
andriy_koval 6 hours ago||
looks like we are in disagreement
Almondsetat 6 hours ago|||
A quick google search shows different proof assistants have been used to obtain the Peano axioms from ZFC, such as Isabelle/ZF and Metamath. I think you're just wrong
cdelsolar 55 minutes ago|||
What are you nerds fighting about please explain
andriy_koval 6 hours ago|||
you are entitled to have your opinion :-)
Almondsetat 6 hours ago||
and you are entitled to talk about maths while rejecting maths
andriy_koval 5 hours ago||
coming back to your argument about peano being obtained from zfc, you obviously can't prove that it happened using purely zfc, and not some logical framework embedded into those proof assistants.

I said I am not expert, I am indeed not expert in zfc and godel theorems, but I am an expert (phd) in actual formalization theory. Formal theory is very simple concept: its alphabet, set of formulas on top of this alphabet, and function which translates one formula to another.

ZFC can't "obtain" peano, simply because it doesn't have say * operator defined. You need to do something on top of it. Additionally, zfc itself looks like loosely formalized say in wikipedia (and I am not sure if there is any strict formalization anywhere), we take it as common sense that it can utilize some simple logical rules (e.g. modus ponens), but what are exactly rules, which could be separate topic of research, this detail is skipped.

jibal 5 hours ago|||
That increases the likelihood that they are right.

> support your point with explanation or be ignored :-)

Anyone who says "Godel theorems are for systems with basic arithmetic, zfc doesn't include arithmetic, thus are not object of Godel theorems" and isn't joking warrants a permanent ignore.

https://math.stackexchange.com/questions/1366560/why-does-g%...

https://math.stackexchange.com/questions/1090437/how-to-prov...

andriy_koval 4 hours ago||
imo, those two links are example of rather low quality weird math discussions, but you can keep your opinion
IsTom 7 hours ago||||
> Moreover, Robinson arithmetic can be interpreted in general set theory, a small fragment of ZFC.

https://en.wikipedia.org/wiki/Zermelo%E2%80%93Fraenkel_set_t...

andriy_koval 6 hours ago||
> interpreted

its hard to me to tell what this means formally(as I said I am not expert). There is no "interpret" operator in zfc. I believe what it says if you add some robinson axioms + some logical rules on top of zfc, you can carry your results.

drdeca 4 hours ago||||
ZFC has greater consistency strength than PA.

If we take ZFC (or some other set theory) as our meta theory, we can easily see that the axiom of infinity (of ZFC) gives a set of natural numbers (using the von Neumann encoding), which, when equipped with the successor function, is a model of the natural numbers.

andriy_koval 4 hours ago||
zfc doesn't have functions, so you are building something new on top of it.

Also, I am not sure successor function is enough for PA.

jibal 5 hours ago|||
That is wildly wrong.
deterministic 3 hours ago|||
Lean is based on Type Theory not ZFC.
ajs1998 8 hours ago|||
ZFC is probably the biggest foundation, and only Choice is apparently controversial. The results aren't that weird, they're just different and occasionally more useful than using !Choice.
lanstin 6 hours ago|||
Reply to sibling - lean4 doesn't rest on ZF or ZFC. https://lean-lang.org/theorem_proving_in_lean4/Axioms-and-Co... However I believe an equivalence of power has been shown between the two.
mietek 5 hours ago||
Roughly, yes. See B. Werner (1997) “Sets in types, types in sets”.
andriy_koval 7 hours ago|||
do we know if claude's formalization is built on top of zfc and not zfc+extra?

zfc itself is not sufficient, you need some layers of extra concepts formalization to fit specific problem domain(e.g. zfc doesn't define even basic arithmetics), which also could have potential issues.

drdeca 4 hours ago||
Within a given inference system, one can define concepts. This doesn’t add any axioms. It is, in essence, just a way to abbreviate things.
andriy_koval 4 hours ago||
ok, you now added some unknown inference system in addition to zfc
tossandthrow 9 hours ago||
The proof system is relatively easy to verify.

I am not entirely sure about lean, but the core algebras for systems like lean are in the 100s of lines of code.

You can likely convince yourself it is correct in a weekend or less - especially with an Ai to help you understand it.

Jaxan 9 hours ago|||
Most systems i have seen are way beyond a 100 lines. And their GitHub repository contain many issues, often soundness bugs. (Granted, many get fixed very fast.)
tossandthrow 9 hours ago||
You need to understand the concept of the core algebra and 100s (with the s), then I think you'd be better positioned to understand my comment.

And granted, I don't know the exact details about Lean. It might be that they don't have an incredibly simple core - as has elsewise been the norm.

Jblx2 9 hours ago|||
the Nanoda type-checker for Lean is ~5,000 lines of Rust:

https://leodemoura.github.io/blog/2026-3-16-who-watches-the-...

...and for those who are looking to roll-their-own:

https://ammkrn.github.io/type_checking_in_lean4/title_page.h...

...and some thoughts on putting stuff in the kernel:

https://lawrencecpaulson.github.io/2026/07/30/Collatz.html

Vakaiser 10 hours ago|
We'll increasingly observe announcements of this kind as AI tooling scales. As impressive as agentic coding is, it pales in comparison to the value proposition of medical, mathematical, and physics research.

I optimistically expect to witness the advent of a global 'panacea' in my lifetime thanks to AI's efforts. Cost effective large scale genetic engineering, a cure for every disease, potentially even a cure for aging.

The future is both beautiful and terrifying.

tinfoilhatter 9 hours ago||
It's wild to think that aging is something that needs to be cured, and isn't a part of the natural human experience. I'm so tired of people trying to play the role of God, as well as people that cheer these sorts of things on.
sebzim4500 9 hours ago|||
I hope you keep these horrible thoughts to yourself if you ever walk through a paediatric hospital
BeetleB 8 hours ago|||
What does a pediatric hospital have to do with aging...?
tinfoilhatter 9 hours ago|||
Thinking that aging is a natural part of the human experience is a horrible thought? Please explain...
CaptWorld 8 hours ago||
Childhood deaths and fatal diseases are also natural parts but that doesn't make them desirable to everyday humans. But with new advances, people might have the ability to CHOOSE in future.
nutjob2 9 hours ago||||
Most people want more life. For most people it's also the most terrifying part of "the natural human experience".

If you're happy to die, why be bothered by others' trying to live longer? You won't be around. And assuming people can finance it themselves, is it really a problem for society?

neerajsi 4 hours ago|||
Yes, I think it's a problem for society. Death in old age frees up social, economic, physical, and political resources for the next generation of the living. If the rich and powerful escape death, because after all they will the people with the resources to do so, society will lose the adaptability and natural change that comes from new generations taking the reins.
slowin 7 hours ago||||
There are cultures where dying isn't feared like it is in Christian based societies. It's considered a natural progression and part of nature.

I'd also say people may want more life for themselves, but what does that mean at scale, forever?

dash2 5 hours ago|||
Which cultures are those?
mietek 5 hours ago|||
There is a lot of space in, you know, space, for people who live long enough to travel.
tinfoilhatter 9 hours ago||||
I assume you mean that dying is the most terrifying pat of the natural human experience. Also, I'm not sure why you infer that me thinking death is a natural part of life, means that I'm happy or eager to die.

There are many reasons that people living forever would be a problem for society, the most obvious being an ever-increasing population.

s7atic 1 hour ago|||
Fertility rates are below replacement, which means that population sizes are convergent. A decreasing population is a more likely future scenario for many western countries, even if human lifespan was indefinite.
defrost 1 hour ago|||
Fertility rates are currently below replacement, there's no good reason to imagine they will always be that way, particularly after global population numbers peak and fall to, say, half or a quarter of their peak.
fxd 1 hour ago|||
[dead]
dataking 7 hours ago|||
> the most obvious being an ever-increasing population

https://en.wikipedia.org/wiki/Thomas_Robert_Malthus

CyLith 7 hours ago|||
Because living longer is a huge drain on resources that could be better spent on other things. End of life care is expensive and rarely results in a "good" life for the the life being extended.
MattPalmer1086 7 hours ago|||
The way we will actually all live substantially longer is by health extension, not by extending life while suffering from decrepitude.
CaptWorld 7 hours ago|||
So I think curing means basically opt in death or something like that. Right now extended life is bad because the person isn't in his prime but curing aging is basically gonna keep him in his prime. This might be what they meant.
tintor 7 hours ago||||
Most of the kids in history died before age 5.

Child mortality is very low now compared to the past, thanks to the modern medicine and technology.

I am glad humanity "played God", and reduced this unnecessary child suffering.

bigyabai 6 hours ago||
They didn't die of senescence.
9763268964 4 hours ago|||
[dead]
rowanG077 10 hours ago||
I dont think it will happen. AI models are kneecapped. Only a tiny tiny tiny fraction of people are on the list of even being able to use these tools for such things.
sebzim4500 9 hours ago||
Even in a world where these models are heavily restricted, surely the likes of cancer researchers will be among those who have access
More comments...