logoalt Hacker News

dualvariable • last Wednesday at 9:20 PM • 5 replies • view on HN

The term "brute force," I think, keeps on getting brought up, and it is a bad enough term that people keep on talking past each other.

If you look at something like a trajectory optimizer for planning multiple gravity assist tours of planets and moons, all you've got is a global trajectory optimizer (monotonic basin hopping and probably some kind of genetic algorithm/particle swarm stuff) wrapping a local gradient descent-style algorithm (although quasi-Newton with trust regions or backtracking line searches, etc.).

I think you could probably wrap Lean with something that looked like that, without the LLM, and it would solve these kinds of problems without dumping an entire gigaton of carbon into the atmosphere, on a computational budget comfortably within 6 figures.

When people throw the term "brute-force" around one way or another, I think they're intuitively trying to talk about concepts like that, without having any better words to try to discuss it, and then it always gets picked apart, without ever getting at what the person was actually trying to say.


Replies

penteract • last Wednesday at 10:28 PM

If your claim is "There exists an some algorithm much more efficient than an LLM for finding lean proofs", then sure - the space of all algorithms is huge, and there's probably some monster which looks like a scaled up busy beaver candidate and can produce the proofs with a fraction of the energy. Finding that monster would be the sticking point.

If your claim is "there is an algorithm for finding lean proofs which is substantially more efficient/simpler than an LLM and is reasonably accessible to us" then you need a good explanation for why no-one has found it before - much of the work on proof assistants prior to LLMs involved looking for ways to automate as much of the process as possible and it could rearrange some equations, but not prove the Riemann Hypothesis by a very long stretch. Even before computer science existed, much of mathematics has been about discovering faster and more repeatable ways to solve problems and might have found a general method for proving theorems if one were easy to make.

➕ show 1 reply
dwaltrip • last Wednesday at 10:37 PM

> I think you could probably wrap Lean with something that looked like that, without the LLM, and it would solve these kinds of problems without dumping an entire gigaton of carbon into the atmosphere, on a computational budget comfortably within 6 figures.

The space of possible Lean programs is like 10^100 (wild ass guess) larger than the space of possible gravity assist tours, is it not? And far more irregular, I would think.

They seem qualitatively incomparable.

tmvphil • last Wednesday at 9:31 PM

I think if you consider for just a minute you will see why you can't do gradient descent on the space of lean programs.

➕ show 2 replies
Ar-Curunir • yesterday at 12:22 AM

formal verification ppl have been trying for over 50 years to develop such automated theorem provers. The best that we have are incredibly fragile and do not prove theorems anywhere near the complexity of even the simplest LLM proofs.

sobellian • yesterday at 1:33 AM

> I think you could probably wrap Lean with something that looked like that, without the LLM, and it would solve these kinds of problems without dumping an entire gigaton of carbon into the atmosphere, on a computational budget comfortably within 6 figures.

If you are right you could attract probably billions of dollars of investment.