logoalt Hacker News

coffinbirth • today at 5:54 PM • 27 replies • view on HN

It's not that these LLMs solve math problems by pure intelligence and thought. They leverage Lean as a trial-and-error feedback loop, running as long as required to arrive at a solution. Isn't it essentially a matter of time and money (tokens) available to an organization to tackle and solve these problems? The big star here is Lean, not the models used to operate the feedback-loop.


Replies

GuB-42 • today at 6:57 PM

It is both, in fact all 3 of them if you count the harness.

Imagine you are writing a chess engine, it is made of 3 parts: the search algorithm (like minimax, MCTS, ...), an implementation of the rules of chess, and an algorithm that tries to guess the best moves from a given position.

Problem is: the "guesser" works well most of the times, but it can give you some really bad or even illegal moves.

The rule engine has the opposite problem: it is always correct, but it cannot tell how good a position is, unless it is a mate or a draw.

And then there is the search algorithm that ties everything together into something that can play a full game.

If you have only the rule engine and the search algorithm, you could in theory play a perfect game by brute forcing all the positions until the end (win/lose/draw), but because of the complexity of chess, it is impossible in practice.

If you have only the guesser and the search algorithm, passed a certain point, it will stop looking like chess at all, with illegal and ridiculous moves.

With only the guesser and rule engine, you wouldn't be able to look further than a single turn.

So, to make a competitive engine, you need all three. So it is hard to tell which one is the real star.

In case the analogy wasn't clear enough: search algorithm = harness, guesser = LLM, rule engine = Lean

➕ show 1 reply
shawnz • today at 6:07 PM

Just like human efforts, they use a guided random search which is aided by heuristics. It's not like they are simply iterating through the whole solution space in a brute force manner, that would not be feasible even for a computer

➕ show 3 replies
alethic • today at 7:13 PM

No, you are completely incorrect. It is counterintuitive, but proof assistants like Lean have absolutely nothing to do with the success of AI for mathematics. See ex. https://arxiv.org/html/2511.22570v1 for detailed discussion of how DeepSeek designed (prose!) mathematical RL environments leading to their model's IMO gold medal result.

