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
I'm reminded of fuzzing.
https://hn.algolia.com/?q=American+Fuzzy+Lop
Is there a fuzzing for math?
For example, fuzzing can be used to derive valid JPEG files experimentally:
Pulling JPEGs out of thin air (2014)
https://news.ycombinator.com/item?id=14315690
I wonder if it could be used to derive valid theorems, if you replace libjpeg with a proof assistant? :)