It just occurred to me that if AI had been around for a decade, and Lean was new, we're be saying that "Lean solved these problems" and not AI.
Clearly the fact that we've got such a powerful and expressive theorem prover is the only reason AI (a perpetual guesser) is able to do advanced math at all (exactly like with nontrivial coding tasks and automated tests). The checker is just as key to the result as the guesser.
I'm pretty sure chess engines don't work by generating random positions and relying on a verifier to check legality. The rules are integral to the search process. Computer chess engines beat humans by searching much more quickly and deeply.
Neither do AIs with math- otherwise we wouldn't need them, it would be enough to brute-force all possible expressions and have lean remove the wrong ones. The only reason lean is useful in this case is that llms have mathematical intuition and use it to plan long paths towards the goal.
It's an interesting test case because their transformer model was trained on stockfish data, which relies very heavily on search. The paper is basically, we tried to emulate stockfish with a transformer and did ok for some definitions of ok.
But here's the question: if the training data relies on search, and the model relies on the training data, does the model also rely on search? I kinda think it does.
Humans also train their chess intuition by studying positions with more brute force search than they would use under time constraints. When they play, they don't need to search as deeply as they do during study. This model learns in roughly the same way on more and better data but searches even less than humans do during an actual game.
Without AI a person would have to write the proof. Then we would say that the person proved it (in Lean).
At least in this case, it’s pretty “human” how we attribute this to AI and not just corporate propaganda. We are all to some degree wowed by something that tries many different things and arrives at something novel in the end. But we’re not wowed by a program that checks the result is valid.
Verification is a binary yes/no right? The AI being able to make progress in some directions and reach the end goal, without any direct feedback on intermediate progress or how close it is to the solution (unlike say gradient descent and a loss function), is the key thing here.
Lean is not just the verifier but also the language you specify the thing-to-verify in and the tooling around it giving you useful feedback about “why no” or “why yes”. It’s a very nontrivial bit of kit, based on learnings from decades of earlier nontrivial kit (Coq, Automath, etc). I really think the people who built Lean are getting way too little credit here.
Also, I’ve yet to see an AI autonomously design a language/formalism plus compiler/checker/prover to help solve a particular problem.
If I make a program using lean in attempt to prove a theorem and the tools come back with 'why yes/no', then I add some lines to the program and get back another 'why yes/no', did I make progress or anti-progress with the change I made? Do the tools tell me that? If yes, then we could have proven that theorem before now with existing search algorithms. If no, then the AI added something new. Is this a wrong interpretation of the situation?
Clearly the fact that we've got such a powerful and expressive theorem prover is the only reason AI (a perpetual guesser) is able to do advanced math at all (exactly like with nontrivial coding tasks and automated tests). The checker is just as key to the result as the guesser.
Replies (3)
Replies (2)
Replies (2)
Replies (1)
But here's the question: if the training data relies on search, and the model relies on the training data, does the model also rely on search? I kinda think it does.
Replies (1)
At least in this case, it’s pretty “human” how we attribute this to AI and not just corporate propaganda. We are all to some degree wowed by something that tries many different things and arrives at something novel in the end. But we’re not wowed by a program that checks the result is valid.
Replies (2)
Let’s compare the two possible orderings.
What is a bigger breakthrough: developing lean with ai? Or developing ai? (With lean if that helps.)
It seems to me that ai is the bigger breakthrough.
I’m not happy about it either
Replies (1)
Also, I’ve yet to see an AI autonomously design a language/formalism plus compiler/checker/prover to help solve a particular problem.
Replies (1)
Replies (1)