cs.AINov 19, 2026

Budget-Aware Predict-and-Verify Theorem Proving with Heterogeneous LLM Solvers

Authors: Wei Jiang, Ziran Liu, Wei Wang

Organizations: Futurewei Technologies San Jose, CA 95131, USA · Shanghai Institute for Mathematics and Interdisciplinary Sciences Shanghai, China

Abstract

Large language model (LLM) theorem solvers differ in both proving capability and inference cost. Applying an expensive solver to every subgoal wastes computation when cheaper models are sufficient, while always starting from the cheapest solver wastes attempts on subgoals that require stronger models. We present BudgetPV, an agentic budget-aware predict-and-verify system that allocates computation across unresolved subgoals and heterogeneous LLM solvers. BudgetPV uses a cross-solver predictor to guide solver selection for each subgoal and revises the allocation as verification feedback becomes available. The allocation problem changes as proving progresses. Early decisions mainly determine which solver should handle an untried subgoal, while later decisions determine which previously attempted subgoals should receive additional computation. We train the predictor with two objectives for these two stages. Class-weighted cross-entropy improves assignment to less frequent stronger solvers during the initial stage, while plain cross-entropy provides better calibrated probabilities for later allocation among previously attempted subgoals. We evaluate BudgetPV on Lean Workbook, miniF2F, ProofNet, and PutnamBench using three progressively expanded solver settings: a strong but expensive solver alone, adding a medium-cost solver with intermediate solving capability, and further adding a cheap solver with lower solving capability. BudgetPV requires less LLM generation computation than uniform allocation to solve the same number of subgoals across the evaluated settings. The experiments further show the computation savings obtained as medium- and lower-cost solvers are added.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Cost-Efficient Theorem Proving via Agent Orchestration in Program Verification

    Oct 7, 2026Shuangjie Yao, Nikolaus Holzer, Mark Paul Santolucito +3Automated Theorem ProvingFormal Verification

  2. LLM-as-Judge on a Budget

    Feb 17, 2026Aadirupa Saha, Aniket Wagde, Branislav KvetonLLM EvaluationLLM-as-a-Judge

  3. Optimizing the Cost-Quality Tradeoff of Agentic Theorem Provers in Lean

    Jun 3, 2026Kári Rögnvaldsson, Chenhao Sun, Jasper Dekoninck +1Automated Theorem ProvingLean Theorem Proving