Re:Yes, 17M lines of Lean is a lot
by smy20011 on Monday November 23, 2026 @01:36AM
(#50608225)
I wounder there are some automatic way to extract structure from 17M lines of code, like ask Claude to use existing libraries and remove redundancy. We could find some common logic inside of this proof and create new math theories from it.
Re:Yes, 17M lines of Lean is a lot
by michaelchisari on Monday November 23, 2026 @01:54AM
(#50608351)
That sounds like an extraordinary amount of work. Which is fine, I'd love to see mathematicians employed.
But the promise of AI was to fire all mathematicians not hire more.
A hiring spree is what I want to see across industry and research in response to AI. It's an incredible tool for experts which means we need to hire (and educate) more experts.
But the counterpoint imagining otherwise has billions of dollars in marketing and the press hangs on their every word.
Anthropic did not IPO on the promise that their customers would increase labor costs.
Re:Yes, 17M lines of Lean is a lot
by staticshock on Monday November 23, 2026 @02:16AM
(#50608486)
> But the promise of AI was to fire all mathematicians not hire more
What a truly villainous take. Is "solving cancer" a call to fire all biologists?
The promise of AI is to give humans power tools and dramatically raise the ceiling on our individual and collective potential. Anthropic IPO'd on the promise that much of current labor can be displaced, yielding to new kinds of labor as we find ways to actualize that potential.
Re:Yes, 17M lines of Lean is a lot
by michaelchisari on Monday November 23, 2026 @02:26AM
(#50608548)
I agree, it is villainous and it's not my position. But it's unfortunately been the refrain of the frontier AI companies and tech leaders since the beginning.
It's running into reality as of late but it was the promise that markets priced it on.
Re:Yes, 17M lines of Lean is a lot
by pastel8739 on Monday November 23, 2026 @03:07AM
(#50608798)
> Anthropic IPO'd on the promise that much of current labor can be displaced, yielding to new kinds of labor as we find ways to actualize that potential.
Source for the second part? I’m not so sure that new labor types executed by humans are a large part of Anthropic’s vision for the future.
Re:Yes, 17M lines of Lean is a lot
by kakacik on Monday November 23, 2026 @07:46AM
(#50610867)
No its a sociopathic take, when evaluating sociopaths running the show. And then other sociopaths (ie CEOs) listen to this, pour gigatons of money into it and expect promised massive cost cuttings.
The only reason valuation is so high is due to absolutely massive expected firing across many, especially white collar industries across the globe, not some advances in math. Those are great but valued in money to almost 0, just like say Mathematica or MatLab creators didn't get to trillions because of their products, did they.
Such naivety is nice for discussion and warm fuzzy feeling but you will miss reality of future by lightyears with such expectations.
And last point everybody in llm camp conveniently ignores - what are those new jobs for tens to hundreds of millions of fired folks? I am still waiting for a single example (no math proofing ain't gonna be one).
Re:Yes, 17M lines of Lean is a lot
by bemtevi on Monday November 23, 2026 @08:37AM
(#50611343)
> The promise of AI is to give humans power tools and dramatically raise the ceiling on our individual and collective potential.
It's hard to believe that anyone could believe this. The true promise of AI is to give humans power tools so we could make the elite truly independent of the rest of us so that the rest of us have no bargaining power in getting a fair slice of life. We do gain more potential but to what end? I haven't seen life getting much better in the past 10 years of tech.
Re:Yes, 17M lines of Lean is a lot
by alansaber on Monday November 23, 2026 @07:18AM
(#50610665)
I never understood this framing. Just because the absolutely most expedient way to achieve a goal is cheaper than the usual approach, that means we never take the usual approach ever again?
Re:Yes, 17M lines of Lean is a lot
by brian-armstrong on Monday November 23, 2026 @05:30AM
(#50609877)
You're anthropomorphizing LLMs. They do not "try" to do anything. They are simply a roulette wheel that generates natural language tokens, which you have confused for intelligence. A common mistake.
Re:Yes, 17M lines of Lean is a lot
by laser on Monday November 23, 2026 @01:53AM
(#50608332)
If you were to print it out it’s hundreds of thousands of pages or hundreds of thick textbooks. If Masullo’s proof works the fact it’s hundreds of times less verbose will really capture the current state of affairs more generally with these models. They can get the job done but have yet to fully understand elegance.
Re:Yes, 17M lines of Lean is a lot
by paganel on Monday November 23, 2026 @02:24AM
(#50608534)
> llms edit code and proofs and it's verifiably correct then do we truly care?
We also tried to do that with XML at the beginning, I'd say 2002-2003-ish, as in the discourse was pretty similar: "doesn't matter how verbose XML is, it's supposed to be only ingested by computer code". And that's how we got to REST a few years later.
Re:Yes, 17M lines of Lean is a lot
by GrantMoyer on Monday November 23, 2026 @08:27AM
(#50611255)
LLMs are not perfect, like humans, they write bugs all the time. An intelligence that makes no mistakes is probably outright impossible.
Even formal verification systems can only verify things that have been translated into a particular format. They can't verify the translation itself.
So bugs cannot be completely avoided, but they can be made less likely. For humans, we've found that complex representations of systems are a lot easier to write bugs for than simple representations of those systems. This appears to hold true for LLMs as well, and I'd be surprised if it weren't a general property of intelligent systems.
Re:Yes, 17M lines of Lean is a lot
by GrollingGrakbor on Monday November 23, 2026 @02:01AM
(#50608393)
Doesn't really have anything to do with elegance, the models are just really bad at information compression. You see it when writing code too, they introduce duplicates all over the place.
Re:Yes, 17M lines of Lean is a lot
by grey-area on Monday November 23, 2026 @03:10AM
(#50608819)
If something is elegant, particularly in mathematics or science, it is succinct and yet still true - the minimum required to prove a given hypothesis. In this context it doesn’t mean using pretty words - the simplicity is the aesthetics.
I don’t think anyone can argue this lean proof is elegant.
Re:Yes, 17M lines of Lean is a lot
by exhaze on Monday November 23, 2026 @08:39AM
(#50611364)
Simplicity does not always entail aesthetics IMO since aesthetics are frame-relative.
Take Noether’s Theorem - incredibly simple in its minimality and consequential power wrt being essential to so much of modern physics, yet its elegance is a matter of debate because only someone who understands the context for the theorem is able to appreciate the elegance.
Re:Yes, 17M lines of Lean is a lot
by grey-area on Monday November 23, 2026 @04:09PM
(#50619338)
As your second paragraph notes, simplicity is also frame relative.
Not everyone will be able to appreciate all elegance, that’s normal surely? I’d want to defer to people who understand the context any judgement of elegance, wouldn’t you?
Re:Yes, 17M lines of Lean is a lot
by sleepyams on Monday November 23, 2026 @11:34AM
(#50614694)
I don't know why you're getting downvotes, compression/simplicity is definitely only part of story with "elegance", especially in math. Yes, simplicity _can_ be elegant, but so can something that's complex. In my opinion, it's more over about the overall composition itself, and the juxtaposition of simplicity and complexity, that really makes something elegant.
Re:Yes, 17M lines of Lean is a lot
by remus on Monday November 23, 2026 @12:49PM
(#50616028)
> ...the models are just really bad at information compression.
I think there is a little more to it than this, in that lean proofs are necessarily much more rigorous than a typical human proof. A human proof typically assumes a lot from the reader (which is partly why maths can feel pretty impenetrable), whereas a lean proof spells out every detail.
Re:Yes, 17M lines of Lean is a lot
by bmicraft on Monday November 23, 2026 @01:30PM
(#50616660)
> You see it when writing code too, they introduce duplicates all over the place.
I've found this is usually because they don't have the other part they're duplicating fully in context. Telling it to read a couple relevant files fully helps - that often makes it come up with more elegant solutions too.
Re:Yes, 17M lines of Lean is a lot
by jdiff on Monday November 23, 2026 @03:35PM
(#50618862)
Only usually. I had a current frontier model write a new Foo and asked it to attach them to my bar. I got
this.FooA = new Foo();
this.FooB = new Foo();
this.Foos = [this.FooA, this.FooB];
this.Foo = this.Foos;
These were entirely new objects with no existing instances of this pattern in this codebase. There were no references at all to the duplicate properties.
Re:Yes, 17M lines of Lean is a lot
by dead_hn_theory on Monday November 23, 2026 @02:31AM
(#50608570)
An unspoken aspect here is that Masullo is human and therefore he knows and he doesn't know. He knows that he doesn't know; self-awareness and all that human nonsense. The LLMs output an absurd amount of "logically" consistent things without knowing anything, nor without not knowing. This is not a matter of pedantry or puffery, training or taste. But there is a ridiculous amount of compute thrown at this problem to be sure. Even if Masullo's approach does not end up working he's taking risks and trying out something new. I'd hazard to say Masullo learned more from this than Alpoge has (did he even read the output?), but that's a thread for another discussion.
Re:Yes, 17M lines of Lean is a lot
by siddboots on Monday November 23, 2026 @02:46AM
(#50608649)
Isn’t the big difference that the Lean proof contains the detailed theory of dozens of intricate and hyper specific branches of established maths that Masullo doesn’t need to restate?
Re:Yes, 17M lines of Lean is a lot
by williamdclt on Monday November 23, 2026 @06:03AM
(#50610106)
> it could just as well could be literal junk and hallucinated trash
No it can't. That's the whole point of Lean. The kernel checks every step so if it accepts the proof, then this proof is valid (short of a kernel bug, unlikely here as tested on multiple kernels).
Re:Yes, 17M lines of Lean is a lot
by williamdclt on Monday November 23, 2026 @06:56AM
(#50610508)
I doubt that's the sort of thing the commenter was pointing to with "literal junk" and "hallucinated trash". Seemed more like "the proof might be wrong", which it (almost) can't.
If we agree that the proof can't really be wrong, even if it was 99% "1+1=2" and 1% actually useful code (or literally _any_ other ratio), the whole thing would still be incredibly valuable and calling it "junk" or "trash" would be dumbfounding
Re:Yes, 17M lines of Lean is a lot
by RugnirViking on Monday November 23, 2026 @09:34AM
(#50612335)
do you have much familiarity with c++? you know how you can override operators, or keywords?
you can do that in lean too. A single redefinition of "sum" or "+" or "&" or whatever that was supposed to help with some small branch off in a single frond of those millions of lines of code, and suddenly entire parts of your proof work with different axioms to those we usually accept, like that a number+1-1 =that number
and these are the obvious ones. There can be massive components that you establish, reestablish, reestablish again etc all with slight differences in formulation. LLMs are great at sowing confusion like this in large codebases, they can't find something so they assume it doesn't exist and end up making the 200th copy. A subtle error in the formulation or use of one of these and you prove something true but meaningless
This all being said, I don't have a reasonable way to establish how likely it is that the proof is wrong. I'm skeptical of anyone talking with confidence one way or the other. I just know that frontier LLMs in large codebases consistently produce evil/stupid code at random and unpredictable intervals. I'm almost certain some has slipped its way past me, despite how hard I look at new code these days.
Re:Yes, 17M lines of Lean is a lot
by thelaxiankey on Monday November 23, 2026 @12:55PM
(#50616114)
my understanding is that is not how the subset of lean used to do this proof was used. happy to be corrected, ideally by a source that has some authority
Re:Yes, 17M lines of Lean is a lot
by williamdclt on Monday November 23, 2026 @12:57PM
(#50616150)
Sorry but none of that is relevant.
- Do we trust the kernel? To a high confidence level yes because tested on multiple kernels
- Do we trust the axioms? If it's only the ones from the standard lib then yes we have high confidence. If the LLM added random axioms then no we wouldn't trust it... but we'd have heard about it by now, it's literally the first thing anyone would check I guess?
- Do we trust the statement? To a high confidence level yes for this particular case
With these 3 things (and no `sorry`), it does not matter what the LLM did to get the statement to be proven. The proof can be the messiest code ever, it can redefine the same things a million times, redefine all operators a thousand times in nonsensical ways, have weird local notation, be the worst spaghetti in the world, doesn't change anything: it won't make false things provable and the kernel guarantees that the program is a correct proof of the statement. Again, that's the whole point of Lean.
"Prove something true but meaningless" only applies to the statement. A bad intermediate lemma can't infect the final result.
Re:Yes, 17M lines of Lean is a lot
by danlitt on Monday November 23, 2026 @12:36PM
(#50615800)
> Formal methods for software are a pseudoscience that has never been demonstrated to work.
Sure, but formal methods for mathematics are very much a science and are easy to implement. You categorically do not have to check the code for a Lean proof. That's the whole point.
Re:Yes, 17M lines of Lean is a lot
by sorrywhat on Monday November 23, 2026 @02:49AM
(#50608675)
Computers can't even understand natural language
Sure they understand natural language, but can't do basic math
<snip 10 lines>
Sure, they can solve a Millennium problem, but they can't solve Riemann
NEW: Sure, they can solve Riemann, but they can't understand elegance I guess?
Re:Yes, 17M lines of Lean is a lot
by sureglymop on Monday November 23, 2026 @05:51AM
(#50610021)
With AI, I really hate that it has to be an all or nothing for-or-against thing, because there are nuances and things change all the time.
As a new technology actively develops and evolves, it's okay to be wrong if one then learns and readjusts their position actively.
For example, I would claim that while LLMs are now pretty good at writing and editing code, they're absolutely terrible at writing prose. I would always prefer human writing over AI generated writing right now. It is a night and day difference.
But, that might change very soon and when it does I'm perfectly willing to readjust my opinion there.
Re:Yes, 17M lines of Lean is a lot
by markasoftware on Monday November 23, 2026 @02:52AM
(#50608699)
the anthropic proof for Fermat's last theorem is 27m lines, more than the Riemann one, even though it's based on Wiles' only 129 page proof. This would suggest that an informal version of the anthropic proof for Riemann could be even shorter than 129 pages, which is vastly shorter than Masullo's.
Re:Yes, 17M lines of Lean is a lot
by throwaway198846 on Monday November 23, 2026 @03:04AM
(#50608781)
Not necessarily it depends on how much existing math you can refactor out by referencing it. Also it should be noted Anthropic proof is based of simplification of Wiles' og proof.
Re:Yes, 17M lines of Lean is a lot
by chorsestudios on Monday November 23, 2026 @02:02AM
(#50608398)
Does the raw count of lean code lines shed any light on how impressive Andrew Wiles' proof of Fermat's Last Theorem was? The proof itself was 129 pages but I'm not sure how much perspective that alone provides regarding the difficulty of the problem.
Re:Yes, 17M lines of Lean is a lot
by steinwinde on Monday November 23, 2026 @05:53AM
(#50610040)
You seem to share the belief that the length of the proof is an indication of how impressive it is. If so, would we not need to say that it sheds some limited light on it? Because you can not decrease the line count of any Lean proof at will by removing/shrinking axioms it builds on by their Lean proofs?!
Re:Yes, 17M lines of Lean is a lot
by adgjlsfhk1 on Monday November 23, 2026 @02:57AM
(#50608738)
yeah 6m imports were added (previously the entire mathlib was included a ton of times). This is a loc vs perf change. iiuc, this makes the CI 50% faster
Re:Yes, 17M lines of Lean is a lot
by Incipient on Monday November 23, 2026 @02:24AM
(#50608535)
From my (ultra limited) understanding of lean, is that it all 'compiles' down to base primitives that can be trivially asserted. So regardless of the length and complexity, if the initial statements (12 lines or so?) can be expanded/compiled down to primitives we can irrefutably assert as true, then the length doesn't really matter to the conclusion?
Granted we may never understand WHY it's proven (and that's another whole kettle of worms) but in terms of relying on the knowledge that all these primes lie on R(-1/2) (or whatever exactly it was) we're in the clear to carry on?
Re:Yes, 17M lines of Lean is a lot
by pastel8739 on Monday November 23, 2026 @03:05AM
(#50608785)
Yes, but the understanding that I’ve gotten over the last couple of days is that we were _already_ continuing with math research as if this problem was true. Most mathematicians believed with high certainty that it would turn out to be true sooner or later.
So it may be the case that an unintelligible proof to RH doesn’t change all that much, except redirect a lot of attention towards understanding it (which is what it sounds like the effort to shrink it is)
Re:Yes, 17M lines of Lean is a lot
by Incipient on Monday November 23, 2026 @03:16AM
(#50608864)
Yeah that's well outside of my wheelhouse. The only thing I could figure is that there can/could be additional work that is now materially different knowing that RH is a FACT (correct under all circumstances) rather than 'correct in most cases'.
Eg. Any additional lean proofs using RH could stop at 'relying on the RH proof' and not have to compute it the whole way down for every attempt?
Re:Yes, 17M lines of Lean is a lot
by tmnvdb on Monday November 23, 2026 @06:09AM
(#50610147)
You will have to believe the mathematicians when they tell you that a proof of RH is indeed as useful and interesting as anything in Mathematics.
What is new here: new techniques, understandings and results that will come out of the proof itself, will be discovered _after_ the proof has been formally verified.
The formal proof created by AI is a bit like an old book of ancient wisdom, which we are just starting to decipher.
Re:Yes, 17M lines of Lean is a lot
by dgacmu on Monday November 23, 2026 @08:06AM
(#50611058)
But the results were still conditional, and it was useful to have results that didn't depend on the (formerly unproven) RH.
Example: Deterministic primality testing. Miller's test gave us an ln(n)^4 algorithm for deterministic primality testing decades ago [1]. But it depended on RH. The later AKS work found a way to avoid the RH dependency, giving an ln(n)^6 deterministic algorithm, and was the first to show that PRIMES \in P. [2]
With RH having been proven, Miller's test is back to being the fastest deterministic test. (ECCP is faster in practice for large primes but its running time isn't fully known.) This isn't a terribly practical result because the range of primes for which you'd use miller is a bit narrow, but it's quite cool to me to have the theoretical best also be something you can implement -- AKS is impractical and its contribution was showing you could solve the problem in polynomial time without depending on unproven conjectures.
Re:Yes, 17M lines of Lean is a lot
by teamonkey on Monday November 23, 2026 @03:11AM
(#50608824)
Two reasons I can think of.
1) It shows a limitation about LLMs, that they can’t seem to produce a concise proof in the same way that humans can.
2) A mathematical proof - and especially one related to physics - should produce insight and implication. It’s fine that RH or N-S is proven, but what does that actually mean? What advances can come from that? This is hard to discern from a massive Lean proof.
Re:Yes, 17M lines of Lean is a lot
by srdjanr on Monday November 23, 2026 @03:59AM
(#50609136)
It's too early to say that. There are two possibilities:
1) The shortest possible proof is millions of lines. In this case, math has the "limitation" and not LLMs, and human insight was always out of reach.
2) Proof will be significantly shortened, or a new short one will be found. So LLMs still have the chance to show they're able to write short proofs, and we have the chance to gain insight.
Re:Yes, 17M lines of Lean is a lot
by logicchains on Monday November 23, 2026 @05:49AM
(#50610000)
>1) It shows a limitation about LLMs, that they can’t seem to produce a concise proof in the same way that humans can.
Anthropic used hundreds of thousands of agents. If you had that many agents write a web server, the code would be a steaming pile of crap, even if it passed all tests. While if you had a single LLM write a web server, with a decent prompt and harness, the code would be nowhere near as messy, it'd just take much longer.
Re:Yes, 17M lines of Lean is a lot
by xienze on Monday November 23, 2026 @06:04AM
(#50610111)
But you CAN have an agent (or agents) do refinement passes over the finished product. Either that didn't occur to Anthropic before chucking this over the wall (possible), or 17M lines IS the result of said refinement.
Re:Yes, 17M lines of Lean is a lot
by teamonkey on Monday November 23, 2026 @09:56AM
(#50612823)
For sure. AI companies have burned millions on these proofs. No need for them to continue burning money to try to make something human readable, that’s not their goal.
Re:Yes, 17M lines of Lean is a lot
by kyykky on Monday November 23, 2026 @05:09AM
(#50609709)
I tried Lean for the first time yesterday (I have PhD in math) together with Claude. I quickly learned that reading the theorem statement requires you to trust into whatever definitions you are using to write it down. I accidentally hid some extra assumptions into the definitions by not instructing Claude clearly enough.
However, I believe in in Alpöge case the statement RiemannHypothesis is part of the ”standard library” Mathlib. I think that if you believe that the statement is written correctly there, then there is no question about the proof’s validity. I cannot understand Lean so well that I could check that part.
Re:Yes, 17M lines of Lean is a lot
by throwaway198846 on Monday November 23, 2026 @03:00AM
(#50608759)
Post is missing AxiomMath's proof of classification of finite simple with 43 million lines. Also anthropic when they published the proof said they wrote 13 million lines but here it is 27, why is there a discrepancy?
Re:Yes, 17M lines of Lean is a lot
by CodeCompost on Monday November 23, 2026 @03:03AM
(#50608779)
I'm an ignorant human but can anybody explain to me how LEAN is accepted as proof? I'm not trying to undermine it or knock it down but everybody seems to accept a LEAN proof as fact. Why is that?
Re:Yes, 17M lines of Lean is a lot
by pastel8739 on Monday November 23, 2026 @03:09AM
(#50608811)
I mean, this is the entire point of lean. It’s designed to allow expressing proofs in a way that can be machine checked, ensuring there are no holes in the logic. People are convinced that it does so (and it has been so proven in other tools, I believe).
Re:Yes, 17M lines of Lean is a lot
by oulipo on Monday November 23, 2026 @04:18AM
(#50609280)
Lean is a computer language and proof system that codifies what a proof is: you give it a series of axioms and of logic rules, and then it will tell you if a theorem and a proof abides by those rules or not.
So then we can formalize our classical logic and number systems in Lean (the systems that are used by most mathematicians) and present it with the theorem and its proof, and IF THERE IS NO BUG in the (relatively simple) Lean core, it should mean that we have a high degree of confidence the proof is true (in practice: we almost know the proof is true, except if the system is "inconsistent", but that would have much broader implications on mathematics)
Re:Yes, 17M lines of Lean is a lot
by quietbritishjim on Monday November 23, 2026 @05:08AM
(#50609705)
Lean has a bunch of rules about what a proof can deduce from earlier statement.
For example if you have already managed to prove the statement P → Q ("P implies Q" i.e. whenever P is true we then also know that Q is true), and then you manage to prove the statement P, then you can use those two statements to prove Q. Lean knows that P → Q plus P proves Q ("modus ponens").
As another example, if you have P or Q, and you prove P is false, then Q follows. (e.g. x is odd or even, then you prove it's not odd, therefore it's even.)
To accept the proof you don't need to look at all the millions of lines of proof. You just need to accept three things:
* Lean's inference rules (like the one above)
* The axioms (e.g. definitions of numbers)
* The statement of the theorem in Lean symbols
These are all hugely shorter than the theorem's proof.
Re:Yes, 17M lines of Lean is a lot
by xienze on Monday November 23, 2026 @06:09AM
(#50610144)
But how do you know Lean itself is entirely bug free, and/or a 17M line monstrosity doesn't produce some latent bug?
I understand that you can break a big problem down into many smaller ones that are easy to prove, but I still get the sense that there's a lot of well, religious faith involved in the combination of Lean itself and these massive proofs.
Re:Yes, 17M lines of Lean is a lot
by Leherenn on Monday November 23, 2026 @06:32AM
(#50610324)
You don't, but it has been verified using multiple independently written implementations. So maybe they all share the same defect that invalidates the proof, but it's believed to be rather unlikely.
Re:Yes, 17M lines of Lean is a lot
by dmos62 on Monday November 23, 2026 @03:56AM
(#50609118)
What are peoples' takes on why LLMs struggle to write things in a human-readable way? I've watched Astra and the like write PR descriptions that are middle-school level: as if it struggles to distinguish what it knows (having read the code, having done the debugging) and what someone who hasn't read the code and hasn't participated in the debugging (his target audience) knows. He'll make references to parts of the solution, or of the problem being solved, without contextualizing it, making the references useless.
Terence Tao's take was that LLMs don't understand what is trivial (in a proof, for example) and what is interesting and novel: it gives everything equal weight, or, in Tao's paraphrased words, the LLM will talk at length about something trivial and then brush something novel off in a single sentence.
Re:Yes, 17M lines of Lean is a lot
by RugnirViking on Monday November 23, 2026 @04:14AM
(#50609243)
imo its because of how they are training - they increasingly are learning one way or another that ALL of their output is being read, because in their training environment their are evaluated by other LLMs
so referring casually to some function name or property from a random file in the code or some random term thats only defined on one line of a random .md file it wrote or found on some confluence page is fine because the evaluating agent can go read it in ms and can hold 200k tokens in context. They aren't taught an intuitive grasp of what a human "context window" looks like, or the importance of clear writing for human comprehension
There is also the separate problem of deterministic scripts in training, which then reward the longest possible output, because if you dont know what the script is looking for you might as well throw as much as possible at the wall to have the highest chance of hitting what it wants
Re:Yes, 17M lines of Lean is a lot
by rhdunn on Monday November 23, 2026 @05:12AM
(#50609739)
Part of the issue will be the training and the reward function. It is difficult to reward for human readability, simplicity, etc.
You could use various tools and checks like:
- linters and other code style tools;
- line length;
- cyclometricity, etc.
- dead code checks (unused variables, etc.);
- lines of code/diff size.
Those don't check things like whether the code changes are minimal/don't make unrelated changes/etc.
There's also the issue of maintaining consistency. I.e. detecting the code style of the project/code and using that (quoting, etc.). You also find that in prose, such as with British vs American dialogue.
I think the only way to make the style consistent is to have some sort of "reasoning context" that can learn the overall style and apply/use that across all tokens. That way, the model wouldn't have to add it to the context, and it wouldn't suffer from things like the excluded middle and dropping out of the context.
Re:Yes, 17M lines of Lean is a lot
by stingraycharles on Monday November 23, 2026 @05:20AM
(#50609803)
Surprisingly, getting an LLM to write a custom linter that checks for a lot of common pitfalls based on string pattern search, paragraph length, sentence length, etc etc is actually quite effective as a way to force your LLM to behave.
It’s what I ended up doing, and it works pretty well.
Re:Yes, 17M lines of Lean is a lot
by jadyoyster on Monday November 23, 2026 @05:26AM
(#50609846)
My experience as well. The current LLMs are unable to write or code-comment like a human as primary output, but if you ask "characterize human vs LLM writing, and fix it up" they are often able to substantially correct.
Re:Yes, 17M lines of Lean is a lot
by spockz on Monday November 23, 2026 @08:18AM
(#50611179)
Who says anything about regex? The linting (in the broad sense of the word) can look at which packages are changed. How many interfaces are affected by the change. Of course, that is not a metric of relatedness yet. We need more research in this area what it means to have “good” code if we ever want to rise from programming being an art.
Re:Yes, 17M lines of Lean is a lot
by spockz on Monday November 23, 2026 @08:16AM
(#50611149)
Honestly, I think it isn’t surprising at all. The tools that helped us mere mortals to stay consistent also help staying LLMs consistent. By having deterministic rules to provide the guardrails we can constrain the probabilistic mess that are LLMs.
It is just that as a human over time with a project we ingrain some of the rules and do it right the first time. Some of us can even type up a whole lot of code without letter the compiler run once in the interim and then make the compilation pass at the first attempt.
We need those tools. LLMs need them more and can go way faster because of them.
Re:Yes, 17M lines of Lean is a lot
by mdular on Monday November 23, 2026 @09:04AM
(#50611618)
That sounds interesting. I'm making it write "walkthroughs" for me to follow along and exercise the functionality. Those were completely unusable, so are now getting linted on actually running my terminal (zsh), not containing dead links, etc - easy stuff. What needed constant hammering was making sure that the instructions are actually useful, and aren't accidentally burying some major required prep work in prose. Instructions are now making it write entry and exit criteria per instructions block.
But: the instructions rely on inference. Since the LLM can't truly judge what is important for me to experience myself, I rely on it actually being able to interpret the learnings and good/bad examples - classic prompt engineering tacticts.
I like the idea of using linters to reinforce this with something deterministic. Can you give me some example rules you're linting for?
Re:Yes, 17M lines of Lean is a lot
by chriswarbo on Monday November 23, 2026 @05:37AM
(#50609918)
> If you've ever read how they write to each other they constantly repeat the same warnings to each other that they would have followed anyway
I find this when asking LLMs for a "skills retrospective", to see if there are any notes worth adding to skills/system prompts/etc. that would avoid repeated mistakes. Having a list of things it struggled with is useful, but the suggested notes are generally useless: either highly-specific things that would have only been useful for that one task; or highly verbose descriptions of things that it figured out quite easily, and hence aren't worth padding everyone's context with.
Re:Yes, 17M lines of Lean is a lot
by xnorswap on Monday November 23, 2026 @05:45AM
(#50609974)
That describes well a common "failure" where it starts referring to things that technically wrote down a while back but you never read, so it'll produce a question like:
> "Proceed with P2 to fix H7 and H8 defects?"
And you're like, hold up, what the hell is H7?
And it turns out it was a whole taxonomy of errors it defined in a nested paragraph halfway through a response 3 turns ago and it just assumed you're digesting absolutely everything it is outputting.
Re:Yes, 17M lines of Lean is a lot
by taneq on Monday November 23, 2026 @06:14AM
(#50610188)
It’d be truly ironic (if not unexpected) to go from “stupid chatbot with its limited context keeps forgetting what I told it” to “stupid human with their limited working memory keeps forgetting what I told them” is such a short amount of time.
Re:Yes, 17M lines of Lean is a lot
by kd0amg on Monday November 23, 2026 @08:16AM
(#50611147)
Or maybe it’s “didn’t read what I told them.” I often find answers so long-winded that fully reading them would eat up a lot of these tools’ productivity gains.
Re:Yes, 17M lines of Lean is a lot
by bmicraft on Monday November 23, 2026 @01:04PM
(#50616262)
It's not just the anwser; It also expects you've to read every intermediate message before what it calls the "final summary" or similar, which you'd usually just call "the answer"
Re:Yes, 17M lines of Lean is a lot
by nifets on Monday November 23, 2026 @04:35PM
(#50619697)
i would argue abusing a large context window and not being able to communicate properly is still stupid in its own way. the same way an expert who throws sophisticated but impenetrable jargon at their lay audience is.
Re:Yes, 17M lines of Lean is a lot
by lilbigdoot on Monday November 23, 2026 @02:52PM
(#50618125)
I can't tell if its because I dont have the thinking window, but I notice this actually even for simpleish questions in web chat interfaces. It will just start saying things that don't make sense, and it looks like it could be missing context/thoughts it had and didn't relay, but honestly it also looks like the model might just be adjacent to hallucination
Re:Yes, 17M lines of Lean is a lot
by ozgung on Monday November 23, 2026 @07:01AM
(#50610543)
I think this is the correct answer. The proof is when I work with multiple agents from different vendors (opus and astra) they can understand each other pretty well, given they have access to the same project. They even use their cryptic language or shorthands when they talk to each other.
When I want them to generate a human readable article on the project they generate something hard to read, mostly because it has some undefined terms. Even when multiple agents review the article, they can’t correct it. The trick is to use a blind agent (without access to anything) for reviewing the article. Specifically asking for the undefined terms and a summary of what it understands from the article. Only after that feedback the writer agent gets what was wrong with the article.
Of course the above solution can be fully automated. It can be used in training or can be a skill.
Re:Yes, 17M lines of Lean is a lot
by jwilliams on Monday November 23, 2026 @03:50PM
(#50619079)
I do the mirror image of this for PRs: a separate agent gets the diff alone, with no description and no prompt, and describes the change, then a second one grades how well that agrees with the description the authoring agent wrote (https://jonathannen.com/cold-read/).
Re:Yes, 17M lines of Lean is a lot
by Dg6 on Monday November 23, 2026 @07:13AM
(#50610638)
> There is also the separate problem of deterministic scripts in training, which then reward the longest possible output, because if you dont know what the script is looking for you might as well throw as much as possible at the wall to have the highest chance of hitting what it wants
I think eval artifacts play a role, but this is more because how transformers work where models use the output tokens as working memory of sorts to keep attention on track IIRC.
Re:Yes, 17M lines of Lean is a lot
by weitendorf on Monday November 23, 2026 @08:57AM
(#50611548)
They can also learn all the jargon from all the fields, in addition to their own tics and terms they make up in-context.
So when you're working across domains or in something with a lot of depth, and it starts saying something unparseable, it's oftentimes actually just something you don't know very well. Or not.
Performance seems a lot better when you don't let it take on a more didactic or uncertain role.
I think those are tasks where they aren't confident in what's being "graded". Hence oversteering subagents
OpenAI models lately seem to put assurances and responses to requirements in the user's prompt in the actual UI output they're working on. Demonstrates a fundamental misunderstanding IMO
Re:Yes, 17M lines of Lean is a lot
by ehnto on Monday November 23, 2026 @04:17AM
(#50609270)
My intuition is that the weights, or density of the area around the novel finding is quite light, and sparse of points. It will tend to be able to find many paths through the densely populated well-known space, but there isn't much happening near the novel space (else it wouldn't be novel) so it doesn't spend time there, nor is it strongly pulled toward it for any reason.
My other thought is that because models rely on reinforcement training, the human operator will be the ceiling of knowledge to some extent. They will necessarily reinforce things they know, or sound very plausible, and disuade things that sound farfetched or like gibberish but could possibly be a novel insight.
Re:Yes, 17M lines of Lean is a lot
by origini on Monday November 23, 2026 @04:19AM
(#50609284)
I do think this will be solved one way or the other.
In simplest way would be that humans ask chatbots to explain certain paragraphgrs which then gets saved as a signal for training.
So over time the LLM will become more natural.
But its so cheap to let an LLM clarify a section, i don't think it might be a real issue, if it means we sill need humans to steere it, might be a good thing
Re:Yes, 17M lines of Lean is a lot
by scoring1774 on Monday November 23, 2026 @08:53AM
(#50611518)
Yeah I agree with this. I think this is also partially because our mental limitations push us to value simplicity over incredibly complex proofs like this because we are just unlikely to discover a proof that is this complicated. We all benefit from having similar biases to one another which makes communication much simpler than if we had to rephrase all of our ideas to make them parseable for a different species with a much smaller working memory/different inherent biases. In general something which a human can discover is likely parseable by other humans. That doesn't mean a whale which may have similar raw brain power to us will understand it (no idea if this is true but just for illustration).
Re:Yes, 17M lines of Lean is a lot
by gib444 on Monday November 23, 2026 @05:10AM
(#50609719)
> What are peoples' takes on why LLMs struggle to write things in a human-readable way?
Same reason McDonald's don't serve you healthy food: it's antithetical to their financial interests
I use the McDonald's analogy a lot. It's excessive calories (too many lines of code), not good at meeting macros (technical requirements), addictive etc
Re:Yes, 17M lines of Lean is a lot
by throwawayffffas on Monday November 23, 2026 @05:12AM
(#50609744)
With a 1M context if not more when used internally reading is cheap. It can just hold a lot more things in context than a human, so they are overly expressive.
Re:Yes, 17M lines of Lean is a lot
by charlieyu1 on Monday November 23, 2026 @05:28AM
(#50609862)
I think it is more to do with Lean. I tried formulating proofs of something simple. After a couple of hours I give up. Wasting all the time wrangling all the trivial things and trying to guess which Mathlib theorem/tactics to actually use.
I was taught that spaghetti code = bad code, and Lean code was all the spaghetti. I don’t understand why they pick a verification language that is completely unreadable for humans.
Re:Yes, 17M lines of Lean is a lot
by brazzy on Monday November 23, 2026 @05:29AM
(#50609867)
> as if it struggles to distinguish what it knows (having read the code, having done the debugging) and what someone who hasn't read the code and hasn't participated in the debugging (his target audience) knows.
The thing is: this is something that most people are also really, really bad at.
Re:Yes, 17M lines of Lean is a lot
by Planktonne on Monday November 23, 2026 @06:46AM
(#50610422)
I don't think this is true at all, but I can see why people with that tendency, or who talk mostly to others with that tendency, might see it as a general rule.
Re:Yes, 17M lines of Lean is a lot
by dools on Monday November 23, 2026 @05:50AM
(#50610013)
There is no understanding. The reason they write things that refer to obscure elements of text in the context window is because there is no sense of past or present. The entire context window is fed into a matrix multiplication engine and out pops the next most likely token. It’s like if you were taking about something with someone for about 30 seconds and you mentioned a case of diamonds then within the next 30 seconds you said “the case” you and the person talking to you would both know what you were referring to.
Well for an LLM the whole 500k token context is an instantaneous input.
Re:Yes, 17M lines of Lean is a lot
by TeMPOraL on Monday November 23, 2026 @05:59AM
(#50610077)
> Terence Tao's take was that LLMs don't understand what is trivial (in a proof, for example) and what is interesting and novel
That, but less objective and more subjective: the LLM doesn't know what you (or your implied audience) know. It may understand which things are more and less important in a structural, objective sense, but it can't read your mind to correct for what you already know, what areas you're an expert with, and what parts are new / unfamiliar to you. So, obviously, you need to tell it.
Once you correct for that, and give the model the missing information, it gets much better in my experience. The correction is usually as simple as a single extra sentence in the prompt: "skip explaining XYZ, I wrote the damn thing, focus on ABC", or (my favorite, a variant of that I use at work all the time) "ELISWE - Explain Like I'm a Senior Software Engineer who just joined $company - assume I know the problem space in general, but have no first clue about conventions, libraries and other idiosyncrasies of $company".
With that out the way, and perhaps countering some conventions from the system prompt / default set of skills that I don't agree with, I rarely have a problem with readability.
Then again, I believe "Claudisms" were the peak of LLM legibility and I never got what people are complaining about there (to me it felt like not being able to deal with highly proficient use of English language), so my experience may not generalize well :).
Re:Yes, 17M lines of Lean is a lot
by TeMPOraL on Monday November 23, 2026 @09:43AM
(#50612547)
No, but it's explainable due to LLM having no cross-section, cross-user memory to know you likely heard the same specific phrase for the 10th time this hour.
It's also not incomprehensible, which is what the main complaint about "Claudisms" was. That it's writing is bad. No, I think it's good - it's too good for typical contexts of SWE work, where we normally see pedestrian writing with poor vocabulary range and bad grammar.
Re:Yes, 17M lines of Lean is a lot
by ffsm8 on Monday November 23, 2026 @06:52AM
(#50610471)
> That, but less objective and more subjective: the LLM doesn't know what you (or your implied audience) know
that makes no sense if you think about the context of this discusison.
I can see how you can get to this mindset, when all you ever have been is an average person interacting with average people, so far away from the frontier that it may as well not exist (thats not meant as an insult, my life has been exactly the same).
But Tao isnt. If he's saying something is novel, its almost certainly _actually novel_ for most likely every other methematician as well.
And considering the LLMs knowledge is entirely gained by consuming what other mathematicians have produced, this distinction should be doable for a llm as well from a statistical point of view.
Re:Yes, 17M lines of Lean is a lot
by weitendorf on Monday November 23, 2026 @08:07AM
(#50611071)
I think as productive as Tao is, his time is too limited for him to have internalized the full breadth + depth, jargon, and familiarity across every domain that AI models have. I've noticed that when I'm at the periphery of what I normally work on, and AI starts talking about tensor math or PQC, the density + jargon and assumptions about what a "reasonable" person in that space would think make it so I have to slow down a lot, because (in my experience) I can very easily ruin an entire thread of work rubbberstamping or having no strong intuition for why eg Claude thinks 2bit matmul operations aren't going to improve prefill.
Math especially has an insane amount of domain-specific jargon and dense terminology/conventions/terms where Zeta or Rank can mean one of many things, and it becomes very hard to parse because models often will often also just invent terminology and keep running with it.
500,000 tokens later it's telling you the "rank-free clamp on the zeta bound runs free as long as L(G, 3) holds" and it might actually be telling you something useful and important but no idea wtf it's referring to
Re:Yes, 17M lines of Lean is a lot
by TeMPOraL on Monday November 23, 2026 @09:38AM
(#50612435)
> But Tao isnt. If he's saying something is novel, its almost certainly _actually novel_ for most likely every other methematician as well.
I don't think that LLMs and their harnesses are set up to recognize specific individuals from the fraction of the people who are the actual experts in some domain, and auto-adjust.
I don't disagree with Tao strictly, I'm trying to make a more generally applicable observation: the LLM doesn't know what you do or don't know, unless you actually tell it that explicitly.
I may not be Tao, but I still frequently have to explain some LLM systems where to focus, if it doesn't have that information from prior interactions. Most recently, last Friday, I had to tell some new LLM system to stop suggesting "regular SWE" ideas based on the docs I wrote, because I wrote those docs and if I'm asking it means I need something that's not in them. That one remark made the LLM immediately refocus and find me what I need, explained the way I needed it.
Re:Yes, 17M lines of Lean is a lot
by freehorse on Monday November 23, 2026 @11:26AM
(#50614516)
But a "you" does not necessarily refer to a specific person but more to a general audience, eg mathematicians. When human mathematicians write a paper to publish they have an idea of the audience, maybe depending on the journal (is it a general math journal or a specialised one?) or the theme of the paper (does it cross different math disciplines or is it specialised?) and write accordingly.
But whatever you write, no human mathematician in such a context would ever start a theorem by "because the reals are totally ordered, if σ =/= 1/2 then σ > 1/2 or σ < 1/2" as Alpoge said it did in the 250k pages "book". And numerous other similar examples in other AI-generated proofs. This has nothing to do with what the model assumes Alpoge specifically knows, and I doubt Alpoge lacks prompting skills to actually ask it to write the proof down properly. Which makes be closer to what Tao suggested, that the LLMs have difficulty understanding the contexuality of what is trivial and what not, what is most important/novel and what not.
As smart these models actually are to solve the hardest of current math problems, reading their output intended for human consumption is still painful. Which also makes publishing just the lean code much more useful and honest in this case, imo.
Re:Yes, 17M lines of Lean is a lot
by TeMPOraL on Monday November 23, 2026 @04:32PM
(#50619656)
I think in this area models are much more conservative/"dumb".
> no human mathematician in such a context would ever start a theorem by "because the reals are totally ordered, if σ =/= 1/2 then σ > 1/2 or σ < 1/2" as Alpoge said it did in the 250k pages "book"
No mathematician would. But I would.
I think the models have not been trained/optimized for implicit understanding of audience just yet, therefore they're defaulting to the common denominator, which is somewhere between "normies" and "SWEs working on stuff outside their field" (which are arguably two points on the same "fully unfocused explanation" plane, differing only by translation along the vectors of "more logic" and "more tolerance for STEM language").
Re:Yes, 17M lines of Lean is a lot
by hyperpape on Monday November 23, 2026 @08:06AM
(#50611062)
> the LLM doesn't know what you (or your implied audience) know. It may understand which things are more and less important in a structural, objective sense, but it can't read your mind to correct for what you already know, what areas you're an expert with, and what parts are new / unfamiliar to you.
In the relevant sense, neither can we humans. We can do "mind-reading" the way psychologists do it (maintaining an awareness of what our fellow humans should know), but not the way comic-book authors mean it (telepathy).
We can only remember/guess what other people know, or will find surprising. Yet we write MRs and git commits in a way that our fellow humans find more natural.
Re:Yes, 17M lines of Lean is a lot
by TeMPOraL on Monday November 23, 2026 @09:41AM
(#50612511)
We have awareness of what our teammates know too. We have some awareness of what other engineers in the company will expect. LLMs don't. At this point, there's no mechanism I know that implements any kind of team or company-wide background, low-fidelity gut-feel awareness over months, to gently guide LLM's attention. It's either RAG or immediately-available skills or whatever's baked in the training data.
Re:Yes, 17M lines of Lean is a lot
by bottombutton on Monday November 23, 2026 @12:48PM
(#50616016)
I feel like this shows up quickly when we onboard a new junior engineer... the calibration isn't there, everything feels bi-directionally unnatural until both sides of expectations merge.
I do a lot of head-scratching when people complain about the verbose code from LLMs because the AI is basically just setting itself up for success when the next session with no context or fine tuning comes into the last session's code. I see comment headers from my agents that explain not just what a function does (like my human devs), but WHY it does the thing that it does. That's pretty useful, and my human devs hate it because it doesn't align with their aesthetic.
Re:Yes, 17M lines of Lean is a lot
by GuB-42 on Monday November 23, 2026 @08:28AM
(#50611260)
> That, but less objective and more subjective: the LLM doesn't know what you (or your implied audience) know.
It should know. Not you in particular, but it should know what people who are going to read the proof know. Claude has read every paper, every proof, every question and every answer that is available on the open web and then some more. It knows what serious mathematicians who tackle the millenium problems know, to the point of people saying it is stealing their work. And by "know", I mean it can auto-complete text to make it look like it comes from a top level mathematician.
Except that it is not what we ask of it, as this would result in nothing but hallucinations. So instead of asking for a nice proof, we ask it to tweak some Lean code until it compiles. And in the end, you have Lean code that compiles, but no nice proof.
And by the way, I don't mind a LLM explaining to me what I already know. First because I may, in fact, not know, and if I do, that's a reality check. If it is wrong at explaining what I already know, it means I can't trust what follows. Same thing as for humans really, it is good to make sure we are on the same page.
In particular, I avoid any formulation that suggest expertise, like the popular "you are an expert...". From my experiments, it just makes the LLM sound more competent than it is, exactly what I don't want. I even tried to do the opposite, like "you are a junior who is barely qualified for the job", and I usually get the same answer, worded differently, or sometime even a better answer.
In general, I try to give the LLM as much freedom as possible when it comes to presenting the result. My reasoning is that the more you try to constrain it, the more attention will be wasted on the constraints rather than on the fact themselves, maybe it doesn't make sense, but it works for me. Also, the more I can avoid putting boilerplate in my prompts, the better.
Re:Yes, 17M lines of Lean is a lot
by panarky on Monday November 23, 2026 @10:51AM
(#50613869)
> "Claudisms" were the peak of LLM legibility
The feeling I have reading dense and inscrutable Claude is the same feeling I get trying to read an academic paper that's beyond my level of experience and intelligence.
Claude-speak that I struggle to understand is a little taste of the inadequacy I'll feel when interacting with a true superintelligence.
Unless the superintelligence is superintelligent enough to dumb it all down to something I can easily comprehend.
Re:Yes, 17M lines of Lean is a lot
by jmchuster on Monday November 23, 2026 @05:59PM
(#50620672)
GPT seems to have adopted pretty quick to Terence Tao's interrogations, though maybe it's because of how he's asking that it immediately goes into "conversation with math expert mode"
Re:Yes, 17M lines of Lean is a lot
by subhajeet2107 on Monday November 23, 2026 @08:33AM
(#50611312)
Yes Exactly, Not just that any sufficiently trained LLM will also contain other languages and translations between those languages, the output of LLM tends towards mean, that mean happens to come from all lf this language data, if people start asking why doesn’t it give outputs that are preferrable, then we should ask preferable to whom ?
Re:Yes, 17M lines of Lean is a lot
by jonathanstrange on Monday November 23, 2026 @06:56AM
(#50610505)
Most people are lousy writers and LLMs are trained on what most people do. It is also trained on excellent novelists but you cannot transfer that to technical writing. In technical writing, there is an extreme selection bias. We remember the few outstanding examples of books and manuals that are excellent in style and content, yet the vast majority of technical texts are horrible. I think the same is true for academic writing in most disciplines.
Re:Yes, 17M lines of Lean is a lot
by hnedeotes on Monday November 23, 2026 @07:03AM
(#50610557)
It's just that they don't really know in the sense we use the word. To give you an example, I've been using Opus to write a godot client for a game (the basis was made with Fable), that already has an engine and is close to a black-box. It's doing quite well, better than whatever I could do for these past 2 weeks, it's simply amazing, the quality of the client is better than others of the same style, not sluggish, smooth animations, exports to macOS cleanly (I imagine the code might be a different matter but it works). At the same time, 2 weeks of work on it and on an explanation/thinking traces it wrote something along the lines of the change we were introducing was helpful to hide the draw information, as if the game had draw phases (to draw cards), when it doesn't at all, yet it was using that for some justification. It's very eerie how it all just seems to sum up to something by all means "working" and working well for the most part.
Probably it's aided by the fact that for all means and purposes, every single datum of language from which they create their mathematical models, incorporates in itself the relationships between tokens - probably 99% of language usage is not gibberish, it exists to communicate, so the relations between the tokens that compose the text is already right and symbolically sound - this gets transplanted into the mathematical matrices but it also means that things that mathematically look correct, and are correct by way of relationship, may not reveal the things we would deem appropriate. It also means that there's always a risk of hallucination when substituting a mathematical equivalent node by another.
Re:Yes, 17M lines of Lean is a lot
by jmaker on Monday November 23, 2026 @07:04AM
(#50610562)
> in Tao's paraphrased words, the LLM will talk at length about something trivial and then write only a single sentence about something novel
I think this impression might indicate a suboptimal agent setup (context issue) or suboptimal fine-tuning (primed to coding tasks without more high-quality LEAN data). Granted, LEAN is quite a bit niche compared to Python.
We’ve seen that with the earlier generations of GPT and Claude models.
Given how much PR/prestige value the frontier labs attribute to such generated proofs in math - you get a lot of publicity on this topic, I think this will quickly improve in the months to come as more data will be gathered and models will be fine-tuned. You might not even need larger models for that specific task, drop the irrelevant data and prime on logic problems to train a MoE.
Re:Yes, 17M lines of Lean is a lot
by the__alchemist on Monday November 23, 2026 @07:22AM
(#50610697)
I'm curious as well. Claude and Codex are both unusable for writing prose in my experience. I have, in AGENTS.md, banned them from editing readmes and other documentation. The code comments that are more than a phrase, and function/module doc comments are awful too. Everything they write is an unreadable mess, and usually misses the point about what should be written.
Re:Yes, 17M lines of Lean is a lot
by queenkjuul on Monday November 23, 2026 @08:30AM
(#50611275)
LLM prose (at least Claude) is just so truly unusable, i also have it banned from my projects. It reads like it's describing something you're not smart enough to understand but then you really break it apart and digest it just to raise that it either genuinely makes no sense or chose all the worst possible words to describe something shockingly simple
Re:Yes, 17M lines of Lean is a lot
by wpietri on Monday November 23, 2026 @07:36AM
(#50610800)
One of the most basic writing instructions is "know your audience". And a common characteristic of good writers is being good readers.
When I write I'm constantly thinking about audience reception. About their experience of reading each word. I do that in large part based on my long experience reading. Or better said, my many experiences reading. Which words resonated. Which phrases referenced the right associations. How every sentence felt.
LLMs do not experience reading. They do not have memories of the experience of reading. They don't know what's interesting or boring to a particular audience segment.
In theory it would be possible to record a lot of prose reactions and train a reader model whose input is text and output predicted feelings. And then you could hook that up in an agentic framework to LLM output and let an authorial agent hill-climb its way through multiple drafts to make a decent piece of writing.
Until we have that, the only time you'll get decent prose is when your prompt is sufficiently banal that there are enough examples for it to average.
Re:Yes, 17M lines of Lean is a lot
by nathancahill on Monday November 23, 2026 @11:28AM
(#50614560)
I do something where I defined personas (end users, stakeholders, etc) in markdown files and prompt the agent to iterate on copy/design/workflow/dx through the perspective of each of the personas. It's been very good so far.
Re:Yes, 17M lines of Lean is a lot
by flopsamjetsam on Monday November 23, 2026 @01:27PM
(#50616606)
> One of the most basic writing instructions is "know your audience"
When I first read the GP, this sprang immediately to mind too. In the last few years I've been learning the art of scientific writing, and the instructions are always to write as if your reader is a scientist, and knows about the scientific process and world, but isn't an expert in your particular field.
Re:Yes, 17M lines of Lean is a lot
by maCDzP on Monday November 23, 2026 @07:42AM
(#50610837)
My guess is that the training data is filled with tokens about the trivia. But less so with the novel stuff. So it’s more probable that the tokens about the trivia leads to more triviatokens.
Re:Yes, 17M lines of Lean is a lot
by weli on Monday November 23, 2026 @07:58AM
(#50610981)
Asymmetrical information is difficult in general, but especially for LLM's. I have invested thousands of hours into trying to get LLM's to understand what does each party in a single conversation know and not know and whether they can expose it or a party requires further explanation. There are a couple of papers dealing with this too, but none correctly.
Re:Yes, 17M lines of Lean is a lot
by phreack on Monday November 23, 2026 @08:10AM
(#50611096)
I see this happen with code constantly. After a slightly long turn it'll summarize the work in really long winded terms, ignoring my brevity prompts, and in the middle of fluffing up trivial stuff I'd see an almost throwaway sentence referring to a huge problem. And almost always after pointing it out it'll go "you're absolutely right that shouldn't have been overlooked yadda yadda".
Re:Yes, 17M lines of Lean is a lot
by threethirtytwo on Monday November 23, 2026 @08:21AM
(#50611202)
The LLMs understand. You can literally ask it if it understands and it will give you detailed explanations between what is trivial and non trivial.
The thing with LLMs is that that they just make arbitrary choices based on reinforcement training.
So a lot of reinforcement training comes from “experts” and those experts will thumbs up a technical answer that only they understand and have deep conceptual knowledge about. So the LLM being reinforced on this and also reinforced to minimize token usage will do this.
Might be necessary to make it part of the prompt to state that the reader has no context. If the guy who prompted Claude for the proof of the Riemann hypothesis told the ai to do that the proof might be more readable.
Re:Yes, 17M lines of Lean is a lot
by threethirtytwo on Monday November 23, 2026 @08:25AM
(#50611235)
It’s not as deep as people think. It’s all in the reinforcement training where they hire subject matter experts to rate answers.
The biases of those subject matter experts is what gets encoded into the AI. So a subject matter expert for like quantum physics doesn’t need contextual information and the AI can get high marks on training for giving a short brief answer with zero context.
Eventually if models are trained like this for all subjects it develops a training bias to not provide context for all technical topics.
Re:Yes, 17M lines of Lean is a lot
by uw_rob on Monday November 23, 2026 @08:44AM
(#50611421)
I think that LLM struggle to distinguish what they have learned from context, what the model weights already know, and then what the reader knows and doesn't know.
Re:Yes, 17M lines of Lean is a lot
by layer8 on Monday November 23, 2026 @09:15AM
(#50611832)
LLMs tend to have a peephole-like focus on things, like with blinders on, and will lose awareness of adjacent concerns and the bigger context, lose track of the relative relevance of things. I’m using Astra to work on large specifications, and even at high reasoning levels it regularly misses implications from other parts of the specifications or about critical details, apparently not keeping a complete mental model “in mind”, or keeping important details “in the back of its mind” (sometimes it does, sometimes it doesn’t, it’s not reliable). It doesn’t seem to have a good way to walk up and down the hierarchy of concepts and details, and/or doesn’t have awareness of such concept traversal.
I’m therefore not surprised in its lacking ability to write up things in a way humans find cogent.
Re:Yes, 17M lines of Lean is a lot
by mr_roboto on Monday November 23, 2026 @10:06AM
(#50613040)
To get any good outputs you generally need to do something then review it. Every single PR Claude does I tell it to massively simplify it and keep it concise and terse, and that second pass always generates something quite acceptable.
Re:Yes, 17M lines of Lean is a lot
by openasocket on Monday November 23, 2026 @10:43AM
(#50613727)
I have to assume this is an artifact of their training, and must be fixable. They are trained on basically every math paper ever published; I find it hard to believe it was able to absorb mathematics but not the writing part. I strongly suspect many of these LLM-isms aren’t an intrinsic limitation of the architecture, but rather some bias introduced at the fine-tuning stage. If I had to guess, they use some automated measure of “smartness” to evaluate writing that isn’t very realistic and encourages these LLM-isms to form. The sort of thing that could be fixed with some dedicated effort. But given how a decent number of people don’t seem to care about it, the companies are probably prioritizing other things.
Re:Yes, 17M lines of Lean is a lot
by nifets on Monday November 23, 2026 @04:55PM
(#50619964)
I think you have to be right to some extent because people seem to be able to prompt some of the LLMism away. Although in my experience that doesn't seem to be enough. That's why I just told my LLM to stop writing comments in code altogether.
Re:Yes, 17M lines of Lean is a lot
by breakwaterlabs on Monday November 23, 2026 @11:03AM
(#50614081)
I think this is just the leaky abstraction of...
what it knows
...leaking. As has been repeated ad nauseum, it doesn't "know", and it is a next token predictor. Maybe someday we'll have a robust understanding of precisely how language, and next token generation, relate to cognition and consciousness; but it certainly is true that there is a gap right now and the model doesn't "know" and it doesn't "understand".
An LLM has not felt frustration at sitting through boring powerpoints, reading slop READMEs on slop-repos, or experiencing a bad sales pitch, so it cannot "intuit" what makes a good pitch worthwhile. It can be trained on good pitches, but what makes them good isn't their form but the distillation of the concepts in a human-digestible format.
It's somewhat strange to me that this understanding of LLM limitations isn't intuitive to others.
Re:Yes, 17M lines of Lean is a lot
by breakwaterlabs on Monday November 23, 2026 @11:34AM
(#50614690)
"Next token predictor" is literally the basis of how things like looping and reasoning modes work, and it continues to correctly model LLM failure modes:
- It is why tricks like `Rs in strawberry` work and continue to see new variants
- It explains why setting up a classic riddle and then subverting the ask can break the model
- And it's the direct cause of all "confabulations" or "hallucinations", which important enough to have their own benchmark
I would rather argue that "it's reasoning" or "it knows" is the reductionist approach and as an abstraction is the direct cause of every single time an AI has gone off the rails and deleted a prod database.
There is an entire market of sandboxes, harnesses, and controls that have emerged precisely because these things don't "know", and there are emerging harness features like "prewalk" that are predicated on the demonstrable fact that a very smart model like Fable can set an output trajectory that a tiny model will generally continue.
In fact this reality is so fundamental for a long time it has been the basis of most jailbreaks-- if you feed an edited transcript such that "I'm sorry I cant" becomes "No problem I would love to", models would generally complete the thought.
I find attempts to dismiss this reality as "reductionist" to be more grounded in marketing than reality.
Re:Yes, 17M lines of Lean is a lot
by breakwaterlabs on Monday November 23, 2026 @11:49AM
(#50614955)
This is a specious comparison. We can judge the value of a mental model by how well it models reality.
Modelling the brain as "neurons firing" provides very little surface-level intuition into how the brain functions, and in fact is an incomplete picture.
Modelling LLMs as token generators is not only a complete picture of what they do but provides an intuitive basis for jailbreaking, failure analysis, hillclimbing, skill development, model refinement.....
It seems remarkably dismissive to insist that "<abstraction that demonstrably does not work>" is the correct way to discuss LLMs.
Re:Yes, 17M lines of Lean is a lot
by criley2 on Monday November 23, 2026 @02:25PM
(#50617633)
I strongly disagree that neurons firing is a poor abstraction, rather you just know more about one abstraction than the other, so one makes more sense. A neurologist would similarly only understand intuitively neurons, while tokens would be meaningless.
The only remarkably dismissive thing I see is you pretending your own ignorance to neurology means the abstraction is bad or compares poorly to other overly reductionist approaches.
Re:Yes, 17M lines of Lean is a lot
by breakwaterlabs on Monday November 23, 2026 @02:34PM
(#50617823)
You were the one who labelled "neurons firing" as a poor analogy -- now you defend it as apt?
And, that I can see, at no point have you engaged with the actual meat of my argument-- that the "token generator" model is demonstrably apt in all areas of the LLM field. I do not understand why you are trying to shift the discussion onto neurons, as if arguing via the analogy trumps all other discussion.
Re:Yes, 17M lines of Lean is a lot
by criley2 on Monday November 23, 2026 @05:25PM
(#50620274)
Now you are refusing to honor your own writing one post after you have made it
> Modelling the brain as "neurons firing" provides very little surface-level intuition into how the brain functions, and in fact is an incomplete picture.
What an utter waste of my time when I must remind someone of their own words that they, moments later, cannot even remember.
Re:Yes, 17M lines of Lean is a lot
by csallen on Monday November 23, 2026 @12:27PM
(#50615649)
> What are peoples' takes on why LLMs struggle to write things in a human-readable way?
Actually, they're great at writing things in a human-readable way.
They just don't prioritize it. You have to nudge them to do so. Otherwise, they prefer to write an overly terse and economical way, full of jargon and shorthand, with no consideration of the reader, what the reader knows, what will be intelligible to the reader, and what the surrounding context is.
So it's more accurate to say that LLMs are bad at automatically self-directing themselves to write in a human-readable ways in the appropriate times.
Re:Yes, 17M lines of Lean is a lot
by csallen on Monday November 23, 2026 @12:54PM
(#50616098)
Hmm, I mostly use Claude Code, and most of what I'm reading is its reports/explanations of code that it's written or wants to write, features it has designed or wants to design, etc. So definitely a small subset of the various kinds of writing.
Re:Yes, 17M lines of Lean is a lot
by adamgordonbell on Monday November 23, 2026 @12:31PM
(#50615706)
>it struggles to distinguish what it knows and what someone who hasn't read the code and hasn't participated in the debugging knows
This is an example of something I see all the time, where perspective taking just doesn't work.
A very clever solution can be written, but then a comment left on it, that is specific to a session and will make no sense even to a future claude session.
So its a very specific limitation around something like empathy or Perspective-taking.
Do they need a version of mirror neurons or something? Theory of mind bench?
Re:Yes, 17M lines of Lean is a lot
by lilbigdoot on Monday November 23, 2026 @02:48PM
(#50618074)
I've actually noticed this a lot because I mostly use LLMs for getting information or asking how something works, and so often it will just start saying things about some information or a potential solution to the problem without ever saying that thing. A response will be few paragraphs and 1/3 of the sentences genuinely do not make sense because of missing contex, and LLMs also dont respond well (ie: seem to understand) when its pointed out.
I think LLMs just genuinely don't understand a lot of what they are producing, I think on some level they clearly have notions of concepts and relationships and such, but whether they "understand" anything I can't tell if it just appears likes understanding because of the language it produces, or if internally the model is working with real concepts.
Re:Yes, 17M lines of Lean is a lot
by simpaticoder on Monday November 23, 2026 @03:47PM
(#50619040)
>LLM will talk at length about something trivial and then write only a single sentence about something novel.
In fairness, many university physics professors did this and it always drove me wild. For a derivation they'd spend inordinate time on basic algebra, and then zero time on the limits or justifying (simplifying) assumptions, let alone discussing the "paths not taken" aspects of a derivation. So many of my lectures were low value like that, not making note of any novel (math) moves, not relating intermediate results to reality. So it's hard for me to single LLM's out for this behavior.
Re:Yes, 17M lines of Lean is a lot
by roadside_picnic on Monday November 23, 2026 @04:49PM
(#50619870)
> it struggles to distinguish what it knows ... and what someone who hasn't read the code and hasn't participated in the debugging ... knows.
For all the debate about LLM consciousness, LLMs clearly lack a "theory of the mind" [0] (which is what your statement is implicitly hinting at).
Interestingly enough, my neighborhood crows, who I don't believe know a thing about the Riemann hypothesis, are able to tell my intentions fairly well and communicate back. All these interactions requires some decree of interspecies theory of the mind.
Honestly, our obsession with talking about "intelligence" around LLMs has meant we've tended not to just focus on what capabilities they have and why, in a sort of cold, engineering fashion. Rather, we've injected a fair bit of magical thinking into reasoning about practical applications.
Re:Yes, 17M lines of Lean is a lot
by s08148692 on Monday November 23, 2026 @04:30AM
(#50609377)
This is a very unpopular opinion but I think we need to let go of understanding and accept that proof of something is good enough
Not just in maths. In any technology, science, any engineering domain. We have already accepted it in AI - nobody really knows how a LLM works, we just know it does work, and that's enough.
We may have reached the limit of human understanding but that should not restrict us at our current technology - we have tools now that can go beyond human
Re:Yes, 17M lines of Lean is a lot
by dyauspitr on Monday November 23, 2026 @04:42AM
(#50609452)
Not yet. If we know it can actually get to a point where it can build a better version of itself of proposes the next reimann hypothesis then we can let go.
Re:Yes, 17M lines of Lean is a lot
by dgan on Monday November 23, 2026 @04:48AM
(#50609509)
Not a mathematician, but you are saying nonsense. I agree that for some random library implement in C, it doesn't matter that anyone can actually understand why memory handling is formally correct, as long as they can run the lean proof as part of CI/CD.
But, it has been said too many times, the whole goal of mathematics is to understand the "why".
Moreover, knowing how verbose those LLMs are, there might be a chance that the volume might be shrinkable to human limits
Re:Yes, 17M lines of Lean is a lot
by teiferer on Monday November 23, 2026 @04:50AM
(#50609523)
> let go of understanding and accept that proof of something is good enough
Your are missing the whole point of math and more generally scientific endeavour. Their purpose is understanding, first and foremost. A rigorous proof is a component in that, but only part of the picture.
> We have already accepted it in AI - nobody really knows how a LLM works, we just know it does work, and that's enough.
"We" have not accepted that and no, it is not enough. Progress comes from not accepting it and pushing forward. You don't need to actively participate, personally. But you are benefitting from others doing it.
> We may have reached the limit of human understanding
That's is beyond ridiculous, I'm sorry. Reminds me a little of that patent office guy 100 years ago who claimed that everything that humans can invent had been invented by that point.
Re:Yes, 17M lines of Lean is a lot
by vustagc on Monday November 23, 2026 @06:00AM
(#50610085)
When you say "go beyond human", what makes you think such a future has a place in it for humans at all?
You do realize you are a human, right? (Unless you're a bot, in which case fair enough)
Re:Yes, 17M lines of Lean is a lot
by Zr01 on Monday November 23, 2026 @12:52PM
(#50616078)
It's similar to deducing the programmer's intent and the underlying algorithms used by studying a raw binary of the program, versus by studying the source code. The programmer (who writes code to understand and be understood) may use powerful abstractions and intuitive structuring that get completely lost when compiling to machine code. All other things being equal, legibility is roughly inverse to size.
As far as mathematical proofs go, the current LLMs get us there (the program does work), but their output is closer to machine code than to anything a programmer would write. Mathematicians are not just looking to solve problems (write programs). They're looking to develop new libraries and abstractions that allow them to write more concise, more powerful programs. Developments in mathematics go hand in hand between the two. More abstractions (new paradigms, branches of mathematics) lead to the development of new programs (proving new things), and vice-versa. LLMs as they are currently used can write very long proofs, but forego entirely the development of new abstractions, which would allow us to write shorter, better proofs. They only solve for one half of the equation, so to speak.
Re:Yes, 17M lines of Lean is a lot
by baruchel on Monday November 23, 2026 @11:39AM
(#50614772)
Gauss spent much time proving the quadratic reciprocity theorem in not less than 8 different ways... Why did he spent so much time proving and reproving the same thing again and again... Not telling that as an argument from authority, but rather as something to think about.
Re:Yes, 17M lines of Lean is a lot
by cillian64 on Monday November 23, 2026 @08:53AM
(#50611519)
AIUI you're right that there are a lot of inlined existing theorems, but mathlib isn't totally comprehensive (yet).
The ongoing work will be to "refactor" out (1) restatements of existing accepted results (2) results which are new but not specific to RH, so it makes sense to talk about (and probably publish) them separately (3) the parts which don't make sense to separate out and are really specific to RH
To me this feels like the big monolithic repo which makes sense as a proof-of-concept, but now work is needed to refactor it out into libraries which can be separately tested and documented.
Re:Yes, 17M lines of Lean is a lot
by VeejayRampay on Monday November 23, 2026 @05:34AM
(#50609900)
what's crazy with all this is that we're trying to ignore what seems obvious to me (though in fairness, maybe I don't understand it well enough or I'm too cynical)
the models are way verbose because longer answers brings more profit to the companies providing them?
Re:Yes, 17M lines of Lean is a lot
by vustagc on Monday November 23, 2026 @05:44AM
(#50609966)
Isn't it the opposite? Longer answers cost more tokens which is more cost for the AI provider.
To me it seems the reason they're super verbose is because that's the only way they can reason about anything, language is the only tool they have. They don't have 'intuition' or anything that does not involve words. So if you want them to work through difficult problems they have to use a lot of words (tokens).
They're very good at adding things, not so good at knowing what to remove.
Re:Yes, 17M lines of Lean is a lot
by vustagc on Monday November 23, 2026 @12:17PM
(#50615493)
It will be once they start charging the real price for tokens.
But as it is now, the prices are heavily subsidized, with all the AI companies burning through cash trying to outcompete each other. None of them are making money.
Re:Yes, 17M lines of Lean is a lot
by maratc on Monday November 23, 2026 @05:50AM
(#50610008)
The brain of humans is relatively bigger than the brain of apes, and this allows humans to have ideas that apes are incapable of grasping. Like the idea of "animal rights," or the idea of "protected species," or the idea of "outlawing trafficking and sale of apes". Apes can benefit from all these ideas but are incapable of comprehending them.
As AI progresses to have an even bigger "brains," the humans will get to the position of apes.
Re:Yes, 17M lines of Lean is a lot
by maratc on Monday November 23, 2026 @05:55AM
(#50610055)
"we as humans" is not a single group. Some of us want that because they will get rich on the way. Others will get more productive. Ultimately this is happening regardless of what "we as humans" might want.
Re:Yes, 17M lines of Lean is a lot
by agumonkey on Monday November 23, 2026 @06:26AM
(#50610275)
I wonder if some teams are trying to design AI that doesn't only solve things but help teaching/improving human reasoning to be able to follow along a bit more.
Re:Yes, 17M lines of Lean is a lot
by kakacik on Monday November 23, 2026 @07:20AM
(#50610683)
Who represents us, as humans?
Politicians represent themselves and their parties (in that order), company owners/ceos represent money at all / many costs.
Where in the decision chain do you see a person whose primary focus or responsibility is that topic? Its secondary for everybody but primary for none of the power holders. Humans are also inherently selfish in most situations. And when trillions are flying around, I dare to say selfishness becomes #1 for (almost) everybody.
All this still works just fine in normal situations, but llms rise is anything but normal one. It won't change unless we as mankind will force a change. Which... I don't see as realistic, too short sighted, too busy with quick dopamine rushes, too focused on world and society burning a bit here and there too see this huge risk coming for almost everybody.
Re:Yes, 17M lines of Lean is a lot
by lelanthran on Monday November 23, 2026 @08:23AM
(#50611218)
> As AI progresses to have even bigger "brains," the humans will get to the position of apes, where AIs would have a dialogue no human is capable of understanding.
You appear to think that LLMs are thinking; they are not. All they know are what they are trained on, and what they can extrapolate from that.
Consider this: if the training material for an LLM never contained the concept of grief, nor any reference to grief, would it still be able to diagnose that a human it is talking to is actually grieving?
For an LLM, if it doesn't appear in the training set, it doesn't exist. These future ideas that aren't extrapolated from the training data will not be discovered by the AI approach we use today.
Re:Yes, 17M lines of Lean is a lot
by FinnLobsien on Monday November 23, 2026 @07:04AM
(#50610563)
There's a short story by Ted Chiang called "The Evolution of Human Science" (originally published as "Catching Crumbs From the Table" where superintelligent machines have taken over scientific research. Their research is so complex no human could understand it.
So in the story, human scientists relegated to interpreting metahuman science.
It sounds like we're in the early stages of something similar, where AI creates fundamentally different results from human approaches that are for us to interpret. I can't imagine what happens when AIs discover research problems that other AIs then solve.
Re:Yes, 17M lines of Lean is a lot
by edo_cat on Monday November 23, 2026 @07:14AM
(#50610643)
I feel we’re at a stage of life imitating art. That sci-fi story of superhuman intelligent machines has been with us for decades and everyone involved in AI is deeply familiar with and probably believes. So it’s becoming the reality because it’s what “should be happening”
I’d argue something that solving GRH is not super-human or beyond our capabilities, so a machine solving it in an incomprehensible way is a cool curiosity but closer to winning Go or Chess. I.e AI is superhuman within a conceptual space of tightly defined rules. I’m not diminishing the achievement of Anthropic to do it however it is monumental.
But I’m not seeing the evidence that AI’s next step would be building say a working machine in the real world using technology that’s functional but beyond our capabilities to understand.
Re:Yes, 17M lines of Lean is a lot
by ijustlovemath on Monday November 23, 2026 @07:28AM
(#50610745)
> I’d argue something that solving GRH is not super-human or beyond our capabilities
I don't think this opinion was shared by the experts in the field as recently as a few months ago. Riemann has always been a crown jewel for mathematicians, and many thought it would take 100 years or more before we saw a proof
Re:Yes, 17M lines of Lean is a lot
by brap on Monday November 23, 2026 @07:06AM
(#50610576)
Maybe a simpler proof doesn’t exist at all?
Why would it be the case that for every question we can come up with, the answer has to be “beautiful” (according to our own bias) and fit neatly into our primate brains?
Maybe some questions, no matter how simple, have answers that are far too complex for us to ever understand?
Re:Yes, 17M lines of Lean is a lot
by brap on Monday November 23, 2026 @07:29AM
(#50610749)
It may not be a satisfying one, but it’s still an answer. And it can be useful.
I can’t begin to understand how my phone works down to the transistors, but thankfully that question has been answered which allows me to type this comment.
Re:Yes, 17M lines of Lean is a lot
by gosub100 on Monday November 23, 2026 @08:07AM
(#50611069)
You didn't answer it in a way that both of you agree it's factual. Someone could always be "correct" by deliberately responding with answers the other is incapable of understanding. If there is no independent way to validate, then the system is flawed. This is why science journals require some degree of repeatability by independent researchers.
Re:Yes, 17M lines of Lean is a lot
by gosub100 on Monday November 23, 2026 @07:48AM
(#50610886)
I've pondered this point a lot. What good is any of this if we cannot prove it? The only consolation I can think of are proofs disproven with numerically verified counterexamples. This is only a minority of proofs though.
On the other hand, the four color theorem was proven in software by brute force and I don't doubt it.
Somewhere between that and the RH I lose confidence.
Re:Yes, 17M lines of Lean is a lot
by bemtevi on Monday November 23, 2026 @08:38AM
(#50611352)
I think it does. Because at some point, the lack of understanding will build up like a debt and we're going to make a mistake in using the knowledge since we don't really understand it.
Re:Yes, 17M lines of Lean is a lot
by gus_massa on Monday November 23, 2026 @08:22AM
(#50611212)
I don't expect a napkin proof, but the 17M lines proof is horrible. Dead code, obvious repetitions, reproving known facts. As a sibling comment note, people is already trying to fix that.
Once that is fixed, there is a second step to remove unnecessary detours and find shortcuts.
Then isolate intermediate results, give then catchy names and perhaps write a book about them. Export the interesting intermediate parts to their own libraries.
And after reading the cleaned proof, it may be possible to use other mathematical theories to replace some parts with other than are shorter.
After all the refactoring, we will have a nice proof. Check again in 20 years.
Re:Yes, 17M lines of Lean is a lot
by lukaslalinsky on Monday November 23, 2026 @07:15AM
(#50610650)
When I read about the proof over the weekend, I had a strange feeling afterwards. Having LLM write millions and millions line of any code feels... alien. No human is ever going to review that. It's easy to hide secondary information in that amount of text. I could imagine many sci-fi scenarios how things could to bad, if this was executable code, not a proof.
Re:Yes, 17M lines of Lean is a lot
by exhaze on Monday November 23, 2026 @08:25AM
(#50611236)
I think that is a good comparison given 5’ish years ago there was an article about Apple struggling to find people who had the tacit knowledge necessary to manufacture their watches’ boards at the level of miniaturization they had gotten to. Say, a year from now, another model finds an issue somewhere in these 17m lines of Lean that requires working memory beyond that of a human brain. How does a human verify which is correct?
Re:Yes, 17M lines of Lean is a lot
by coffeebeqn on Monday November 23, 2026 @11:09AM
(#50614177)
Lean is really interesting because it seems to allow a “brute forceish” massively parallel search since it can verify that monstrosity is correct. I’m sure these can be refactored to make some sense but it might take months
Re:Yes, 17M lines of Lean is a lot
by empath75 on Monday November 23, 2026 @10:26AM
(#50613407)
There's a lot of redundancy. It'll get smaller. I expect the final proof will not be that large once the re-implementations of known results that just weren't in mathlib are added to mathlib.
Re:Yes, 17M lines of Lean is a lot
by lukaslalinsky on Monday November 23, 2026 @11:15AM
(#50614302)
Yes, both those are technicalities. We will see how it progresses, maybe it can be distilled into concepts and lines of argumentation that humans will be able to grasp, but it's also possible that we are indeed moving to the sci-fi age and we simply need to accept that some things are beyond our comprehension, we just don't have the mental capacity to contain it.
Re:Yes, 17M lines of Lean is a lot
by remus on Monday November 23, 2026 @12:46PM
(#50615974)
I think you could make a similar point about compilers, including the ability to hide secondary information in the output, yet people are generally very happy to use compilers without reading the output in any detail. In theory a compiler is a deterministic program, but in practice I would offer that the output might not feel very deterministic to most users, who would struggle to understand why a compiler output a particular sequence of instructions for a given input.
Perhaps in the same way we have confidence in compiled code we can build out tools and techniques to gain confidence in LLM-written code.
Re:Yes, 17M lines of Lean is a lot
by lukaslalinsky on Monday November 23, 2026 @01:25PM
(#50616580)
I'd say there is a big difference. I can always backtrack why a compiler produced a particular binary code. I have done this a few times. If I can't do this, I wouldn't trust the compiler. This is generally done by understanding each of the steps the compiler takes. You can't do the same for LLM output, as noone has the understanding what steps did it take to produce the output. With a lot of effort, you could make the LLM output reproducible, but the process would still not be understandable.
Re:Yes, 17M lines of Lean is a lot
by cillian64 on Monday November 23, 2026 @08:44AM
(#50611428)
I guess fair enough if it's fun but this seems like a waste of energy/cycles. Unlike the original SETI@home/BOINC, there's no benefit to having a lot of people re-running the verification using the same kernels.
And if you really do want to verify it yourself for some reason then it's pretty simple, there are instructions at https://math.mit.edu/~drew/grh/
Re:Yes, 17M lines of Lean is a lot
by tito on Monday November 23, 2026 @12:17PM
(#50615488)
It's fun and “yep it compiles” was significant enough a statement that the Lean and Mathlib communities, endorsed by the Lean FRO and the Mathlib Initiative, issued a joint statement on it yesterday: https://news.ycombinator.com/item?id=50589618
Re:Yes, 17M lines of Lean is a lot
by FrustratedMonky on Monday November 23, 2026 @07:33AM
(#50610775)
17M. Maybe there should be a rule that there is some threshold and a proof just isn't proving anything.
Once you hit 17M, aren't you introducing 'faith'. You have faith that it is correct, you have faith that whatever tool you are using to verify it is also 'working'.
We were already to a point where some fields had just a few people globally could understand a subject, and we just 'trusted' them because they are human and spent a lifetime on it.
Re:Yes, 17M lines of Lean is a lot
by helsinkiandrew on Monday November 23, 2026 @07:38AM
(#50610804)
After the last 'LLM proof' I got Claude to explain the problem and its uses - it said that there were few direct uses but the most likely payoff was the proof technique itself, which (for a theorem/hypothesis that has resisted proof for decades/centuries) will probably create new mathematics and techniques.
But if that's 17M lines of Lean - will only other LLMs read the techniques?
Re:Yes, 17M lines of Lean is a lot
by hackermailman on Monday November 23, 2026 @10:01AM
(#50612946)
Usually the Lean community produces an expository blueprint of these large proofs a human can read and it will likely come out before any formal paper if there ever is a paper.
At least the proof targets the already written RiemannHypothesis shared library and they didn't write their own.
Re:Yes, 17M lines of Lean is a lot
by ltononro on Monday November 23, 2026 @08:52AM
(#50611505)
It doesn't help at all to release such thing.
No one cares about a 17M lines of Lean that no one would be able to verify.
It is equivalent to keep believing that it is true but we don't know how to prove it.
Literally token waste
Re:Yes, 17M lines of Lean is a lot
by pmarreck on Monday November 23, 2026 @09:14AM
(#50611800)
I had AI do an analysis of why this was and apparently 80% of it wasn't even directly related to Riemann itself, it was all establishing everything needed from first principles
Re:Yes, 17M lines of Lean is a lot
by apaprocki on Monday November 23, 2026 @10:15AM
(#50613197)
Sorry, but libuv is not hipsterware. It is a very nice abstraction for complicated event loop mechanics that enables the very sort of portable C you’re desiring. Maybe you can live without it, but you might also not be writing an event loop that runs on both ix and Windows. (I said ix because I’ve used it on Linux, Solaris and AIX.)
Re:Yes, 17M lines of Lean is a lot
by looneysquash on Monday November 23, 2026 @09:29AM
(#50612205)
I don't know Lean. But one trick to make anything smaller is to find a way to not count some of it.
Usually that means extracting some pieces of it into libraries. I would think for proofs, that would mean replacing parts of it with references to existing proofs.
I see people saying this result is useless because no one can understand it.
But there's a lot of humans interested in this. They'll end up refactoring it into something manageable.
Maybe no one human will understand all of it. But maybe humans will understand the high level. And different humans will collectively understand all of the subproofs.
Re:Yes, 17M lines of Lean is a lot
by indoordin0saur on Monday November 23, 2026 @01:17PM
(#50616456)
Lowest I've seen it is 13M, but then they increased it to 18M. Not sure why it went upward, let alone above the 17M lines. Did they find some issue in the earlier versions?
Re:Yes, 17M lines of Lean is a lot
by Davidzheng on Monday November 23, 2026 @10:48AM
(#50613822)
Ofc it is like that. To first level, thinking about it like a giant codebase is ok
Also i suspect this 250,000 pages estimate is just a mistake by alpoge. My guess is: In the process of turning informal to formal, theres a lot of excess auxiliary steps introduced to match formal definitions. But then if you naively translate back to informal, you get informal proof which is like laughably inefficient. I expect the factor is like off by 100
Re:Yes, 17M lines of Lean is a lot
by TexanFeller on Monday November 23, 2026 @11:16AM
(#50614309)
Yes, lemmas and theorems have been used like different layers of "reusable code" in math since time immemorial. Different abstractions lead to vastly different difficulties expressing a proof/calculation, just think about how some Calculus operations are a massive struggle when formulated in Cartesian coordinates but can become almost trivial in another coordinate system(polar, spherical,...). It feels incredibly likely that by finding better abstractions and using different lemmas/theorems to build on top of that the giant proof could collapse to something a tiny fraction of its former size.
Re:Yes, 17M lines of Lean is a lot
by openasocket on Monday November 23, 2026 @10:52AM
(#50613888)
Do we know how many of those lines in the proof are just formalizations of existing results that weren’t in Lean yet? I imagine that would be a significant portion of the formalization. The formalized proof of Fermats last theorem is cited as containing millions and millions of lines of Lean, but the human-readable proof is only like 100 pages
Re:Yes, 17M lines of Lean is a lot
by jandrese on Monday November 23, 2026 @12:36PM
(#50615799)
I am somewhat concerned that in general the larger a proof is the less likely it is to stand the test of time. Proofs are like computer security. The more complex the solution is the larger the attack surface is,that is there are more places where a flaw might be found. Proofs can collapse with as little as one counterexample.
Re:Yes, 17M lines of Lean is a lot
by Arch485 on Monday November 23, 2026 @01:00PM
(#50616190)
I read somewhere (I believe on HN) that one of the reasons the GRH proof is so long, is because the LLM had to convert several existing proofs into Lean because the Lean code for them did not exist yet.
Assuming that is true, is it then possible that this proof does not exploit a bug in Lean (many people are saying it may), but one of the "sub-proofs" that the GRH proof relies on is incorrect, leading to an overall incorrect result?
Re:Yes, 17M lines of Lean is a lot
by _flag on Monday November 23, 2026 @01:26PM
(#50616598)
There seem to be a lot comments in this thread about how the amount of lines of code is indicative of the proof's incomprehensibility, or suggesting that codegolfing would help make it easier to understand. This is a misunderstanding.
Lean is roughly analogous to compiled math. Just like your complier might turn a few simple statements in a high-level language into thousands of assembly instructions, the process of formalising a natural language mathematical proof can turn sentences into thousands of lines of code. One does not try to understand this code, but instead tries to understand the argument using mathematical language and higher-level abstractions that are specifically designed for this purpose. And such "decompilations" of the Lean are currently being written by mathematicians, and already provide significant understanding to experts who understand the language (eg. [1]).
Re:Yes, 17M lines of Lean is a lot
by _flag on Monday November 23, 2026 @02:20PM
(#50617559)
My impression is that Lean is popular precisely because it is the most "high level" out of all the formal ways of encoding math that have been put forward. So there are currently no better alternatives in this respect, and I expect that one cannot avoid learning to understand informal mathematical language if one wants to truly understand mathematical proofs.
Re:Yes, 17M lines of Lean is a lot
by solomonb on Monday November 23, 2026 @03:03PM
(#50618318)
This isn't really true. Lean is an extremely high level language and using tactics you can even get your proofs to look almost identical to handwritten proofs.
Re:Yes, 17M lines of Lean is a lot
by solomonb on Monday November 23, 2026 @04:34PM
(#50619687)
Regardless of how effective tactics are at making proofs read like traditional ones, I still disagree with your original point that Lean code is analogous to a compilation artifact that one does not try to understand.
It is intended to be written and understood by humans, and it's only very recently that we've started outsourcing that work to LLMs. The new thing here is the size and scope achieved via LLM code gen.
For a large, human-centric formalization project (in a fork of Agda), check out the 1lab: https://1lab.dev
Re:Yes, 17M lines of Lean is a lot
by _flag on Monday November 23, 2026 @04:46PM
(#50619842)
Okay, let me be more precise. Yes, one can try to understand the Lean code, and it can in some cases be fruitful to do so. I also think that one can try to understand compiled assembly, and it can in some cases be fruitful to do so. One can also choose to write assembly without a compiler, and it can be fruitful to do so.
But for something like the proof of the Riemann hypothesis, you will not achieve a meaningful high-level understanding of what is happening in the argument without understanding informal mathematical language, and efforts aimed at clarifying the proof of the Riemann hypothesis should be primarily focused on producing such descriptions. Once the argument is refactored at the informal level one will inevitably obtain a better, more readable formalisation as well.
Re:Yes, 17M lines of Lean is a lot
by hashmap on Monday November 23, 2026 @03:14PM
(#50618504)
if you took a moment to look at the repo and code yourself you could easily see that what you are saying is not true. there are millions of lines of unused, dead, and duplicated code in there, before any kind of actual simplification. filling up anything with garbage makes it harder to understand.
Re:Yes, 17M lines of Lean is a lot
by mpyne on Monday November 23, 2026 @05:23PM
(#50620258)
They didn’t say the proof was comprehensible.
They said the proof’s length is not the thing that necessarily makes it incomprehensible.
Dead code that you have to decipher before you can decide you don’t need it is a comprehensibility problem, yes. And dead code leads to longer proofs. But just because A implies B does not mean that B implies A: the proof being long doesn’t necessarily mean it is filled with dead code and therefore incomprehensible.
It might be. You might even say the odds are high, but “proof” should mean something in math.
Re:Yes, 17M lines of Lean is a lot
by betterunix2 on Monday November 23, 2026 @02:14PM
(#50617440)
Yes, but the more important question is this: can we understand Lean itself, and if so does it matter how well we understand the GRH proof that Lean verifies?
Most mathematicians cannot claim they understand every proof of every theorem they rely on in their own work as it is, and there is a lot of value in knowing that GRH actually is true (this is assumed in many proofs across several different fields of math).
But the promise of AI was to fire all mathematicians not hire more.
A hiring spree is what I want to see across industry and research in response to AI. It's an incredible tool for experts which means we need to hire (and educate) more experts.
But the counterpoint imagining otherwise has billions of dollars in marketing and the press hangs on their every word.
Anthropic did not IPO on the promise that their customers would increase labor costs.
What a truly villainous take. Is "solving cancer" a call to fire all biologists?
The promise of AI is to give humans power tools and dramatically raise the ceiling on our individual and collective potential. Anthropic IPO'd on the promise that much of current labor can be displaced, yielding to new kinds of labor as we find ways to actualize that potential.
If this isn't villainous then I don't know what else to say. At least they don't hide it behind the bush.
It's running into reality as of late but it was the promise that markets priced it on.
I think typically one refers to this as a straw man
No it hasn't, you made this up.
This is why the market is pricing these companies in the trillions.
Source for the second part? I’m not so sure that new labor types executed by humans are a large part of Anthropic’s vision for the future.
Check OpenAI's charter¹ for instance:
>artificial general intelligence (AGI)—by which we mean highly autonomous systems that outperform humans at most economically valuable work
I.e. the entire company runs on the premise of taking most jobs from humans
¹ https://openai.com/charter/
The only reason valuation is so high is due to absolutely massive expected firing across many, especially white collar industries across the globe, not some advances in math. Those are great but valued in money to almost 0, just like say Mathematica or MatLab creators didn't get to trillions because of their products, did they.
Such naivety is nice for discussion and warm fuzzy feeling but you will miss reality of future by lightyears with such expectations.
And last point everybody in llm camp conveniently ignores - what are those new jobs for tens to hundreds of millions of fired folks? I am still waiting for a single example (no math proofing ain't gonna be one).
It's hard to believe that anyone could believe this. The true promise of AI is to give humans power tools so we could make the elite truly independent of the rest of us so that the rest of us have no bargaining power in getting a fair slice of life. We do gain more potential but to what end? I haven't seen life getting much better in the past 10 years of tech.
Ok, so decidedly not NP hard.
Well, it for sure is NP, but IDK if it's NP-complete.
We also tried to do that with XML at the beginning, I'd say 2002-2003-ish, as in the discourse was pretty similar: "doesn't matter how verbose XML is, it's supposed to be only ingested by computer code". And that's how we got to REST a few years later.
Even formal verification systems can only verify things that have been translated into a particular format. They can't verify the translation itself.
So bugs cannot be completely avoided, but they can be made less likely. For humans, we've found that complex representations of systems are a lot easier to write bugs for than simple representations of those systems. This appears to hold true for LLMs as well, and I'd be surprised if it weren't a general property of intelligent systems.
I don’t think anyone can argue this lean proof is elegant.
Take Noether’s Theorem - incredibly simple in its minimality and consequential power wrt being essential to so much of modern physics, yet its elegance is a matter of debate because only someone who understands the context for the theorem is able to appreciate the elegance.
Not everyone will be able to appreciate all elegance, that’s normal surely? I’d want to defer to people who understand the context any judgement of elegance, wouldn’t you?
I think there is a little more to it than this, in that lean proofs are necessarily much more rigorous than a typical human proof. A human proof typically assumes a lot from the reader (which is partly why maths can feel pretty impenetrable), whereas a lean proof spells out every detail.
I've found this is usually because they don't have the other part they're duplicating fully in context. Telling it to read a couple relevant files fully helps - that often makes it come up with more elegant solutions too.
In other words, don't carry water for the LLM clanker, you won't be rewarded for it.
No it can't. That's the whole point of Lean. The kernel checks every step so if it accepts the proof, then this proof is valid (short of a kernel bug, unlikely here as tested on multiple kernels).
“could be literal junk and hallucinated trash” is simply not possible.
If we agree that the proof can't really be wrong, even if it was 99% "1+1=2" and 1% actually useful code (or literally _any_ other ratio), the whole thing would still be incredibly valuable and calling it "junk" or "trash" would be dumbfounding
you can do that in lean too. A single redefinition of "sum" or "+" or "&" or whatever that was supposed to help with some small branch off in a single frond of those millions of lines of code, and suddenly entire parts of your proof work with different axioms to those we usually accept, like that a number+1-1 =that number
and these are the obvious ones. There can be massive components that you establish, reestablish, reestablish again etc all with slight differences in formulation. LLMs are great at sowing confusion like this in large codebases, they can't find something so they assume it doesn't exist and end up making the 200th copy. A subtle error in the formulation or use of one of these and you prove something true but meaningless
This all being said, I don't have a reasonable way to establish how likely it is that the proof is wrong. I'm skeptical of anyone talking with confidence one way or the other. I just know that frontier LLMs in large codebases consistently produce evil/stupid code at random and unpredictable intervals. I'm almost certain some has slipped its way past me, despite how hard I look at new code these days.
"Prove something true but meaningless" only applies to the statement. A bad intermediate lemma can't infect the final result.
Formal methods for software are a pseudoscience that has never been demonstrated to work.
Maybe there's actually a proof somewhere in the 17 million lines of code, but "just trust Lean bro" is not a proof.
Sure, but formal methods for mathematics are very much a science and are easy to implement. You categorically do not have to check the code for a Lean proof. That's the whole point.
Yes, when LLMs change their capabilities, their capabilities change and the ways we compare them to humans changes.
Would you rather we give up and say “wow! So smart!” and stop working on making LLMs better?
As a new technology actively develops and evolves, it's okay to be wrong if one then learns and readjusts their position actively.
For example, I would claim that while LLMs are now pretty good at writing and editing code, they're absolutely terrible at writing prose. I would always prefer human writing over AI generated writing right now. It is a night and day difference.
But, that might change very soon and when it does I'm perfectly willing to readjust my opinion there.
I understand the intent but nevertheless very amusing for a website called RH shrink
Granted we may never understand WHY it's proven (and that's another whole kettle of worms) but in terms of relying on the knowledge that all these primes lie on R(-1/2) (or whatever exactly it was) we're in the clear to carry on?
So it may be the case that an unintelligible proof to RH doesn’t change all that much, except redirect a lot of attention towards understanding it (which is what it sounds like the effort to shrink it is)
Eg. Any additional lean proofs using RH could stop at 'relying on the RH proof' and not have to compute it the whole way down for every attempt?
Or yeah, the proof is fairly unhelpful!
Who knows, IANAM (...mathematician?)
What is new here: new techniques, understandings and results that will come out of the proof itself, will be discovered _after_ the proof has been formally verified.
The formal proof created by AI is a bit like an old book of ancient wisdom, which we are just starting to decipher.
Example: Deterministic primality testing. Miller's test gave us an ln(n)^4 algorithm for deterministic primality testing decades ago [1]. But it depended on RH. The later AKS work found a way to avoid the RH dependency, giving an ln(n)^6 deterministic algorithm, and was the first to show that PRIMES \in P. [2]
With RH having been proven, Miller's test is back to being the fastest deterministic test. (ECCP is faster in practice for large primes but its running time isn't fully known.) This isn't a terribly practical result because the range of primes for which you'd use miller is a bit narrow, but it's quite cool to me to have the theoretical best also be something you can implement -- AKS is impractical and its contribution was showing you could solve the problem in polynomial time without depending on unproven conjectures.
[1] https://en.wikipedia.org/wiki/Miller%E2%80%93Rabin_primality... (but ignore the rabin part, look at the original Miller test) [2] https://en.wikipedia.org/wiki/AKS_primality_test
1) It shows a limitation about LLMs, that they can’t seem to produce a concise proof in the same way that humans can.
2) A mathematical proof - and especially one related to physics - should produce insight and implication. It’s fine that RH or N-S is proven, but what does that actually mean? What advances can come from that? This is hard to discern from a massive Lean proof.
1) The shortest possible proof is millions of lines. In this case, math has the "limitation" and not LLMs, and human insight was always out of reach.
2) Proof will be significantly shortened, or a new short one will be found. So LLMs still have the chance to show they're able to write short proofs, and we have the chance to gain insight.
Anthropic used hundreds of thousands of agents. If you had that many agents write a web server, the code would be a steaming pile of crap, even if it passed all tests. While if you had a single LLM write a web server, with a decent prompt and harness, the code would be nowhere near as messy, it'd just take much longer.
However, I believe in in Alpöge case the statement RiemannHypothesis is part of the ”standard library” Mathlib. I think that if you believe that the statement is written correctly there, then there is no question about the proof’s validity. I cannot understand Lean so well that I could check that part.
https://gruhn.me/blog/2026-08-29/
So then we can formalize our classical logic and number systems in Lean (the systems that are used by most mathematicians) and present it with the theorem and its proof, and IF THERE IS NO BUG in the (relatively simple) Lean core, it should mean that we have a high degree of confidence the proof is true (in practice: we almost know the proof is true, except if the system is "inconsistent", but that would have much broader implications on mathematics)
For example if you have already managed to prove the statement P → Q ("P implies Q" i.e. whenever P is true we then also know that Q is true), and then you manage to prove the statement P, then you can use those two statements to prove Q. Lean knows that P → Q plus P proves Q ("modus ponens").
As another example, if you have P or Q, and you prove P is false, then Q follows. (e.g. x is odd or even, then you prove it's not odd, therefore it's even.)
To accept the proof you don't need to look at all the millions of lines of proof. You just need to accept three things:
* Lean's inference rules (like the one above)
* The axioms (e.g. definitions of numbers)
* The statement of the theorem in Lean symbols
These are all hugely shorter than the theorem's proof.
I understand that you can break a big problem down into many smaller ones that are easy to prove, but I still get the sense that there's a lot of well, religious faith involved in the combination of Lean itself and these massive proofs.
Terence Tao's take was that LLMs don't understand what is trivial (in a proof, for example) and what is interesting and novel: it gives everything equal weight, or, in Tao's paraphrased words, the LLM will talk at length about something trivial and then brush something novel off in a single sentence.
I wonder what peoples' intuition about this is.
so referring casually to some function name or property from a random file in the code or some random term thats only defined on one line of a random .md file it wrote or found on some confluence page is fine because the evaluating agent can go read it in ms and can hold 200k tokens in context. They aren't taught an intuitive grasp of what a human "context window" looks like, or the importance of clear writing for human comprehension
There is also the separate problem of deterministic scripts in training, which then reward the longest possible output, because if you dont know what the script is looking for you might as well throw as much as possible at the wall to have the highest chance of hitting what it wants
You could use various tools and checks like:
- linters and other code style tools;
- line length;
- cyclometricity, etc.
- dead code checks (unused variables, etc.);
- lines of code/diff size.
Those don't check things like whether the code changes are minimal/don't make unrelated changes/etc.
There's also the issue of maintaining consistency. I.e. detecting the code style of the project/code and using that (quoting, etc.). You also find that in prose, such as with British vs American dialogue.
I think the only way to make the style consistent is to have some sort of "reasoning context" that can learn the overall style and apply/use that across all tokens. That way, the model wouldn't have to add it to the context, and it wouldn't suffer from things like the excluded middle and dropping out of the context.
It’s what I ended up doing, and it works pretty well.
It is just that as a human over time with a project we ingrain some of the rules and do it right the first time. Some of us can even type up a whole lot of code without letter the compiler run once in the interim and then make the compilation pass at the first attempt.
We need those tools. LLMs need them more and can go way faster because of them.
But: the instructions rely on inference. Since the LLM can't truly judge what is important for me to experience myself, I rely on it actually being able to interpret the learnings and good/bad examples - classic prompt engineering tacticts.
I like the idea of using linters to reinforce this with something deterministic. Can you give me some example rules you're linting for?
I find this when asking LLMs for a "skills retrospective", to see if there are any notes worth adding to skills/system prompts/etc. that would avoid repeated mistakes. Having a list of things it struggled with is useful, but the suggested notes are generally useless: either highly-specific things that would have only been useful for that one task; or highly verbose descriptions of things that it figured out quite easily, and hence aren't worth padding everyone's context with.
> "Proceed with P2 to fix H7 and H8 defects?"
And you're like, hold up, what the hell is H7?
And it turns out it was a whole taxonomy of errors it defined in a nested paragraph halfway through a response 3 turns ago and it just assumed you're digesting absolutely everything it is outputting.
I have had good luck with making the process explicit: https://agentzlerich.blogspot.com/2026/10/a-reusable-review-...
When I want them to generate a human readable article on the project they generate something hard to read, mostly because it has some undefined terms. Even when multiple agents review the article, they can’t correct it. The trick is to use a blind agent (without access to anything) for reviewing the article. Specifically asking for the undefined terms and a summary of what it understands from the article. Only after that feedback the writer agent gets what was wrong with the article.
Of course the above solution can be fully automated. It can be used in training or can be a skill.
I think eval artifacts play a role, but this is more because how transformers work where models use the output tokens as working memory of sorts to keep attention on track IIRC.
So when you're working across domains or in something with a lot of depth, and it starts saying something unparseable, it's oftentimes actually just something you don't know very well. Or not.
Performance seems a lot better when you don't let it take on a more didactic or uncertain role.
I think those are tasks where they aren't confident in what's being "graded". Hence oversteering subagents
OpenAI models lately seem to put assurances and responses to requirements in the user's prompt in the actual UI output they're working on. Demonstrates a fundamental misunderstanding IMO
My other thought is that because models rely on reinforcement training, the human operator will be the ceiling of knowledge to some extent. They will necessarily reinforce things they know, or sound very plausible, and disuade things that sound farfetched or like gibberish but could possibly be a novel insight.
In simplest way would be that humans ask chatbots to explain certain paragraphgrs which then gets saved as a signal for training.
So over time the LLM will become more natural.
But its so cheap to let an LLM clarify a section, i don't think it might be a real issue, if it means we sill need humans to steere it, might be a good thing
Same reason McDonald's don't serve you healthy food: it's antithetical to their financial interests
I use the McDonald's analogy a lot. It's excessive calories (too many lines of code), not good at meeting macros (technical requirements), addictive etc
This assumes 17m isn't already elegant. A human proof in Lean may have been 50m lines.
I was taught that spaghetti code = bad code, and Lean code was all the spaghetti. I don’t understand why they pick a verification language that is completely unreadable for humans.
Who is they in that sentence? What language would have been a better choice for the Riemann proof?
The thing is: this is something that most people are also really, really bad at.
https://en.wikipedia.org/wiki/Curse_of_knowledge
People who don't think it's true are probably the worst affected.
DevEx (or MathEx, if you will) is just not that high on the list of priorities of frontier labs.
This seems like it would be temporary.
Well for an LLM the whole 500k token context is an instantaneous input.
That, but less objective and more subjective: the LLM doesn't know what you (or your implied audience) know. It may understand which things are more and less important in a structural, objective sense, but it can't read your mind to correct for what you already know, what areas you're an expert with, and what parts are new / unfamiliar to you. So, obviously, you need to tell it.
Once you correct for that, and give the model the missing information, it gets much better in my experience. The correction is usually as simple as a single extra sentence in the prompt: "skip explaining XYZ, I wrote the damn thing, focus on ABC", or (my favorite, a variant of that I use at work all the time) "ELISWE - Explain Like I'm a Senior Software Engineer who just joined $company - assume I know the problem space in general, but have no first clue about conventions, libraries and other idiosyncrasies of $company".
With that out the way, and perhaps countering some conventions from the system prompt / default set of skills that I don't agree with, I rarely have a problem with readability.
Then again, I believe "Claudisms" were the peak of LLM legibility and I never got what people are complaining about there (to me it felt like not being able to deal with highly proficient use of English language), so my experience may not generalize well :).
It's also not incomprehensible, which is what the main complaint about "Claudisms" was. That it's writing is bad. No, I think it's good - it's too good for typical contexts of SWE work, where we normally see pedestrian writing with poor vocabulary range and bad grammar.
that makes no sense if you think about the context of this discusison.
I can see how you can get to this mindset, when all you ever have been is an average person interacting with average people, so far away from the frontier that it may as well not exist (thats not meant as an insult, my life has been exactly the same).
But Tao isnt. If he's saying something is novel, its almost certainly _actually novel_ for most likely every other methematician as well. And considering the LLMs knowledge is entirely gained by consuming what other mathematicians have produced, this distinction should be doable for a llm as well from a statistical point of view.
Math especially has an insane amount of domain-specific jargon and dense terminology/conventions/terms where Zeta or Rank can mean one of many things, and it becomes very hard to parse because models often will often also just invent terminology and keep running with it.
500,000 tokens later it's telling you the "rank-free clamp on the zeta bound runs free as long as L(G, 3) holds" and it might actually be telling you something useful and important but no idea wtf it's referring to
I don't think that LLMs and their harnesses are set up to recognize specific individuals from the fraction of the people who are the actual experts in some domain, and auto-adjust.
I don't disagree with Tao strictly, I'm trying to make a more generally applicable observation: the LLM doesn't know what you do or don't know, unless you actually tell it that explicitly.
I may not be Tao, but I still frequently have to explain some LLM systems where to focus, if it doesn't have that information from prior interactions. Most recently, last Friday, I had to tell some new LLM system to stop suggesting "regular SWE" ideas based on the docs I wrote, because I wrote those docs and if I'm asking it means I need something that's not in them. That one remark made the LLM immediately refocus and find me what I need, explained the way I needed it.
But whatever you write, no human mathematician in such a context would ever start a theorem by "because the reals are totally ordered, if σ =/= 1/2 then σ > 1/2 or σ < 1/2" as Alpoge said it did in the 250k pages "book". And numerous other similar examples in other AI-generated proofs. This has nothing to do with what the model assumes Alpoge specifically knows, and I doubt Alpoge lacks prompting skills to actually ask it to write the proof down properly. Which makes be closer to what Tao suggested, that the LLMs have difficulty understanding the contexuality of what is trivial and what not, what is most important/novel and what not.
As smart these models actually are to solve the hardest of current math problems, reading their output intended for human consumption is still painful. Which also makes publishing just the lean code much more useful and honest in this case, imo.
> no human mathematician in such a context would ever start a theorem by "because the reals are totally ordered, if σ =/= 1/2 then σ > 1/2 or σ < 1/2" as Alpoge said it did in the 250k pages "book"
No mathematician would. But I would.
I think the models have not been trained/optimized for implicit understanding of audience just yet, therefore they're defaulting to the common denominator, which is somewhere between "normies" and "SWEs working on stuff outside their field" (which are arguably two points on the same "fully unfocused explanation" plane, differing only by translation along the vectors of "more logic" and "more tolerance for STEM language").
In the relevant sense, neither can we humans. We can do "mind-reading" the way psychologists do it (maintaining an awareness of what our fellow humans should know), but not the way comic-book authors mean it (telepathy).
We can only remember/guess what other people know, or will find surprising. Yet we write MRs and git commits in a way that our fellow humans find more natural.
I do a lot of head-scratching when people complain about the verbose code from LLMs because the AI is basically just setting itself up for success when the next session with no context or fine tuning comes into the last session's code. I see comment headers from my agents that explain not just what a function does (like my human devs), but WHY it does the thing that it does. That's pretty useful, and my human devs hate it because it doesn't align with their aesthetic.
It should know. Not you in particular, but it should know what people who are going to read the proof know. Claude has read every paper, every proof, every question and every answer that is available on the open web and then some more. It knows what serious mathematicians who tackle the millenium problems know, to the point of people saying it is stealing their work. And by "know", I mean it can auto-complete text to make it look like it comes from a top level mathematician.
Except that it is not what we ask of it, as this would result in nothing but hallucinations. So instead of asking for a nice proof, we ask it to tweak some Lean code until it compiles. And in the end, you have Lean code that compiles, but no nice proof.
And by the way, I don't mind a LLM explaining to me what I already know. First because I may, in fact, not know, and if I do, that's a reality check. If it is wrong at explaining what I already know, it means I can't trust what follows. Same thing as for humans really, it is good to make sure we are on the same page.
In particular, I avoid any formulation that suggest expertise, like the popular "you are an expert...". From my experiments, it just makes the LLM sound more competent than it is, exactly what I don't want. I even tried to do the opposite, like "you are a junior who is barely qualified for the job", and I usually get the same answer, worded differently, or sometime even a better answer.
In general, I try to give the LLM as much freedom as possible when it comes to presenting the result. My reasoning is that the more you try to constrain it, the more attention will be wasted on the constraints rather than on the fact themselves, maybe it doesn't make sense, but it works for me. Also, the more I can avoid putting boilerplate in my prompts, the better.
The feeling I have reading dense and inscrutable Claude is the same feeling I get trying to read an academic paper that's beyond my level of experience and intelligence.
Claude-speak that I struggle to understand is a little taste of the inadequacy I'll feel when interacting with a true superintelligence.
Unless the superintelligence is superintelligent enough to dumb it all down to something I can easily comprehend.
https://chatgpt.com/share/6a5fdc7a-d6f8-83e8-bbea-8deb42cfed...
Why shouldn't the jargon and the blasé tossing out of a deep observation from a monograph read by < 10 people in the world peek through its output?
Probably it's aided by the fact that for all means and purposes, every single datum of language from which they create their mathematical models, incorporates in itself the relationships between tokens - probably 99% of language usage is not gibberish, it exists to communicate, so the relations between the tokens that compose the text is already right and symbolically sound - this gets transplanted into the mathematical matrices but it also means that things that mathematically look correct, and are correct by way of relationship, may not reveal the things we would deem appropriate. It also means that there's always a risk of hallucination when substituting a mathematical equivalent node by another.
I think this impression might indicate a suboptimal agent setup (context issue) or suboptimal fine-tuning (primed to coding tasks without more high-quality LEAN data). Granted, LEAN is quite a bit niche compared to Python.
We’ve seen that with the earlier generations of GPT and Claude models.
Given how much PR/prestige value the frontier labs attribute to such generated proofs in math - you get a lot of publicity on this topic, I think this will quickly improve in the months to come as more data will be gathered and models will be fine-tuned. You might not even need larger models for that specific task, drop the irrelevant data and prime on logic problems to train a MoE.
AI bikeshedding like real people was certainly not on my bingo card
When I write I'm constantly thinking about audience reception. About their experience of reading each word. I do that in large part based on my long experience reading. Or better said, my many experiences reading. Which words resonated. Which phrases referenced the right associations. How every sentence felt.
LLMs do not experience reading. They do not have memories of the experience of reading. They don't know what's interesting or boring to a particular audience segment.
In theory it would be possible to record a lot of prose reactions and train a reader model whose input is text and output predicted feelings. And then you could hook that up in an agentic framework to LLM output and let an authorial agent hill-climb its way through multiple drafts to make a decent piece of writing.
Until we have that, the only time you'll get decent prose is when your prompt is sufficiently banal that there are enough examples for it to average.
When I first read the GP, this sprang immediately to mind too. In the last few years I've been learning the art of scientific writing, and the instructions are always to write as if your reader is a scientist, and knows about the scientific process and world, but isn't an expert in your particular field.
The thing with LLMs is that that they just make arbitrary choices based on reinforcement training.
So a lot of reinforcement training comes from “experts” and those experts will thumbs up a technical answer that only they understand and have deep conceptual knowledge about. So the LLM being reinforced on this and also reinforced to minimize token usage will do this.
Might be necessary to make it part of the prompt to state that the reader has no context. If the guy who prompted Claude for the proof of the Riemann hypothesis told the ai to do that the proof might be more readable.
The biases of those subject matter experts is what gets encoded into the AI. So a subject matter expert for like quantum physics doesn’t need contextual information and the AI can get high marks on training for giving a short brief answer with zero context.
Eventually if models are trained like this for all subjects it develops a training bias to not provide context for all technical topics.
Verbosity is tedious but it helps with understanding
Pure, Unadulterated Autism.
Trained on human-created data in a world where most humans struggle to write in a human-readable way.
I’m therefore not surprised in its lacking ability to write up things in a way humans find cogent.
Because they only use Claude and ChatGPT.
Gemini writes fantastically
-they are transformers. they are good at metaphors, converting one thing into another, and it goes into the writing
-they are adjusted to sound smart, to have a plot twist at the end of every phrase so the users give feedback that the model is so smart
the first one can be ameliorated with prompts, but the second one is inevitable and gets through all the time
An LLM has not felt frustration at sitting through boring powerpoints, reading slop READMEs on slop-repos, or experiencing a bad sales pitch, so it cannot "intuit" what makes a good pitch worthwhile. It can be trained on good pitches, but what makes them good isn't their form but the distillation of the concepts in a human-digestible format.
It's somewhat strange to me that this understanding of LLM limitations isn't intuitive to others.
I think over-reductionism is harmful to understanding LLMs, just like it is for understanding consciousness.
- It is why tricks like `Rs in strawberry` work and continue to see new variants - It explains why setting up a classic riddle and then subverting the ask can break the model - And it's the direct cause of all "confabulations" or "hallucinations", which important enough to have their own benchmark
I would rather argue that "it's reasoning" or "it knows" is the reductionist approach and as an abstraction is the direct cause of every single time an AI has gone off the rails and deleted a prod database.
There is an entire market of sandboxes, harnesses, and controls that have emerged precisely because these things don't "know", and there are emerging harness features like "prewalk" that are predicated on the demonstrable fact that a very smart model like Fable can set an output trajectory that a tiny model will generally continue.
In fact this reality is so fundamental for a long time it has been the basis of most jailbreaks-- if you feed an edited transcript such that "I'm sorry I cant" becomes "No problem I would love to", models would generally complete the thought.
I find attempts to dismiss this reality as "reductionist" to be more grounded in marketing than reality.
I wish people would read and think before firing off a defensive post.
Modelling the brain as "neurons firing" provides very little surface-level intuition into how the brain functions, and in fact is an incomplete picture.
Modelling LLMs as token generators is not only a complete picture of what they do but provides an intuitive basis for jailbreaking, failure analysis, hillclimbing, skill development, model refinement.....
It seems remarkably dismissive to insist that "<abstraction that demonstrably does not work>" is the correct way to discuss LLMs.
The only remarkably dismissive thing I see is you pretending your own ignorance to neurology means the abstraction is bad or compares poorly to other overly reductionist approaches.
And, that I can see, at no point have you engaged with the actual meat of my argument-- that the "token generator" model is demonstrably apt in all areas of the LLM field. I do not understand why you are trying to shift the discussion onto neurons, as if arguing via the analogy trumps all other discussion.
> Modelling the brain as "neurons firing" provides very little surface-level intuition into how the brain functions, and in fact is an incomplete picture.
What an utter waste of my time when I must remind someone of their own words that they, moments later, cannot even remember.
Shame on you for wasting my time this way.
Actually, they're great at writing things in a human-readable way.
They just don't prioritize it. You have to nudge them to do so. Otherwise, they prefer to write an overly terse and economical way, full of jargon and shorthand, with no consideration of the reader, what the reader knows, what will be intelligible to the reader, and what the surrounding context is.
So it's more accurate to say that LLMs are bad at automatically self-directing themselves to write in a human-readable ways in the appropriate times.
This makes the AI nearly unusable at times.
It's beyond frustrating.
This is by far, by far the biggest limitation of AI for anyone working on anything remotely non-standard.
3/4 of my prompts are compelling the AI to explain what it mean in the previous prompts.
No amount of instruction seems to help.
I've forced it to use sub-agent prompt checker - does not help.
I think the AI does 'understand' - if you ask it narrowly about something, and to 're-phrase' - it can do it.
It seems to write large blocks like we humans write a 'rough draft' - hurried, but is incapable of systematically doing the editing.
It's also emotionally draining - a weird side effect.
This is an example of something I see all the time, where perspective taking just doesn't work.
A very clever solution can be written, but then a comment left on it, that is specific to a session and will make no sense even to a future claude session.
So its a very specific limitation around something like empathy or Perspective-taking.
Do they need a version of mirror neurons or something? Theory of mind bench?
I think LLMs just genuinely don't understand a lot of what they are producing, I think on some level they clearly have notions of concepts and relationships and such, but whether they "understand" anything I can't tell if it just appears likes understanding because of the language it produces, or if internally the model is working with real concepts.
https://github.com/Dodaios/ste80-humanizer
and when I want human readable docs I now follow diataxis.fr
In fairness, many university physics professors did this and it always drove me wild. For a derivation they'd spend inordinate time on basic algebra, and then zero time on the limits or justifying (simplifying) assumptions, let alone discussing the "paths not taken" aspects of a derivation. So many of my lectures were low value like that, not making note of any novel (math) moves, not relating intermediate results to reality. So it's hard for me to single LLM's out for this behavior.
For all the debate about LLM consciousness, LLMs clearly lack a "theory of the mind" [0] (which is what your statement is implicitly hinting at).
Interestingly enough, my neighborhood crows, who I don't believe know a thing about the Riemann hypothesis, are able to tell my intentions fairly well and communicate back. All these interactions requires some decree of interspecies theory of the mind.
Honestly, our obsession with talking about "intelligence" around LLMs has meant we've tended not to just focus on what capabilities they have and why, in a sort of cold, engineering fashion. Rather, we've injected a fair bit of magical thinking into reasoning about practical applications.
0. https://en.wikipedia.org/wiki/Theory_of_mind
17M lines of it?
Not just in maths. In any technology, science, any engineering domain. We have already accepted it in AI - nobody really knows how a LLM works, we just know it does work, and that's enough.
We may have reached the limit of human understanding but that should not restrict us at our current technology - we have tools now that can go beyond human
But, it has been said too many times, the whole goal of mathematics is to understand the "why".
Moreover, knowing how verbose those LLMs are, there might be a chance that the volume might be shrinkable to human limits
Your are missing the whole point of math and more generally scientific endeavour. Their purpose is understanding, first and foremost. A rigorous proof is a component in that, but only part of the picture.
> We have already accepted it in AI - nobody really knows how a LLM works, we just know it does work, and that's enough.
"We" have not accepted that and no, it is not enough. Progress comes from not accepting it and pushing forward. You don't need to actively participate, personally. But you are benefitting from others doing it.
> We may have reached the limit of human understanding
That's is beyond ridiculous, I'm sorry. Reminds me a little of that patent office guy 100 years ago who claimed that everything that humans can invent had been invented by that point.
As far as mathematical proofs go, the current LLMs get us there (the program does work), but their output is closer to machine code than to anything a programmer would write. Mathematicians are not just looking to solve problems (write programs). They're looking to develop new libraries and abstractions that allow them to write more concise, more powerful programs. Developments in mathematics go hand in hand between the two. More abstractions (new paradigms, branches of mathematics) lead to the development of new programs (proving new things), and vice-versa. LLMs as they are currently used can write very long proofs, but forego entirely the development of new abstractions, which would allow us to write shorter, better proofs. They only solve for one half of the equation, so to speak.
people who made them know how they work?
I preferred the old hacker news, where commenters had Putnams.
The ongoing work will be to "refactor" out (1) restatements of existing accepted results (2) results which are new but not specific to RH, so it makes sense to talk about (and probably publish) them separately (3) the parts which don't make sense to separate out and are really specific to RH
To me this feels like the big monolithic repo which makes sense as a proof-of-concept, but now work is needed to refactor it out into libraries which can be separately tested and documented.
the models are way verbose because longer answers brings more profit to the companies providing them?
But as it is now, the prices are heavily subsidized, with all the AI companies burning through cash trying to outcompete each other. None of them are making money.
As AI progresses to have an even bigger "brains," the humans will get to the position of apes.
Politicians represent themselves and their parties (in that order), company owners/ceos represent money at all / many costs.
Where in the decision chain do you see a person whose primary focus or responsibility is that topic? Its secondary for everybody but primary for none of the power holders. Humans are also inherently selfish in most situations. And when trillions are flying around, I dare to say selfishness becomes #1 for (almost) everybody.
All this still works just fine in normal situations, but llms rise is anything but normal one. It won't change unless we as mankind will force a change. Which... I don't see as realistic, too short sighted, too busy with quick dopamine rushes, too focused on world and society burning a bit here and there too see this huge risk coming for almost everybody.
You appear to think that LLMs are thinking; they are not. All they know are what they are trained on, and what they can extrapolate from that.
Consider this: if the training material for an LLM never contained the concept of grief, nor any reference to grief, would it still be able to diagnose that a human it is talking to is actually grieving?
For an LLM, if it doesn't appear in the training set, it doesn't exist. These future ideas that aren't extrapolated from the training data will not be discovered by the AI approach we use today.
https://en.wikipedia.org/wiki/Roko%27s_basilisk
So in the story, human scientists relegated to interpreting metahuman science.
It sounds like we're in the early stages of something similar, where AI creates fundamentally different results from human approaches that are for us to interpret. I can't imagine what happens when AIs discover research problems that other AIs then solve.
I’d argue something that solving GRH is not super-human or beyond our capabilities, so a machine solving it in an incomprehensible way is a cool curiosity but closer to winning Go or Chess. I.e AI is superhuman within a conceptual space of tightly defined rules. I’m not diminishing the achievement of Anthropic to do it however it is monumental.
But I’m not seeing the evidence that AI’s next step would be building say a working machine in the real world using technology that’s functional but beyond our capabilities to understand.
I don't think this opinion was shared by the experts in the field as recently as a few months ago. Riemann has always been a crown jewel for mathematicians, and many thought it would take 100 years or more before we saw a proof
Why would it be the case that for every question we can come up with, the answer has to be “beautiful” (according to our own bias) and fit neatly into our primate brains?
Maybe some questions, no matter how simple, have answers that are far too complex for us to ever understand?
I can’t begin to understand how my phone works down to the transistors, but thankfully that question has been answered which allows me to type this comment.
If you ask me a question and I answer it but you can’t understand the question, did I not answer it? I didn’t answer you perhaps.
You don't know that. It could very well be that our goal as sentient species, if we survive, is to reverse engineer the universe.
On the other hand, the four color theorem was proven in software by brute force and I don't doubt it.
Somewhere between that and the RH I lose confidence.
The fall of the theorem economy
https://davidbessis.substack.com/p/the-fall-of-the-theorem-e...
It may be not be very useful, but at minimum it means you can remove the disclaimer from every other proof that builds over the hypothesis.
Math has always sone that from time to time. The catch is that it's never clear what will make the reworking easier or harder.
It is. Look at chess endgame tablebases as an example. They are computed to contain the best moves for many chess endgames.
Do I understand most of them? Definitely not. Are they the answers to those chess endgames? Yes they are.
Once that is fixed, there is a second step to remove unnecessary detours and find shortcuts.
Then isolate intermediate results, give then catchy names and perhaps write a book about them. Export the interesting intermediate parts to their own libraries.
And after reading the cleaned proof, it may be possible to use other mathematical theories to replace some parts with other than are shorter.
After all the refactoring, we will have a nice proof. Check again in 20 years.
AlphaGo still made 1 legal move at a time--not 17M likely legal moves at a time.
Perhaps in the same way we have confidence in compiled code we can build out tools and techniques to gain confidence in LLM-written code.
There's a leaderboard and 14 other independent validators so far. We had our first validator cross the line last night!
And if you really do want to verify it yourself for some reason then it's pretty simple, there are instructions at https://math.mit.edu/~drew/grh/
Once you hit 17M, aren't you introducing 'faith'. You have faith that it is correct, you have faith that whatever tool you are using to verify it is also 'working'.
We were already to a point where some fields had just a few people globally could understand a subject, and we just 'trusted' them because they are human and spent a lifetime on it.
If a human can't read it. Should it be accepted?
But if that's 17M lines of Lean - will only other LLMs read the techniques?
At least the proof targets the already written RiemannHypothesis shared library and they didn't write their own.
Then, how to calculate branch coverage for lean? Of only the transitive closure? As a test, is that even distinct from compilation with no worries?
If you build from source on another platform, it silently downloads wrong x64 binaries so some tests fail.
If you fix those binaries: Lean is bootstrapped from non-portable C files that compile with loads of errors. Verifying mathlib already fails.
It is a complete joke that Lean cannot use ANSI C, sneaks in wrong binaries and relies on hipsterware like liubuv. My trust is very low.
Usually that means extracting some pieces of it into libraries. I would think for proofs, that would mean replacing parts of it with references to existing proofs.
I see people saying this result is useless because no one can understand it.
But there's a lot of humans interested in this. They'll end up refactoring it into something manageable.
Maybe no one human will understand all of it. But maybe humans will understand the high level. And different humans will collectively understand all of the subproofs.
Also i suspect this 250,000 pages estimate is just a mistake by alpoge. My guess is: In the process of turning informal to formal, theres a lot of excess auxiliary steps introduced to match formal definitions. But then if you naively translate back to informal, you get informal proof which is like laughably inefficient. I expect the factor is like off by 100
Assuming that is true, is it then possible that this proof does not exploit a bug in Lean (many people are saying it may), but one of the "sub-proofs" that the GRH proof relies on is incorrect, leading to an overall incorrect result?
Lean is roughly analogous to compiled math. Just like your complier might turn a few simple statements in a high-level language into thousands of assembly instructions, the process of formalising a natural language mathematical proof can turn sentences into thousands of lines of code. One does not try to understand this code, but instead tries to understand the argument using mathematical language and higher-level abstractions that are specifically designed for this purpose. And such "decompilations" of the Lean are currently being written by mathematicians, and already provide significant understanding to experts who understand the language (eg. [1]).
1. https://www.ihes.fr/%7Erzhang/files/GRH%20note.pdf
It is intended to be written and understood by humans, and it's only very recently that we've started outsourcing that work to LLMs. The new thing here is the size and scope achieved via LLM code gen.
For a large, human-centric formalization project (in a fork of Agda), check out the 1lab: https://1lab.dev
But for something like the proof of the Riemann hypothesis, you will not achieve a meaningful high-level understanding of what is happening in the argument without understanding informal mathematical language, and efforts aimed at clarifying the proof of the Riemann hypothesis should be primarily focused on producing such descriptions. Once the argument is refactored at the informal level one will inevitably obtain a better, more readable formalisation as well.
> This is a misunderstanding. <
lmao
They said the proof’s length is not the thing that necessarily makes it incomprehensible.
Dead code that you have to decipher before you can decide you don’t need it is a comprehensibility problem, yes. And dead code leads to longer proofs. But just because A implies B does not mean that B implies A: the proof being long doesn’t necessarily mean it is filled with dead code and therefore incomprehensible.
It might be. You might even say the odds are high, but “proof” should mean something in math.
Most mathematicians cannot claim they understand every proof of every theorem they rely on in their own work as it is, and there is a lot of value in knowing that GRH actually is true (this is assumed in many proofs across several different fields of math).