DAPS: Dependency-Aware Premise Selection for LLM Theorem Proving
Zixuan Chen, Wenyuan Jiang, Junling Wang, Mrinmaya Sachan, Yinya Huang
NeurIPS page · OpenReview · Open on the map
Category: LLM Agents, Evals & Benchmarks › Long-Horizon Coding and Proof Benchmarks · Type: new method · Keywords: theorem proving, dependency graphs, premise selection, LLM-based provers, formal verification
Areas: LLM Reasoning › Reasoning Strategies › Agent Memory and Reasoning; Evaluation & Benchmarks › Language Model and Agent Benchmarks › Formal Mathematics Benchmarks
Summary
DAPS is a dependency-aware premise selector that leverages structural dependencies and a new corpus of informal+formal nodes to improve recall in LLM theorem proving.
Explained to a 5-year-old
People make computer programs that can prove math problems using a special language. These programs need to find the right clues (called premises) to help them prove the problem. The old way only looks at how similar the clues are, so it often picks the same popular clues and misses the rare ones. The new system looks at how the clues are connected, like a family tree, to find the best clues. It also uses a new set of rare clues, so it can solve harder problems better.
Explained to a 5-year-old, longer
A computer program can try to solve math problems by writing proofs in a special language. To do this, it needs to find the right pieces of math that act like hints. The old way of finding hints looks at how similar the hints are to each other. This makes the program pick the same popular hints over and over again. Sometimes the right hint is rare or not used often, so the old method misses it. The new system looks at how the hints are connected, like a family tree of ideas. By seeing the connections, it can find the clues that are most useful for the problem. It also uses a brand-new collection of hints that were not available before. This collection includes many rare hints that come from real math research. The new system works better on both everyday math problems and harder competition problems. It helps the computer solve more problems correctly without needing a lot of extra work. In the end, this makes it easier for people to create new math proofs using computers.
For a technical reader
The system builds a premise selector that uses the dependency graph of mathematical lemmas rather than simple semantic similarity. It introduces a structural neighborhood encoder and a contrastive loss that groups related premises together, and it adapts from a large formal library to a newly mined informal corpus. This yields a significant boost in recall on standard benchmarks and improves performance on out-of-distribution informal problems. The authors also release the dependency resources, benchmarks, and code to facilitate further research.
Problem
LLM-based theorem provers struggle to retrieve relevant premises when the candidate pool is large, because retrieval methods rely on semantic similarity and tend to favor frequent lemmas, overlooking rare or less common premises.
Method
The approach leverages dependency structures of lemmas, using a structural neighborhood encoder and a group-level contrastive objective, and adapts from Mathlib4 to a newly curated informal+formal corpus.
Results
The approach achieves a Recall@32 of 89.31 on Mathlib4-Heldout, surpassing the strong selector by 11.47 points, and maintains performance on out-of-distribution benchmarks while improving three general-purpose LLMs on the informal IMOProofBench.
Contributions
The paper introduces a dependency-aware premise selection framework that incorporates structural dependencies, curates a new corpus of rare informal+formal nodes, and provides a systematic mining of Lean Blueprint projects. It also releases dependency graphs, benchmarks, and code under a permissive license.
Practical relevance
Providing accessible dependency resources and a robust premise selector will help researchers and practitioners improve LLM-based theorem proving on both formal and informal problems.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction