Hacker News new | ask | show | jobs
by otabdeveloper4 9 days 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.

1 comments

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

You could have millions of lines of 1+1=2. It's true, but trash.
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

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, such that a number+1-1 =that number may not be true anymore

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

there are ways to check for this - the problem statement is usually made in one file, then defined again in the code to be compiled. The compiled versions can be checked against each other, in several compilers and versions of lean, and in the case of the RH proof here they say they're the same (haven't had elements subtly redefined to prove something different). But also that check was itself a constraint that the agent knew about - and we've caught LLMs cheating this way before, so it could well just be better at hiding things.

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. My confidence is higher than 50% this result will hold, but less than 90% - I would not at all be surprised if its retracted also

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.

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
Nobody knows the answer to your question because nobody is gonna be reading those 17 million lines of schizo LLM slop.

In any case, that code is a computer program, not a proof.

Maybe there's a proof actually hiding somewhere in that program, but we'll probably never know.

But it’s been verified with the problem statement not just from the author but multiple sources
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.

Your argument doesn't support your claim. It could still be millions of lines of trash.
Lean is not a magic oracle, it is a compiler and a programming language.

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.

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

Unfortunately, no formal methods for mathematics have been used to construct this "proof".
Erm. That is exactly what Lean is?
No. Lean is a computer program.

Is a computer program isomorphic to a proof?

Maybe, maybe not. (Good luck proving that assertion.)