• dmos62 4 hours ago

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. It'll make references to parts of the solution, or of the problem being solved, without contextualizing it, making the references useless, serving only to add confusion to the text.

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 write only a single sentence about something novel.

I wonder what peoples' intuition about this is.

• TeMPOraL 2 hours ago

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

(I have ELISWE on speed dial, and some skills with similar specific instructions - for when I need a step-by-step proof of a claim, or conversely, for when I need a judgement and key info up front, so in a typical case I don't need to read anything beyond the first sentence.)

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

• ffsm8 an hour ago

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

• weitendorf 12 minutes ago

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

• hyperpape 13 minutes ago

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

• NoDodgeQuestion 2 hours ago

https://louisabraham.github.io/load-bearing/ this you think were the peak?

• queenkjuul 5 minutes ago

Sorry but i have no choice but to laugh at hearing opus's English described as proficient

• wpietri 43 minutes ago

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.

• RugnirViking 4 hours ago

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

The above is sort of the "common wisdom" I have found regarding this issue over the last year on here and amongst devs I work with. However I'm not sure its the whole story because tbh agents have quite poor mental models of how other agents will behave, too. 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

• xnorswap 3 hours ago

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.

• RhysU an hour ago

I, too, found this tendency to refer to vague antecedents frustrating. Especially so in long-running review/editing sessions.

I have had good luck with making the process explicit: https://agentzlerich.blogspot.com/2026/10/a-reusable-review-...

• taneq 2 hours ago

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.

• kd0amg 4 minutes ago

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.

• ozgung an hour ago

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.

• rhdunn 3 hours ago

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.

• stingraycharles 3 hours ago

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.

• spockz 3 minutes ago

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.

• jadyoyster 3 hours ago

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.

• ninkendo 33 minutes ago

I won’t believe for a second that you can lint for “does this make unrelated changes” or “is this consistent with the rest of the codebase” with a regex match. I’m not sure you even read GP’s post.

• spockz a minute ago

[delayed]

• Dg6 an hour ago

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

• chriswarbo 3 hours ago

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

• weli 21 minutes ago

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.

• hnedeotes an hour ago

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.

• ehnto 4 hours ago

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.

• jmaker an hour ago

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

• cultofmetatron 25 minutes ago

> will talk at length about something trivial and then write only a single sentence about something novel

AI bikeshedding like real people was certainly not on my bingo card

• maCDzP 37 minutes ago

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.

• nilsherzig 4 hours ago

In general they seem to be pretty bad (relatively) at the whole theory of mind stuff

• charlieyu1 3 hours ago

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.

• criddell 19 minutes ago

> 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__alchemist an hour ago

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. Most of what they write is difficult to read, and does not possess an understanding of what should be written.

• ky3 2 hours ago

A language model is an average of all texts written at all levels, from specialists to the general audience.

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?

• origini 4 hours ago

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

• phreack 9 minutes ago

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

• drited an hour ago

LLMs seem to assume we too have a million-token context window

• tananan 3 hours ago

The answer seems really simple to me: they are not (sufficiently) trained for it.

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.

• throwawayffffas 3 hours ago

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.

• MartinodF 2 hours ago

Try the Gemini 4 models, Neon in particular, you'll be delighted

• selimthegrim a minute ago

Hydrogen can’t read PDFs properly can Neon?

• woggy 4 hours ago

Someone once described it to me as LLM autism

• gib444 3 hours ago

Autistic people are far more accurate

• gib444 3 hours ago

> 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

• jonathanstrange an hour ago

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.

• conartist6 2 hours ago

Word shitter shits words. Not alive. No reason to care. Only continuous shitting

• taneq 2 hours ago

Truly we have trained it in our image.

• dools 2 hours ago

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.

• uh_uh 17 minutes ago

The entire history of your life is also an instantaneous input to you at every given moment, so not sure what insight is there to be gained this way.

• nomilk 3 hours ago

> What are peoples' takes on why LLMs struggle to write things in a human-readable way?

This assumes 17m isn't already elegant. An equivalent human proof in Lean may be 50m lines.

• brazzy 3 hours ago

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

• Planktonne 2 hours ago

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.

• brazzy 36 minutes ago

It's called the "curse of knowledge" and widely recognized with experimental evidence.

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

People who don't think it's true are probably the worst affected.

• lukaslalinsky an hour ago

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.

• criddell 10 minutes ago

I remember when AlphaGo played Lee Sedol in 2016 some described the machine's play as feeling alien.

I wonder how well this article will hold up? Fifty years from now, will 17M lines of Lean still seem like a big proof, or will future proofs be more complex in the same way that a 2025 microchip is more complex than a 1975 microchip?

• adgjlsfhk1 6 hours ago

It's down to 13m https://rh-shrink.github.io/. Decent chance it hits 11m by tomorrow

• VoidWhisperer 6 hours ago

It just shot up to 18 million lines now.. I tried checking the changes but github isn't a fan of rendering a commit with millions of lines

• adgjlsfhk1 5 hours ago

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

• msdz 5 hours ago

Try diffshub.com instead of github.com on the commit URL, that ought to increase the odds of rendering it out successfully

• traes 4 hours ago

> 121.3% of the original code lines left

I understand the intent but nevertheless very amusing for a website called RH shrink

• vibebingo 6 hours ago

Looks like it has gone up. Guess I should have invested!

• _s_a_m_ 4 hours ago

wow, that changes literally nothing

• whazor 4 hours ago

13M lines proof is still better than a 17M lines proof, assuming its correct (and also assuming the 17M one is correct too)

• lossyalgo 3 hours ago

Too bad it's now 18.83M lines.

• laser 6 hours ago

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.

• GrollingGrakbor 6 hours ago

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.

• grey-area 6 hours ago

Elegance is information compression.

• GrollingGrakbor 6 hours ago

Not really/only tangentially. Elegance also implies an artistic component.

• grey-area 5 hours ago

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.

• siddboots 6 hours ago

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?

• William_BB 5 hours ago

I think the comparison is between natural language proofs (1000 pages for Masullo vs 250,000 for Alpoge)

• otabdeveloper4 3 hours ago

Nobody has read the 17 million lines, so it could just as well could be literal junk and hallucinated trash.

In other words, don't carry water for the LLM clanker, you won't be rewarded for it.

• williamdclt 2 hours ago

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

• 7734128 2 hours ago

You could have millions of lines of 1+1=2. It's true, but trash.

• williamdclt an hour ago

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

• stingraycharles 2 hours ago

You’re missing the point that the problem statement is not trash, has been verified to be correct, and as such the proof must be correct.

“could be literal junk and hallucinated trash” is simply not possible.

• matsemann 36 minutes ago

Your argument doesn't support your claim. It could still be millions of lines of trash.

• markasoftware 5 hours ago

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.

• throwaway198846 5 hours ago

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.

• skeledrew 6 hours ago

Well yeah. Even today machine generated code is almost always more verbose than code written by a competent developer.

• bot403 6 hours ago

Did we try adding "and make it elegant - the sum of all human knowledge depends on it" to the prompt? I heard that gets better results.

On a more serious note this is a struggle I have with llms. They can be verbose, but then, if we're just going to have llms edit code and proofs and it's verifiably correct then do we truly care? The answer is not a clear yes or no.

• paganel 6 hours ago

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

• hmontazeri 6 hours ago

Agreed. It’s basically brute force…

• dead_hn_theory 6 hours ago

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.

• pastel8739 5 hours ago

You can only make this argument because you aren’t defining the term “knowing”, I think. How would you define the term to make this claim still true?

• helsinkiandrew 42 minutes ago

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?

• chorsestudios 6 hours ago

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.

• Someone 5 hours ago

> Does the raw count of lean code lines shed any light on how impressive Andrew Wiles' proof of Fermat's Last Theorem was?

No. You can increase the line count of any Lean proof almost at will by expanding axioms it builds on by their Lean proofs.

Also, one can write very long proofs for simple statements. As a stupid example a proof for “there is only one even prime less than a million” could follow the lines of

- proof 1 isn’t even - proof 2 is even and prime - proof 3 isn’t even - proof 4 is even, but not prime - proof 5 isn’t even … - proof 999,998 is even, but not prime - proof 999,999 isn’t even

instead of the simpler

- even numbers are divisible by 2 - prime numbers are only divisible by 1 and itself - assume p is an even prime - the, p being even, it is divisible by 2 - and, p being prime, it is only divisive by 1 and p - 2 ≠ 1 - hence p = 2

• steinwinde 2 hours ago

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

• tito an hour ago

For those want to run the 17M lines of Lean yourself, I built Riemann@home: https://riemann-at-home.github.io/riemann-at-home/

There's a leaderboard and 14 other independent validators so far. We had our first validator cross the line last night!

• brap an hour ago

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?

• jbs789 an hour ago

An answer that we do not understand is not an answer is it?

• Ohentis 3 minutes ago

It very much is, just not one we like very much.

• left-struck an hour ago

The universe doesn’t exist for us to solve its problems. There’s nothing in its “design” that requires that it be understood by humans.

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.

Edit: Actually this goes beyond out universe since it’s actually a problem which could exist in any universe I suppose.

• gosub100 12 minutes ago

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.

• marcosdumay 28 minutes ago

If it's a proof, it's a proof. It doesn't matter whether we understand it or not.

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.

• brap an hour ago

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.

• gosub100 31 minutes ago

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.

• smy20011 7 hours ago

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.

• brian-armstrong 6 hours ago

I think what you're describing is NP-hard, at least naively.

• marcosdumay 23 minutes ago

> NP-hard

Well, it for sure is NP, but IDK if it's NP-complete.

• fc417fc802 6 hours ago

Isn't what LLMs do also NP-hard (at minimum)?

• brian-armstrong 5 hours ago

No. What LLMs do is stochastic inference of pre-computed matrices. It is decidedly polynomial.

• arnaudsm 3 hours ago

You're mixing the means and the end. The human brain interactions are polynomial yet we can solve many NP-hard problems.

• brian-armstrong 3 hours ago

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.

• arnaudsm 3 hours ago

That was just a counterexample, of course humans and LLMs are entirely different.

• panstromek 5 hours ago

This is what they do in practice, but the point of that is to approximate NP hard problem.

• lllllm 6 hours ago

easy, just add a line to the prompt to solve P=NP first

• dyauspitr 4 hours ago
• QuesnayJr 2 hours ago

There's some work on that, like here: https://riemann.verifytask.cn/

• michaelchisari 6 hours ago

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.

• staticshock 6 hours ago

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

• michaelchisari 6 hours ago

I agree, it is villainous and not my position. But it's been the refrain of the frontier AI companies and tech leaders from the beginning.

It's running into reality as of late but it was the promise markets priced it on.

Would they have even been able to raise funding if they said AI would create near impossible complexity, requiring verification from many highly trained experts and potentially explode labor costs?

Would industries have jumped directly to adoption on that pitch?

Of course not. The markets were priced on the promise of labor destruction.

• petesergeant 5 hours ago

> I agree, it is villainous and not my position

I think typically one refers to this as a straw man

• orbital-decay 5 hours ago

What? Replacement is a commonly expected outcome in the entire field, no need to whitewash it. Countless words were written about it by the founders.

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/

• skeledrew 6 hours ago

The promise of AI is to make it so we can do whatever we want, whenever we want, without having to think about sourcing food, clothing and shelter.

• pastel8739 5 hours ago

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

• discreteevent 6 hours ago

LLMs have not solved cancer. If you have a good argument, it shouldn't need a fiction to illustrate it.

• paganel 6 hours ago

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

• kakacik 33 minutes ago

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). The answer is for now and for foreseeable future - nothing. There you have the reason why so many folks including me hate it, despite/because of seeing full potential.

