judging by claudes review because it actually rebuilds and proves a bunch of stuff in mathlib that wasn't sufficiently formalized, but were required dependencies.
Five years ago very few proofs (outside of logic) were formalized.
Proof assistants existed for 50 years - they are not new. But it's REALLY hard to formalize something which is not just logic. Even just logic is not trivial. Russel's Principia Mathematica needed 360 pages before it can prove 1+1=2.
prove that (Russell's definition of 1 as a set) (Russell's definition of + in terms of set operations) (Russell's definition of 1 as a set) = (Russell's definition of 2 as a set), that is
He did not prove one apple and one apple make two apples, he proved that his complicated definitions of arithmetic using sets were not completely broken.
I suspect it includes a lot of formalization of existing, peer-reviewed mathematics. Including these bloats the code but makes the verification more self-contained (less AI-written unverified inputs to lean).
For whatever reason, the LLMs currently generate very long proofs of results. For example, they often rephrase earlier arguments rather than citing them, or repeat their own arguments. (I've experienced these myself.)
It'll just take some work to simplify this. From Alpoge himself:
"My intuition insists it will be massively simplified, likely immediately.”
This is true for code, even frontier models, they will often not use a library, or not modify the library but rewrite an almost identical function(s), etc. It's very interesting and needs constant vigilance
One real problem with depending on Lean is that if there are any real bugs, then sufficiently-large swarms of agents are guaranteed to eventually come up with proofs that depend on the bug.
This comes up frequently in threads but it's actually a much less impactful issue than you might think. There are actually several entirely disjoint implementations of Lean, each with different bugs; it is incredibly unlikely an agent would be able to exercise the same bug in every single implementation.
I found a bug in Lean a couple of weeks ago with an LLM, in fact, but it was in its 'macro' system that expands code into statements, not the actual proof system. It wouldn't have proven anything false, but it could have produced statements that aren't what you intended.
Comments (2,121) 275 threads
Show all comments
Showing thread 1 of 275
Proof assistants existed for 50 years - they are not new. But it's REALLY hard to formalize something which is not just logic.
Even just logic is not trivial. Russel's Principia Mathematica needed 360 pages before it can prove 1+1=2.
He did not prove one apple and one apple make two apples, he proved that his complicated definitions of arithmetic using sets were not completely broken.
It'll just take some work to simplify this.
From Alpoge himself: "My intuition insists it will be massively simplified, likely immediately.”
One real problem with depending on Lean is that if there are any real bugs, then sufficiently-large swarms of agents are guaranteed to eventually come up with proofs that depend on the bug.
Continue this thread — 13 replies
Continue this thread — 2 replies
Continue this thread — 14 more replies