cs.LOOct 30, 2026

DAPS: Dependency-Aware Premise Selection for LLM Theorem Proving

Authors: Zixuan Chen, Wenyuan Jiang, Junling Wang, Mrinmaya Sachan, Yinya Huang

Organizations: ETH Zurich · ETH Zurich, ETH AI Center

Abstract

LLM-based theorem proving in Lean 4 has advanced rapidly, but provers are difficult to leverage newly contributed lemmas, because retrieval skews toward popular foundational lemmas, leaving the right premises buried among hundreds of thousands of candidates. Existing neural selectors rank candidates by semantic similarity, with three intrinsic limitations: frequency-skewed retrieval, isolated pairwise ranking, and degradation on out-of-distribution queries such as competition problems and informal language. Given that mathematics is structured by dependencies rather than similarities, we restore this signal to both the training data and the model. We curate two underused dependency resources. We conduct the first systematic mining of 53 Lean Blueprint projects, a previously untapped corpus of 3,805 manually curated informal+formal nodes that capture rare, research-level premises absent from Mathlib4. We further pair it with the extraction of comprehensive, typed, multi-level Mathlib4 dependencies. We then introduce DAPS, a dependency-aware premise selector with a structural neighborhood encoder, a group-level contrastive objective, and a Mathlib-then-Blueprint adaptation procedure. DAPS reaches mean Recall@32 of 89.25 on Mathlib4-Heldout (+11.41 over the strong selector LeanHammer), and maintains this lead on two out-of-distribution benchmarks. Further experiments demonstrate that DAPS premises improve theorem proving on miniF2F and IMO-ProofBench. Project page: https://daps-eth.github.io/.

Figures & tables

Appendix figures & tables29 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. LeanSearch v2: Global Premise Retrieval for Lean 4 Theorem Proving

    May 13, 2026Guoxiong Gao, Zeming Sun, Jiedong Jiang +5Lean Theorem ProvingEvidence Retrieval

  2. Lean Graph Search for Formal Theorem Proving

    Oct 15, 2026Yihan Xu, Jia-Chen Gu, Junyi Zhang +7Graph-Based RetrievalLean Theorem Proving

  3. TheoremBench: Evaluating LLMs on Theorem Proving in Formal Mathematics

    Jun 8, 2026QuocViet Pham, Elvir Karimov, Andrey Galichin +1Mathematical Reasoning BenchmarksLLM Evaluation