“…and the proof is checked in Lean”

40 points by freddyb


Gaelan

Why not? Because Lean now has many kernels, created by users, written in many different languages, and at least one of which is formally verified to have no bugs, right down to the assembly level.

I'm not sure how much stock to put into this - if there's a bug in the semantics of Lean, it's it seems entirely plausible to me that that many independent implementations have the same bug. (I'm reminded, for example, of the incident a decade ago where we discovered many JWT libraries across many languages accepted tokens with alg=none.)

As for the formally verified kernel (I believe this refers to con-leche), I note that this too relies on an LLM-generated Lean proof. So it's a bit circular - if you're worrying about LLM-generated Lean proofs exploiting bugs in Lean kernels, then by definition you can't be sure con-leche is as bug free as its formal verification implies. In particular it seems entirely plausible to me that if there were some bug in Lean's semantics, it would arise very naturally in an attempt to prove, in Lean, that Lean's semantics were fine.

madhadron

Something I haven’t heard articulated yet is that LLMs brute forcing proofs in Lean relies on having problems already reduced to a form where there are good definitions and a structure of gambits to use them. What we’re seeing being dumped is all stuff where humans were within a few years and the ground had been prepared. That kind of well plowed ground is a finite resource.

When a human works that ground to produce the final result they produce material that prepares more ground. Fermat’s last theorem is far less interesting than the connections and methods Wiles developed to prove it.

But these enormous LLM proofs don’t produce any such thing. They are strip mining, and I don’t see how the transformer architecture can do anything but that. So I am interested to see how fast this particular trend dries up and how much damage it does to the next decade of mathematics in the process.