News for hackers. Stuff that matters.
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.