• alansaber an hour ago

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?

• FinnLobsien an hour ago

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.

• edo_cat an hour ago

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.

• ijustlovemath an hour ago

> 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

• throwaway198846 5 hours ago

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?

• sig-11 5 hours ago

/n/r

• Incipient 6 hours ago

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?

• teamonkey 5 hours ago

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.

• srdjanr 4 hours ago

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.

• logicchains 3 hours ago

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

• xienze 2 hours ago

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.

• shaky-carrousel 15 minutes ago

Anthropic only wants cheap publicity. This is the cheapest way.

• kyykky 3 hours ago

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.

• pastel8739 5 hours ago

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)

• dgacmu 13 minutes ago

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.

[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

• tmnvdb 2 hours ago

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.

• Incipient 5 hours ago

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?

Or yeah, the proof is fairly unhelpful!

Who knows, IANAM (...mathematician?)

• maratc 2 hours ago

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 "international law against trafficking and sale of apes." Apes can benefit from all these ideas but are incapable of comprehending them.

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.

• orphereus 2 hours ago

And why would we, as humans, want that?

• maratc 2 hours ago

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

• agumonkey 2 hours ago

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.

• kakacik an hour ago

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. The typical not-my-problem and I-don't-care-about-consequences-down-the-line-on-others-while-cashing-huge-money situation.

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.

• negura 4 hours ago

Paul Erdos believed that short, elegant proofs came out of God's own Book. Perhaps he would have also believed this proof came out of Satan's Book.

• ky3 2 hours ago

The accursed one doesn't use books. He thinks he's got it all up there. Boy, does he have a surprise in store.

• larodi an hour ago

So do the billions of assembly instructions essentially every OS is compiled into. Does it bother anyone that much? I think not.

• forinti an hour ago

This proof was definitely too big to fit in the margin.

• wigster 4 hours ago

Mathematics rightly viewed possesses not only truth but supreme beauty. Bertrand Russell

17M lines of it?

• stringfood 7 hours ago

God created the universe in seven days and over 22 billion lines of lean, so we have some catching up to do

• d_tr 6 hours ago

Nah, it was mostly hacked together with Perl.

• reader9274 5 hours ago

And no one was surprised that it was valid Perl

• cbg0 4 hours ago

As someone who's worked with Perl, the language is clearly a proof of evolution rather than intelligent design.

• alcomatt 3 hours ago

17M screams to be - in realistic terms - unverifiable.

• tmnvdb 2 hours ago

Did you look up how formal verification in Lean works?

• FrustratedMonky an hour ago

17M. Maybe there should be a rule that there is some threshold or 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.

If a human can't read it. Should it be accepted?

• CodeCompost 5 hours ago

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?

• ngruhn 4 hours ago

It works very similar to a type checker actually. I tried to explain it here by comparing with TypeScript:

https://gruhn.me/blog/2026-08-29/

• CodeCompost 4 hours ago

Thanks for this :-)