The article does not mention Lean not because they are being lazy or incomplete, but because Lean contributes nothing to AI for math at scale beyond being a proof oracle: but using a smaller LLM to audit a prose proof (as DeepSeek does) is actually as effective for the purpose of RL environments. You will notice that many of OpenAI's mathematical announcements have not come with Lean certificates. This is because they are generated in natural language, and a powerful enough language model checks them and says they're good. (It's probabilistic of course, and there certainly have been retracted OpenAI results, but it works almost all the time. This article is actually discussing exactly that, note the talk of percentages.)

➕ show 2 replies
olabolola • today at 6:16 PM

According to this article I read recently: https://www.seangoedecke.com/ai-mathematics-does-not-rely-on... generally the lean part of AI proofs come after the model has done the proof in “natural language”.

The lean part of proofs seems to be a final step to make sure all is good, and perhaps to give confidence to humans that the proof is valid.

➕ show 2 replies
Eridrus • today at 6:59 PM

I think you underestimate how big the search space is and how much intelligence/intuition is necessary to do this.

People have been trying to automate this search for as long as these systems have existed with nowhere near this success.

➕ show 1 reply
jrpt • today at 7:10 PM

I've done some work in this space and your explanation doesn't really match the way they work. While there are some systems that use Lean during the proving process (for example, Axiom), most don't. They just use natural language thought and coding experiments (like numerical Python scripts) and then optionally formalize in Lean after successfully proving the result.

For example, this very blog post shares their traces, none of which are using Lean in the way you describe.

I still think Lean is important but it's not as significant for AI proving math results as it's often made out to be.

➕ show 1 reply
azakai • today at 6:05 PM

> It's not that these LLMs solve math problems by pure intelligence and thought.

Another perspective on this is that the combination of an LLM and Lean is something that uses pure intelligence to solve math problems.

Since the LLM and Lean are architecturally separate, it feels natural to consider them separately. But the human brain also has a modular architecture (some of which we understand, some which we don't).

➕ show 1 reply
mannyv • today at 6:02 PM

Humans could do the same thing but didn't.

Just like in AI driven software, the way to get an LLM to do things well is to provide a feedback loop. Apparently Lean is that feedback loop.

Anything that formalizes correctness will be AI fodder. The goal in software now is to create that feedback loop.

➕ show 1 reply
skybrian • today at 6:29 PM

Why not both? Lean is impressive, but the feedback loop that Lean provides is not something you can hook up to A* and call it a day. The article benchmarks the ability to take advantage of Lean, which varies.

I’m not going to argue about the true meaning of intelligence, but reasoning can be thought of as an output, something you can write down. Being able to take advantage of a feedback loop shows that LLMs can generate reasoning that’s as practically useful as the reasoning that people generate.

If it’s not “pure intelligence,” it’s sort of like saying that what airplanes do is not really “flying” because it’s not what a bird does.

Nearly all programming is done using a feedback loop, and so is math done on paper (checking your own work is a feedback loop).

abixb • today at 5:57 PM

The broader point here is that the invention of Lean like methodology or RLVR validator for other fields is the Holy Grail for the next trillion or quadrillion dollar industry. Exciting!

➕ show 3 replies
segmondy • today at 6:10 PM

Isn't that how people solve problems, through trial and error with a feedback loop?

thomasahle • today at 6:04 PM

Lean and computers have been around for a long time. This needed a lot of intelligence on top of that.

bastawhiz • today at 6:27 PM

I've been paid a lot of money in my career, and much of it was not because of pure intelligence and thought. It actually really doesn't matter how the computers solve the problems, as long as the value of solving them is within the budget (time, money) of the operator. We had Lean before the models and no solutions.

Not to say Lean isn't deserving of praise, though.

manbash • today at 6:22 PM

Maybe the real star is the humans, because they developed all of the above?

Not sure what is being downplayed or praised here.

jagged-chisel • today at 6:02 PM

Arguably, “trial and error feedback” is how humans do it. Perhaps some creativity is applied. Perhaps experience informs subconscious processes that the human researcher isn’t aware of.

And we know that a purpose-built machine is faster than a human at many things, and that such machines have never been “thinking.”

Point: we’ve found a purpose-built brute-force machine to test All The Things.

Catloafdev • today at 6:07 PM

No, not really. It's kind of like saying "well the AI's are only good at programming because they use programming languages"

nout • today at 6:00 PM

Math research is now a category under software engineering. While classic programming / code writing is now much smaller space. Essentially thanks to AI the software engineers are now dispersing into solving math, building products (essentially product managers/CEOs), or AI training.

jason_oster • today at 6:18 PM

Trial-and-error plays a role, but AI does not lean on it as heavily as you imply. Certainly, no more than an average human.

annoyerovy • today at 6:42 PM

There are no Lean proofs in this release. They're natural-language proofs.

Flere-Imsaho • today at 6:52 PM

> It's not that these LLMs solve math problems by pure intelligence and thought. They leverage Lean as a trial-and-error feedback loop, running as long as required to arrive at a solution.

This is just another "LLMs are simply stochastic parrots" argument. I don't know about anyone else, but I use trial-and-error to solve problems as well!

mapontosevenths • today at 6:22 PM

> It's not that these LLMs solve math problems by pure intelligence and though

This cope will never end. A year ago they were just "stochastic parrots" that could "never think" and would "never do anything original" because they were "just auto-complete."

Next year we'll still be talking about how it still doesn't count because of "souls" or some nonsense.

Some people just can't believe their own senses when their hopes and beliefs get in the way.

➕ show 1 reply
wslh • today at 6:56 PM

I don't get your point. It's widely known that LLMs orchestrate external tools beyond it's own capabilities and limitations, or that they are orchestrated by other tools. An obvious example is AlphaEvolve (evolutionary framework) [1]. Another one is the use of constraints solvers which have capabilities not available in LLMs.

[1] https://deepmind.google/blog/alphaevolve-a-gemini-powered-co...

varispeed • today at 6:39 PM

Isn't that more like a search for a solution it already knows from its training data? E.g. someone already solving the problem without knowing of significance at some obscure forum they ingested.

awesome_dude • today at 6:33 PM

> It's not that these LLMs solve math problems by pure intelligence and thought.

I concur, we still don't understand "intelligence" (human or otherwise) enough yet to be able to "create" it in a machine.

At this moment I still think of LLMs as being (absolutely brilliant) search engines - connecting fragments of words that are related to the question being posed.

> The big star here is Lean, not the models used to operate the feedback-loop.

This, though, is a stretch - Lean is the check applied to the work, rather than given to the LLM to use itself (AIUI), but even if it weren't then "reverse engineering" the Lean in and of itself would be quite a feat

➕ show 1 reply
CamperBob2 • today at 6:25 PM

Imagine going to school for over a decade -- undergrad, doctorate, postgrad -- only to be told that what you do doesn't require "intelligence and thought."

➕ show 1 reply
optimalsolver • today at 7:42 PM

Everybody lay low. There are goalposts moving at dangerous speeds around here.

lowbloodsugar • today at 6:41 PM

> It's not that these LLMs solve math problems by pure intelligence and thought.

No, that’s right special snowflake. Humans are magical, and intelligence and thought is a gift of the sky wizard.

You’re a math PhD are you? You solve problems first time, every time? Or do you have some number of retries in mind that distinguishes between intelligent, thoughtful human and stupid, search-engine?

➕ show 1 reply