Summary#
h1: A Taste of the Bitter Lesson in Automated Theorem Proving (Skander Moalla, Ahmad Rammal, Niket Patel, Rémi Munos, Julia Kempe; FAIR at Meta with EPFL, CERMICS/ENPC and NYU; arXiv 2610.35962 v2, 2026-10-30, empirical) asks the bitter-lesson question of formal-proof harnesses. Can one plain loop, given enough test-time compute, match the workflows the field has built around frontier models: blueprints, recursive decomposition, evolutionary sketch search, prover orchestration? Its answer is mostly yes, on the condition the title's "taste" hedges: the loop has to be a good loop. At the same model, simple loops differ several-fold in solve rate and cost, and most of this page is about what separates them.
The paper makes two kinds of claim. State-of-the-art scores are existence claims: one run, every accepted proof kernel-checked against the original statement. Matched-model comparisons against specialized systems mostly adopt the other paper's cost convention, so the cost columns are not uniform (see "How much to believe").
The harness#
One Lean file, with all of Mathlib already imported. In each iteration the model works for at most T turns in a ReAct loop, making targeted edits to the persistent working file. Every edit is compiled and returns errors and open goals. Optional tools search Mathlib (LeanExplore, Loogle, grep), run fragments in the Lean REPL, and query the language server for goals and definitions. The iteration ends when the model submits, or at turn T, which forces a submission. An external validator then checks the file. SafeVerify compares the compiled submission with an immutable challenge compiled separately, in a fresh networkless sandbox. Only the source file crosses over, never the agent's build artifacts. Checked disproofs (.disproof of the literal negation) are accepted where enabled. On rejection, a reflection LLM compacts the transcript and the feedback into verified progress, lessons from failed attempts and useful lemma names, and is told not to endorse giving up. The next iteration continues from the current file. The loop runs until a proof is accepted or a dollar cap is reached.
Lineage, as the authors state it: AlphaProof Nexus's basic agent, AxProverBase's minimal agent with self-reflection, and the Ralph loop. Each extra iteration is s1's "Wait" applied to an agent's outer loop rather than to one chain of thought. The paper presents what it adds as interface and persistence, not structure. Nothing in the loop tells the model how to prove.
Results (Table 2 reconciled against pdftotext -layout; the rest from prose)#
State of the art as of the 2026-08-27 comparison cutoff, one run per problem:
- GPT-5.6 Sol: FATE-X 90/100 (at $38 per problem, against 81 at $113 for Gemini 3.1 Pro in the same loop), FC100-solved 78/100, FormalQualBench 14/23 with no time cap ($26.38 mean over successes; 11/23 at $8.97 under the official 4-hour cap), and IMO 2026 6/6 at about $8 per problem.
- GPT-5.5: PutnamBench 670/672 (99.7%, $9.17 per problem). Eight more replicas on the last two problems took it to 672 at an estimated $17.86 per problem, counting failed replicas. One of those two statements had been corrected upstream after the original campaign, so the 672 mixes two benchmark revisions.
- Open-weight and older models: DeepSeek V4 Flash solves 43 FATE-X problems at a $14.35 cap, against Leanstral 1.5's published 34. On FC100-solved it matches AlphaProof's 50 below an estimated $0.30 cap and reaches 64 at $4.89. Both runs had reflection disabled by a configuration error (Appendix E.3), so they understate the loop. Gemini 3.1 Pro matches the DeepMind prover agent's 66 on FC100-solved at a $25 cap rather than $100.
- Run lengths: accepted attempts reached 1,123 reflection iterations (one Putnam problem), 95 active hours (DeepSeek V4 Flash on one FATE-X problem, accepted at iteration 546), and a 7,124-line accepted file (Borsuk–Ulam).
- Open problems: of 236 Formal Conjectures targets marked open, eight were proved with GPT-5.6 Sol: variants of Erdős 138 and 337, three OEIS conjectures (A108081, A211417 — Bala's supercongruence — and A022030), the existence of an AME(9,10) quantum state, and two Written on the Wall II graph conjectures, both proved only after their statements were repaired.
Matched-model comparisons against specialized workflows:
| Comparison | Specialized system | h1, same model |
|---|---|---|
| PutnamBench, DeepSeek V4 Flash | Goedel-Architect, pass@4 with informal proof seeding: 597 at $1.47/problem | 598 at $1.08 (estimated), one attempt |
| PutnamBench, Gemini 3.1 Pro | Goedel-Architect July (adds DeepSeek V4 Pro): 642 at $5.80 | 642 at $6.32 |
| Putnam 2025 (Numina statements), Opus 4.5 | Numina without its informal prover: 4/12 | 7/12 |
| Putnam 2025, GPT-5.2 | Numina full system (Opus 4.5 + Gemini 3 Pro + a GPT-5.2 hint), $1,800 cap, $1,000 on A5 alone | 12/12 at $565 total, $81.52 on A5 |
| FormalQualBench, Opus 4.6, 4 h | OpenGauss: 8/23 | best of 4 seeds: 8/23 (seeds 7, 6, 8, 6) |
| FormalQualBench, Opus 4.7 | MerLean: 9 (4 h) / 10 (uncapped) | 8 / 9 |
| Six open Erdős problems, Gemini 3.1 Pro | full AlphaProof Nexus pass@1: 71.67% | pass@1 68.75%; pass@3 79.73% |
Goedel-Architect's own tool-integrated-reasoning baseline, with the same DeepSeek model, reaches 54.5% at pass@32 on a 200-problem subset. h1 reaches 89.0% at pass@1 on the full benchmark. The paper's reading is that a weak simple baseline overstates the need for workflows.
The two exceptions in 707 problems. (1) BurnsidePrimeDegree (FormalQualBench). MerLean with Opus 4.7 proves it in 3h12m with a 32-node decomposition. Eleven h1 attempts on Opus 4.7 fail despite a combined $6,000 and 255 hours. h1 with GPT-5.6 Sol proves it. (2) Erdős 125. Full AlphaProof Nexus reaches 50% at pass@1. All 16 h1 attempts end in unrecoverable Lean REPL timeouts, which the authors classify as an interface limit, not a mathematical one. Repetition and a newer model close every other gap: on PutnamBench's 2025 slice, Opus 4.7 goes 11/12 → 12/12 within six attempts, and on FormalQualBench Opus 4.8 reaches 13/23 against MerLean's 10. That 13 is a lower bound, because the run was stopped by hand after 17 hours.
Where the specialized systems keep an edge: elapsed time. Numina solves its twelve in 3,889 summed minutes. h1 with GPT-5.2 takes 9,636. h1 is sequential, and parallel agents are outside its design.
Persisting versus repeating#
AlphaProof Nexus had found that its basic loop could Pareto-dominate the full system, but only through repetition (pass@k at large enough k). h1 changes the axis: pass@1 is a curve that grows with budget, because within one run the model can abandon an approach and start another. On the five Erdős problems all three systems solve at least once (Gemini 3.1 Pro throughout, cost conditional on success as APN reports it), one h1 attempt reaches 82.5% at $121. APN basic's pass@3 reaches 75.4% at $191 and full APN 76% at $317. Charging failed groups too, the paper's own unconditional estimator puts h1 pass@1 at 82.5% for $138, while h1 pass@3 needs $202 to match it. Per problem (Figure 9, viewed), h1 reaches 16/16 on Erdős 138 at roughly half full APN's conditional cost. 138 was one of the two problems where the original paper credited the full system with a 2×–5× cost advantage over its basic agent.
Repetition still wins at larger budgets, and the crossover varies by problem: on Erdős 152, pass@6 leads at 94.2% for $535. The authors' worked example shows two cancelled-at-first-proof attempts can beat one attempt at a single operating point. Their conclusion is that the depth/breadth split depends on budget and problem and is hard to set in advance. Their bitter-lesson move is to leave that choice to the model. Discovery-Execution Scaling Forecasts supplies the mechanism: depth wins when discovering a strategy is rare and executing one still needs compute, and breadth wins once execution saturates.
What the loop has to provide (Section 4 and the ablations)#
An interface that edits in small steps and can look things up. AxProverBase makes one round of tool calls, then regenerates the whole proof. With Gemini 3 Flash at a $20 cap it solves 18 Putnam100 problems against h1's 69, and it trails in all six model settings compared. 42.2% of its failed compilations stop at an invalid import, which h1 rules out by construction. On one Putnam problem it spends $20.01 over 287 builds, 175 of them bad imports. h1 spends $0.15 with 20 local edits. Without search, REPL or language server, h1 itself drops to 49 and 49 (Putnam100, FATE-X), against 69 and 63 with every tool. Any single search tool, grep included, or the REPL recovers most of the gain, and removing any one tool from the full set costs at most four solves. What matters is being able to look up and check, not which tool does it. That fits the bash-only result of mini-Lean-agent, where rg and scratch files rebuild the same capability.
The loop, not the model, decides when to stop. With Opus 4.8 on FATE-X, native Claude Code solves 63. Swapping its built-in shell and file tools for h1's prompt and Lean tools over MCP raises that to 73, and h1 reaches 83 (Putnam100: 81 / 95 / 99). The tools-plus-prompt step does not separate the tools from the prompt. Of 30 problems h1 solved where native Claude Code stopped normally, 28 ended with an artifact SafeVerify rejects: the agent believed it was done. On one FATE-X problem, Claude Code with h1's tools resubmitted an unchanged file 170 times, while h1 edited after each of 17 rejections and succeeded. Reflection is worth DeepSeek V4 Flash 554 → 598 on PutnamBench. Detailed prompts, which describe the tools, set statement-integrity and disproof rules, and forbid giving up because a problem is open, let one attempt beat six attempts with one-line prompts on six Erdős problems at the same $150 cap per attempt.
Reuse context, reset it before it degrades, think more per turn. AxProverBase's output is 89% of its $17.39 per problem, and at most 0.5% of its input comes from cache. h1's output share is 34% of $9.00, with 74–94% cached. Varying the turns between reflections shows the trade-off on h1 alone. One turn gives 50 Putnam100 / 39 FATE-X at about twice the cost per solve; ten turns give 72 / 65; two hundred give 60 / 52 even though the cached share of input rises from 0.2% to 86%. Caching makes long contexts cheap but not productive, which is context rot measured inside a prover. What the reflector reads matters less than when it runs. Feeding it a distilled final attempt instead of the full transcript cuts reflector input cost by 95% and 90%, raises prover-call cost by 9.6% and 7.3%, and leaves solves and total cost flat (69 against 67, 63 against 64; total change inside a bootstrap interval spanning zero). Higher reasoning effort is cheaper per solve: Gemini 3.1 Pro on Putnam100 goes from 89 at $20.63 (low effort) to 99 at $5.34 (high).
Humanfia, another simple loop, checks proofs through shell commands and restarts its coding agent fresh each round, carrying over only the file and reviewer notes. With GPT-5.5 it spends about five times as much as h1 for the same 670 PutnamBench solves ($44.60 against $9.17 per problem).
Misformalizations found by disproof#
Allowing a kernel-checked disproof turned the run into an audit of Formal Conjectures. The smooth 4-D Poincaré variant omitted T2Space, so a non-Hausdorff manifold refutes it; a concurrent upstream fix adds the hypothesis and a Lean counterexample. Table 13 lists the rest: a signed area admitting repeated vertices (Erdős 507), one answer used for every N (Green 16), size-Ramsey counted in place of Ramsey (Erdős 566/567), a denominator that can vanish (Lam–Litt), and Written on the Wall II extractions that drop a complement or substitute the wrong invariant. A separate hazard is the editable answer. When a submission may change a definition the target refers to, it can make the target reflexive or vacuous. h1 fixes answers or quantifies the witnesses, and disables disproof mode on answer-hole targets. All of this is Statement Drift surfaced by search.
How much to believe#
- Self-built and self-baselined. The authors built h1 and ran the AxProverBase and Claude Code reruns themselves. They say they restarted failed Claude Code runs and widened binding wall-time limits to give those baselines "their strongest showing", but MCP leaves Claude Code's internal retry policy outside their control. No Meta model is evaluated, so there is no vendor COI on the models. Four of the five authors also wrote Learning to Discover Interesting Mathematics, whose prover is Claude Code.
- Costs are API-equivalent under one price card (Table 9, read against
pdftotext: the "Claude Opus 4.5, 4.6, 4.7, 4.8" row is one printed row at $5/$25 per million tokens, not a merged cell). The convention changes per comparison: campaign totals for Putnam 2025, per-problem means for PutnamBench and IMO, means over successes for FormalQualBench, cost conditional on success for APN. DeepSeek costs are reconstructed from traces with no recorded cache counters. The paper claims "comparable or lower cost at matched models", not uniform cost dominance. - Mostly single runs. The authors argue that a verified proof makes "can reach this score" an existence claim, and that holds for the state-of-the-art rows. Comparative rows carry run-to-run spread that the paper shows in only a few places, such as four FormalQualBench seeds ranging 6–8 and 16 Erdős replicas.
- Baselines reconstructed or quoted. APN tasks were rebuilt from APN's public release, an interpretation the APN paper does not confirm. APN full's published costs exclude AlphaProof's own compute, which favours APN in the comparison. Other systems' scores are taken from their papers or leaderboards as of the cutoff.
- Contamination is unmeasurable for closed models. Where possible the authors pick models that predate the benchmark (Opus 4.5 and GPT-5.2 for Putnam 2025, GPT-5.6 Sol for IMO 2026).
- Scope. One file, Lean-only tools, sequential search. The authors name multi-file codebases, numerical tools and parallel agents as the open question. Their stated rule for adding parallelism is to add it "without prescribing their use", for example letting agents talk freely rather than through a fixed hierarchy.
- The interface is itself hand-designed, which the authors concede the bitter lesson might discourage. Their answer is that today the best split is compute on the model's reasoning and human effort on the interface.
Where it sits#
- Against the loop-versus-bespoke ledger (Agentic Loops Overtake Bespoke Systems). It is the broadest same-model, cost-reported comparison on that page, and it comes out for the loop at dollar budgets with caching. It does not overturn ProofEvolve's 32-point gap at a 12-call cap. It explains why that arm was weak: a loop starved of calls and given a thin interface is the weak baseline h1 warns about.
- Against Maestro, cross-paper, same backbone (Global Proof Coordination). Maestro's coordination margin is measured against Claude Code or Codex as the plain agent. With GPT-5.6 Sol on FATE-X, Maestro proves 84 (plus 6 falsified) against Codex's 70, and h1 reaches 90. With Opus 4.8 it is 79 (+5) against Claude Code's 54, and h1 reaches 83. On FormalQualBench the two are level: Sol 15 against 14, Opus 4.8 13 against 13. Neither paper cites the other. Budgets, time limits and possibly benchmark revisions differ, all runs are single, and whether h1's FATE-X 90 includes disproofs is not stated. What this suggests is that much of Maestro's FATE-X margin is a margin over a weak loop. Even the "same" baseline moves: native Claude Code with Opus 4.8 scores 54 in Maestro's run and 63 in h1's.
- Cost mechanism, independently replicated (Cache-Aware Agent-Loop Cost (TurnCost), Harness Tax: Coding-Agent Cost Multiplies Across Harnesses While Success Barely Moves). mini-Lean-agent found AxProverBase served 8.7% of its input from cache against 91.5% for one growing session. h1 finds at most 0.5% against 74–94%. Two teams, the same mechanism: regenerating a fresh prompt for every call pays full input price.
- Against autonomous ML engineering (Minimal Harness for Autonomous ML Engineering (Malena)). There, a never-reset session was the expensive arm over 24 hours. h1's reflection-interval sweep supplies the missing middle: reset roughly every ten turns and the loop keeps the cache discount without the context rot.
- Compaction (Working-Context Compaction Fidelity). A prover with a kernel-checked file as its durable state tolerates a lossy summary: the distilled reflector input costs nothing in solves. That is consistent with CompAct-Bench's finding that where the state lives decides how much compaction hurts.
- Benchmarking practice (Compute-Controlled Benchmarking). "Both papers report these as pass@1" — one Goedel-Architect attempt allows 16 blueprint revisions, one AxProverBase attempt 50 agent iterations — is the attempt-is-not-a-budget point, made with a field's worth of examples. The paper plots solves against dollars with failures included, wherever the data allow.
- Many-agent branch (Many-Agent Proof Harnesses). The paper's limits section quotes the Navier–Stokes apparatus (about 10,000 agents over 88 hours) as the scale a single-file loop cannot reach. That makes the long single attempt the control any many-agent formal harness should beat.
- The paradigm (AI-Driven Formal Proof Search). The same loop is a reachability instrument. Four FormalQualBench seeds spanning two problems (6–8) and a 16-replica Erdős table add seed-variance figures to that page's reachability question.
Connections#
- Agentic Loops Overtake Bespoke Systems — the ledger this lands in: a same-model loop matching or beating Goedel-Architect, Numina, OpenGauss and full AlphaProof Nexus, with 2 exceptions in 707 problems
- Global Proof Coordination — Maestro's FATE-X margin over Claude Code / Codex sits mostly inside the gap between a weak loop and h1
- The Bitter Lesson — the paper's framing, with its own caveat that the interface is hand-designed
- Discovery-Execution Scaling Forecasts — the mechanism for when one long attempt beats several short ones
- Cache-Aware Agent-Loop Cost (TurnCost) — edit-in-place with cached context against regenerate-every-call: 74–94% cached input against ≤0.5%
- Harness Tax: Coding-Agent Cost Multiplies Across Harnesses While Success Barely Moves — the same-model harness spread, here in Lean: 18 against 69 solves at a $20 cap
- Working-Context Compaction Fidelity — reflection as compaction: interval matters, the reflector's input mostly does not
- Minimal Harness for Autonomous ML Engineering (Malena) — the noisy-verifier sibling, whose never-reset session pays for replayed history
- Compute-Controlled Benchmarking — cost-capped solve curves including failures, and the attempt-is-not-a-budget audit
- Statement Drift — misformalizations found by disproof (Poincaré without
T2Space) and the editable-answer hazard - Many-Agent Proof Harnesses — the scale the single-file loop does not reach, and the control that branch's harnesses lack
- AI-Driven Formal Proof Search — the paradigm, and the reachability question its seed variance bears on
- Large-Scale Test-Time Compute (hub) — pass@1 as a budget curve, persisting against repeating
- Context Window Smart Zone (hub) — 200 turns between resets solve fewer than 10, despite 86% cached input
- AlphaProof Nexus, Claude Code, Lean, Claude Opus 4.8 — the bespoke system compared, the stock coding-agent baseline, the verifier, and a backbone
Open Questions#
- Does letting the prover choose its own restarts beat both fixed strategies? The paper finds pass@1 extension wins at moderate budgets and pass@k at larger ones, with per-problem crossovers, and proposes leaving the choice to the model without testing it. Settler: an h1 arm with a self-restart (fresh-context) tool on the six APN Erdős problems, 16 replicas, scored with the paper's unconditional mean-spend estimator against its fixed pass@1 and pass@k curves.
- Do h1's loop settings transfer off Lean: reflection about every ten turns, enforced validation with another repair round after rejection, edit-in-place? The authors predict transfer to software verification and large codebases but measure none. Settler: the same T1/T10/T200 and enforced-continuation ablation, with one model, on Verina/AlgoVeri or SWE-bench Verified, reporting solves and cost including failures.
Sources#
- h1: A Taste of the Bitter Lesson in Automated Theorem Proving — Moalla, Rammal, Patel, Munos & Kempe (FAIR at Meta; EPFL, CERMICS/ENPC, NYU), "h1: A Taste of the Bitter Lesson in Automated Theorem Proving", arXiv 2610.35962 v2, 2026-10-30, 53 pp,
empirical. Parse warnings: docling began at "1 Introduction", so the title block, affiliations and abstract were read from the PDF's page 1 (pdftotext). Three formulas (Appendix E.6 cost estimators) are undecoded and are not cited. Table 1 collapses its eight problem names into one cell (Table 12 carries the same rows cleanly). Table 2 drops the FormalQualBench label from its four Opus 4.6 rows but is otherwise intact againstpdftotext -layouton page 7. Table 3 (tool list) is welded into fragment rows, and the tool names were read from its run-on cell. Table 14's duplicated Time column shifts one cell ("792 / 608 | 278 min") and is not cited. Table 16's change and interval cells are split mid-number, so its figures here come from the prose. Tables 9, 10 and 15 matchpdftotext. Figure 9 was viewed for the per-problem Erdős comparison, and those values are read off the plot, so they are approximate.
Cited by 15
- Agentic Loops Overtake Bespoke Systems×4
h1 bitter lesson theorem proving (FAIR at Meta, empirical, self-baselined) runs a single-file Lean…
- AI-Driven Formal Proof Search×3
Simple Loop Lean Harness — h1, a single-file loop that holds the state of the art on PutnamBench,…
- AlphaProof Nexus×3
The OEIS re-run above changed the model. h1 bitter lesson theorem proving (FAIR at Meta, empirical)…
- Cache-Aware Agent-Loop Cost (TurnCost)×3
Simple Loop Lean Harness — the cache split in a Lean prover (≤0.5% against 74–94% cached input) and…
- Discovery-Execution Scaling Forecasts×3
h1 bitter lesson theorem proving (empirical) measures the depth-versus-breadth split in an agentic…
- Global Proof Coordination×3
Simple Loop Lean Harness — h1, the plain loop done well: on the same backbones it matches or beats…
- Harness Tax: Coding-Agent Cost Multiplies Across Harnesses While Success Barely Moves×3
h1 bitter lesson theorem proving (empirical) measures the harness tax in a kernel-verified domain,…
- Many-Agent Proof Harnesses×3
Every TCS-Bench comparator is a single direct call; the paper names the missing control itself…
- Minimal Harness for Autonomous ML Engineering (Malena)×3
h1 bitter lesson theorem proving (empirical) makes the same argument with a kernel as the verifier…
- Statement Drift×3
h1 bitter lesson theorem proving (empirical) let its prover submit kernel-checked disproofs, and on…
- The Bitter Lesson×3
Simple Loop Lean Harness — the lesson as a paper title: a plain Lean loop against hand-designed…
- Working-Context Compaction Fidelity×3
h1 bitter lesson theorem proving (empirical) compacts a Lean prover's transcript into a reflection…
- Compute-Controlled Benchmarking×2
Simple Loop Lean Harness — a formal-proving paper built on the attempt-is-not-a-budget point: one…
- Formal Mathematics & Proof Search
Simple Loop Lean Harness — h1 (Moalla, Rammal, Patel, Munos & Kempe, FAIR at Meta, arXiv…
- Open Questions Backlog
Simple Loop Lean Harness ×2 (oldest 1d) — Does letting the prover choose its own restarts beat both…
Related articles
- Agentic Loops Overtake Bespoke Systems
DeepMind's *basic* Ralph-loop agent matched its bespoke evolutionary+AlphaProof system as the LLM improved — harness sh…
- Many-Agent Proof Harnesses
The unformalized branch of machine proof: many-agent pipelines that write research-level proofs in natural language and…
- OEIS Open Benchmark
Epoch AI's 492-conjecture benchmark of *open* OEIS conjectures formalized in Lean, where a model must prove or disprove…
- Open Questions Backlog
Generated by `_system/lint.py --write-backlog`. Do not hand-edit. Domain and Watching sections carry one row per page —…
- FrontierMath Erdős Benchmark
Epoch AI's benchmark of 68 unsolved Erdős problems, formalized in Lean and checked by Comparator under a fixed $300 / 7…