• quietbritishjim 3 hours ago

Lean has a bunch of rules about what a proof can deduce from earlier statements.

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, because Lean checks that they all follow correctly from earlier statements. You just need to accept three things:

* Lean's inference rules (like the one above)

* Axioms (e.g. definitions of numbers)

* The statement of the theorem in Lean symbols

These are all hugely shorter than the theorem's proof.

• xienze 2 hours ago

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. Because at the end of the day no human can comprehend what Claude produced and we just have to take it all at face value.

• nulld3v an hour ago

There is a Lean checker called con-leche whose implementation is formally verified. The 17M GRH proof has passed con-leche verification.

Con-leche (and it's proof) are themselves implemented in Lean so there is some recursion here, and therefore some possible sources of bugs:

- The proof of con-leche could be invalid. This is unlikely considering the proof has been checked by multiple other Lean implementations. But at least the proof of con-leche is easier to check by hand than the 17M monster GRH proof...

- The Lean runtime might have a bug that affects the execution of con-leche in such a way that it falsely accepts an invalid proof. Also unlikely considering:

a. con-leche tries to use a small subset of the entire Lean runtime that is more well-tested

b. There is a port of con-leche to assembly named con-agua that has been formally verified (again using Lean) on a mathematical model of an x64 CPU

c. There are ports of con-leche to other runtimes (e.g. Rust) and those ports return the same result as con-leche on the GRH proof

• Leherenn 2 hours ago

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.

• pastel8739 5 hours ago

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

• alcomatt 3 hours ago

Does something being logically confirmed, automatically validates proof?

• tmnvdb 2 hours ago

It shows that the results follow from the axioms, assuming the axioms are consistent. That's basically as good as it gets for a mathematical proof.

• oulipo 4 hours ago

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)

• brador 2 hours ago

If I was a temporal AI I too would invest heavily in distracting the smartest people on the planet.

The only ones who could stop me.

Power and intelligence.

https://en.wikipedia.org/wiki/Roko%27s_basilisk

• VeejayRampay 3 hours ago

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?

• vustagc 3 hours ago

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.

• VeejayRampay an hour ago

aren't output tokens where they make the money?

• xyzsparetimexyz 3 hours ago

My understanding is that in those 17M lines is a lot of theorems essentially 'inlined'. Could it use the ones from mathlib instead?

• turboponyy an hour ago

puter, simplify the proof make no mistakes

• s08148692 4 hours ago

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

• dgan 4 hours ago

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

• tmnvdb 2 hours ago

I don't see any fundamental reason why we cannot increase understanding by studying a complex proof created by AI.

• dyauspitr 4 hours ago

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.

• teiferer 3 hours ago

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

• rvba an hour ago

> nobody really knows how a LLM works, we just know it does work, and that's enough.

people who made them know how they work?

I preferred the old hacker news, where commenters had Putnams.

• vustagc 2 hours ago

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)