atlas

Research map / Large language models / Agents, code and math

APOLLO: Automated LLM and Lean Collaboration for Advanced Formal Reasoning

NeurIPS 2025 · Large language models › Agents, code and math · approach: Formal verification and proof data · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes APOLLO, a modular agentic pipeline that repairs LLM-generated Lean proofs using compiler feedback, sorry-based sub-lemma isolation, automated solvers, and recursive LLM re-invocation, reaching new miniF2F-test SOTA among sub-8B models.

Problem

Whole-proof generation with LLMs for formal theorem proving in Lean relies on many sampled proofs that are only binary-checked, wasting compiler feedback and requiring thousands of samples.

Approach

Use the Lean REPL's error messages to localize failing sub-lemmas, replace them with sorry, close easy goals with automated solvers, and recursively re-prompt the LLM on remaining sub-goals with small top-K budgets, then reassemble and reverify the proof.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply Apollo repairGoedel-SFT · miniF2F-testaccuracy: 64.7% -> 65.6%Helped
Apply Apollo repairKimina-Preview · miniF2F-testaccuracy: 70.8% -> 75.0%Helped
Apply Apollo repairGoedel-V2 · miniF2F-testaccuracy: 84.0% -> 84.9%Helped
Apply Apollo repairo3-mini · miniF2F-testaccuracy: 24.6% -> 40.2%Helped
Apply Apollo repairo4-mini · miniF2F-testaccuracy: 7.0% -> 46.7%Helped
Apply Apollo repairKimina-Preview · PutnamBenchvalid proofs: 10/658 -> 11/658Helped
Apply Apollo repairKimina-Preview · ProofNetaccuracy: 11.3% -> 18.3%Helped
Add Syntax Refiner (ablation)Apollo with o4-mini, without other modules · miniF2F-testaccuracy: 7.0% -> 7.4%Helped
Add Syntax Refiner (ablation)Apollo with Kimina-7B, without other modules · miniF2F-testaccuracy: 63.1% -> 63.1%No clear effect
Add Auto Solver (ablation)Apollo with o4-mini, without other modules · miniF2F-testaccuracy: 7.0% -> 7.0%No clear effect
Add LLM Re-Invoker (ablation)Apollo with Kimina-7B, without other modules · miniF2F-testaccuracy: 63.1% -> 69.3%Helped
Add Syntax Refiner and Auto Solver (ablation)Apollo with o4-mini, without LLM Re-Invoker · miniF2F-testaccuracy: 7.0% -> 20.5%Helped

Surprising findings

Limitations

Experimental setup

Datasets: miniF2F PutnamBench ProofNet

Benchmarks: miniF2F-test PutnamBench ProofNet

Metrics: accuracy sample budget token budget

Baselines: Goedel-Prover-SFT Kimina-Prover-Preview-Distill-7B Goedel-V2 o3-mini o4-mini Hypertree Proof Search BFS-Prover STP RMaxTS Leanabell-GD-RL DeepSeek-R1-Distill-Qwen-7B

Builds on: Lean REPL Draft, Sketch, and Prove Baldur ReProver

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy