With similar AI, a simple keep-trying program matched complex math-proof systems

h1: A Taste of the Bitter Lesson in Automated Theorem Proving

TL;DR With similar AI models, a simple keep-trying program proved 598 Putnam contest problems, against 597 for a hand-planned system, at lower estimated cost. If the result holds more widely, checking AI-written math by machine may need simpler tools than many recent systems use.

Words to know

Lean
A computer language and program that checks every step of a math proof.
formal proof
A proof written in a strict computer language so that a program can check each step.
harness
The program around an AI model that gives it tools and instructions and keeps it working.
reflection step
A pause where an AI summarizes what worked and what failed before the next round of work.

The problem

Lean is a program that checks a math proof step by step, so a computer can confirm the logic. Math written this way is called a formal proof. Recent AI systems that write such proofs wrap the AI model in hand-designed plans. They split a problem into pieces, plan ahead, or hand parts to separate AI helpers. But new plans often arrive with stronger models or more computing power. So it stays unclear whether the plans themselves help.

The idea

The team built h1, a harness: the program that wraps an AI model and keeps it working. Picture a crossword in pencil, with a strict checker who flags each wrong square after every change. Nobody hands you a strategy. When a finished grid fails, you jot down what held up and keep going. In h1, the model makes small edits to one proof file, and Lean checks each one. After a failed submission, a reflection step sums up progress and lessons. The team compared systems that ran the same model. In the authors’ view, strong models can choose their own approach, so fast feedback turns spending into progress.

What they showed

  1. Cheaper. On Putnam, with low-cost DeepSeek models, h1 matched Goedel-Architect’s best of four tries, which got ordinary-language proofs as hints. h1 cost an estimated $1.08 per problem, against $1.47.
  2. New math. h1 settled eight problems marked open in Formal Conjectures, a Lean collection of research questions. Two needed the team to fix their statements. It also caught flawed statements, such as a Poincaré conjecture version missing an assumption.
  3. Design matters. On a smaller Putnam set, with the same Google model and spending cap, h1 solved 69 problems against 18 for AxProverBase. The two loops differ in several ways, such as AxProverBase rewriting the whole proof after each round of feedback.

Why it matters

Teams building AI tools for machine-checked math should care most. The authors advise testing a strong model in a simple, fast loop before designing elaborate plans. They expect the lessons to carry over to software checking, which the paper did not test. For everyone else, AI now writes research math that people find hard to verify. Machine-checked proofs offer one way to confirm it.

The catch

Many comparisons rest on a single run, so close margins between systems are uncertain. Most of the models are also closed to outside inspection. So the authors cannot measure whether test problems appeared in their training material. Where possible, they used models released before the problems. With the same model, hand-planned systems still solved two problems that h1 could not, so the simple loop does not win everywhere.

Who wrote it

Skander Moalla is the first author of this five-person paper. The other authors are Ahmad Rammal, Niket Patel, Remi Munos and Julia Kempe. Kempe co-authored “Formalizing Mathematics at Scale” (2026).