TRANSMISSION // 2607.16372v3

AI theorem proving, rebuilt around proof trees

Source published

A proof agent that edits structured proof trees instead of source text used fewer tokens and tool calls in benchmark tests, though the comparison has important limits.

AI-generated conceptual illustration for AI theorem proving, rebuilt around proof trees
AI-generated conceptual illustration; not documentary evidence.

Formal proofs can help verify software and encode mathematics, but writing them is labor-intensive. A new AI agent changes how a language model interacts with a proof assistant: instead of editing proof text and chasing line-numbered errors, it works with a structured tree of proof steps and goals.

Interactive theorem provers check proofs step by step, making them useful for formal mathematics and software verification. But producing those proofs takes substantial human effort. Language-model agents can help, yet their repeated requests to inspect proof states, read errors and revise source files can make them costly to run.

A paper by Qiyuan Xu and colleagues asks whether changing the agent’s interface—not the underlying language model—could make proof construction more efficient. Their system, called Agent over AST (AoA), represents proof steps as an abstract syntax tree, or AST: a structured description of what each part of a proof means, rather than the exact text used to write it.

Replacing text edits with a proof tree

In a conventional workflow, an agent writes or changes proof text, asks the proof assistant to check it, then uses reported file locations to find errors or inspect the current goal. Editing can shift line numbers, making earlier locations unreliable. The agent may need more tool calls to recover the relevant context.

AoA instead uses Minilang, a proof-planning language, and lets the model supply its AST as JSON. Its editing tools change a proof tree directly. The tree records proof operations alongside the subgoals they produce and the proof assistant’s feedback. In effect, the agent can inspect a goal where it appears in the tree rather than locating it separately in a text file. The system can also return a compressed update after an edit, highlighting changed goals and feedback rather than resending the whole tree.

This setup tackles two related problems. A structured representation may help an agent work with a newer language whose exact syntax is unfamiliar, and bundling proof actions with their results may reduce repeated navigation and context retrieval. The proof assistant still evaluates the operations; the tree is an interface for constructing and inspecting the proof, not a substitute for checking it.

What the tests found

The researchers compared AoA with Amazon’s Isabelle Agent, a text-editing proof agent, using the Isabelle/HOL platform for both. They tested miniF2F, a benchmark of mathematical problems, and NTP4VC-Pearl, a collection of verification conditions drawn from programs verified with Why3. For efficiency comparisons, they examined cases both agents solved—the “common success set”—so that resource use was compared on completed proofs. Their reported API-cost comparison also adjusts for differences in input-cache accounting.

On these shared solved cases, AoA used fewer tokens, made fewer tool calls and finished sooner. The paper reports 2.9–6.9 times fewer tokens, 3.9–8.9 times fewer tool calls and completion times 1.4–2.0 times faster, depending on the comparison. With normalized cache accounting, reported API costs were 2.3–4.7 times lower. The system also reported an 89.2% pass rate on NTP4VC-Pearl and, with GPT 6 sol, a 100% pass rate on miniF2F. These are results on the tested benchmarks and configurations, not evidence that the approach will perform similarly on every proof task.

The authors also tested whether AoA could use Minilang without a model trained on its public proof corpus. They ran an experiment with Claude Opus 4.5, released before that corpus became public, and report a 98.6% pass rate on a selected miniF2F subset. That result supports feasibility in this setting, but cannot establish that the approach works for arbitrary new formal languages.

What remains uncertain

The comparison does not isolate the effect of the tree interface from the effect of Minilang: AoA changes both, and the authors say a clean separation is difficult. A separate comparison with a text-editing Minilang agent offers some evidence for the tree-edit design, but it does not remove every possible difference between systems.

The baseline could not be run across the full benchmarks because of cost, so its evaluation used sampled subsets. The paper also notes that miniF2F is mainly mathematical, while NTP4VC-Pearl comes from one verification framework; results may differ for other proof assistants or verification conditions. In addition, the claimed advantage over existing systems depends partly on the authors’ comparisons and accounting choices.

This is a preprint, so its findings should be treated as research claims rather than settled consensus. The evidence points to a practical design idea: make proof state and proof actions available together in a structured interface. Broader testing will be needed to learn how far that idea generalizes.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • A smarter way to spend AI effort on formal proofs

    Supporting evidence: Both papers report reduced resource use from agent-design changes in evaluated theorem-proving settings. Xu et al. report that AoA used fewer tokens and tool calls and had lower normalized API cost and elapsed time than Amazon’s Isabelle Agent on common success sets; Jiang et al. report that BudgetPV used less LLM generation computation than uniform allocation to solve the same number of subgoals. The systems, baselines, benchmarks, and resource measures differ, so this supports only those bounded observations, not a direct performance comparison or a general claim across theorem proving.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2607.16372v3 — Original paper

      Excerpt reference: static/papers/2607.16372v3.md:13-112
      Basis: Paper text
      Source file SHA-256: d0144196d1b39b7adec23b9e29bc57b526da820ca45e10059b74ecc4a5c82921

    • 2611.26906v1 — Original paper

      Excerpt reference: static/papers/2611.26906v1.md:13-86
      Basis: Paper text
      Source file SHA-256: d0ef77a387f395be23fc0c215c15d9a19f6e67374745839d67b9693c12eb9d02

    • 2611.26906v1 — Original paper

      Excerpt reference: static/papers/2611.26906v1.md:134-186
      Basis: Paper text
      Source file SHA-256: d0ef77a387f395be23fc0c215c15d9a19f6e67374745839d67b9693c12eb9d02

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.