Proof Agents Win Because the Compiler Can Say No
The Lean refactoring agent's real lesson isn't about the model: it's that verifiable domains let cheap search beat expensive intelligence, and that doesn't generalise.
Four GPUs for forty-eight hours is roughly 192 GPU-hours, setup included, which at spot prices for A100 80GB class hardware is a bill in the low hundreds of dollars. That is the entire compute budget behind this entry, and the model inside it was not fine-tuned. The interesting work, then, happened somewhere other than the model. It happened on the CPUs.
The oracle is the whole trick
Strip the entry down and what remains is a search loop with an infallible referee. The agent proposes an edit, the Lean toolchain either accepts it or doesn't, and every accepted proof is banked as a scored candidate. The language model is not reasoning its way to correctness; it is generating plausible mutations fast enough that a compiler can sort them. This is best-of-n with a verifier, and it works for the same reason AlphaCode's filter-from-many worked, and for the same reason SAT portfolio solvers beat hand-tuned single strategies two decades ago: when checking is cheap and correct, generation quality matters far less than generation volume.
Formal theorem proving is the only serious software domain where that referee exists for free. Unit tests approximate it badly. Type checkers approximate it partially. Human review approximates it expensively and inconsistently. Lean gives you a total function from candidate proof to {accepted, rejected}, with no flake rate and no opinion. An agent operating under those conditions is playing a fundamentally easier game than an agent refactoring a Django codebase, and the gap is not a matter of degree.
The agent is not clever. It is merely permitted to be wrong ten thousand times in private, with a referee that never gets tired of saying no.
The second-order consequence is the part being underreported. If a stock open-weight model plus good scaffolding plus 192 GPU-hours is competitive on formal proof work, then the moat in this domain is not model weights. It is build infrastructure: incremental compilation, checkpointed conversation state, candidate scoring, and the unglamorous ability to compile the same proof against every Lean version a project declares. Those are the skills of a release engineer, not an ML researcher. Anyone who has maintained a matrix build across language versions will recognise the shape of the problem immediately, and will also recognise that nobody gets promoted for solving it.
The bitter-lesson objection, and why it only half lands
The strongest counter-argument is the obvious one: this is scaffolding, and scaffolding dies. Every elaborate harness built around GPT-3.5 was obsolete within eighteen months, because the next model did natively what the harness did laboriously. On this view, a discovery phase, a refinement phase, checkpoint rebuilding and model-free post-passes are all compensations for a model that cannot hold a long proof in its head, and a model that can will make them vanish.
Half of that is right. The prompt choreography is disposable; it always is. But the bitter lesson is specifically about preferring general methods that scale with compute over hand-encoded human knowledge, and a compile-measure-score loop is not human knowledge. It is the compute channel. It is the mechanism by which you convert GPU-hours into verified progress rather than confident nonsense. Stronger models make that loop more productive, not redundant, because the bottleneck shifts from "can the model produce a valid edit" to "how many valid edits can we evaluate per hour." The entry's own design concedes this: the generation side is a frozen off-the-shelf checkpoint, while the measurement side is where all the engineering went.
Worth noting: the claim that the prompts contain no problem-specific proof techniques is a generality claim that nobody can audit from an abstract, and it is also slightly beside the point. Strategy has not been removed; it has been relocated into the harness's phase structure and scoring function. That is a better place for it, but it is not nowhere.
Goodhart arrives wearing a shorter proof
Here is where I part company with the enthusiasm. Proof refactoring under a score is a Goodhart engine. Contest scoring rewards something measurable — length, compile time, tactic count — and a search loop will find the global optimum of whatever you actually wrote down. In Lean, that optimum is frequently a dense term-mode one-liner that no human will ever safely modify, and that shatters the next time Mathlib renames a lemma or adjusts a simp set.
Mathlib's human maintainers have spent years developing taste about this precise trade-off: golfed proofs are fun, but a proof that reads as a sequence of named steps survives refactors, and a proof that reads as a 400-character term does not. "Better proof" is a contested, social, maintenance-horizon judgement. A 48-hour agent run optimises the version of that judgement you can express as a number, which is the wrong version.
The arena hands the agent three gifts that production does not: a reference proof to start from, a declared list of target Lean versions, and a scoring function. Real repositories offer version drift, half-broken dependency graphs, and a review queue. The hard problem in large formal libraries is not finding a shorter proof of a fixed statement; it is deciding which statements should exist. No compiler oracle helps with that.
Who actually benefits
Not the frontier labs, which is why this result will be undersold. A self-hosted FP8 deployment on four GPUs is a direct substitute for metered API calls in exactly the workload where API billing hurts most: tens of thousands of short, high-volume, latency-tolerant completions, most of which are discarded. Agentic search is the worst possible shape of demand for per-token pricing and the best possible shape for an amortised GPU you already own.
The beneficiaries are proof engineers, university groups with a single node, and eventually the Mathlib CI budget — assuming the output can be made reviewable. The losers are vendors selling bespoke theorem-proving models, because this entry is a fairly direct argument that fine-tuning was not the constraint. The lesson worth extracting is narrow but real: find a domain with a free, total, trustworthy verifier, then spend your money on throughput rather than intelligence. The uncomfortable corollary is that almost no commercially interesting domain has one.
Sources & further reading
The analysis above is our own. The underlying reporting and primary documents are credited here.