by laser · 1w ago · 0 comments
I don’t think anyone can argue this lean proof is elegant.
I believe that many of the top entries for the Hutter Prize, the 1/2 million euro prize for compressing 10gb of human knowledge, are all using LLM based compression. http://prize.hutter1.net/
In this case does the verbosity, or the inelegance, imply that the way the solution was found was intrinsically unintelligent, akin to brute force?
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.
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.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).
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.
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.
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.
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.