# DAPS: Dependency-Aware Premise Selection for LLM Theorem Proving

DevFeed: [DAPS: Dependency-Aware Premise Selection for LLM Theorem Proving](<https://devfeed.tech/articles/daps-dependency-aware-premise-selection-for-llm-theorem-proving-111596.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.41536>)

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

Published: 2026-11-02T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>)

Tags: [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [blueprint](<https://devfeed.tech/tags/blueprint.md>), [competition](<https://devfeed.tech/tags/competition.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [cs-lo](<https://devfeed.tech/tags/cs-lo.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [first](<https://devfeed.tech/tags/first.md>), [llm](<https://devfeed.tech/tags/llm.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [mining](<https://devfeed.tech/tags/mining.md>), [model](<https://devfeed.tech/tags/model.md>), [over](<https://devfeed.tech/tags/over.md>), [pair](<https://devfeed.tech/tags/pair.md>), [popular](<https://devfeed.tech/tags/popular.md>), [problems](<https://devfeed.tech/tags/problems.md>), [projects](<https://devfeed.tech/tags/projects.md>), [queries](<https://devfeed.tech/tags/queries.md>), [ranking](<https://devfeed.tech/tags/ranking.md>), [selection](<https://devfeed.tech/tags/selection.md>)

## AI overview

DAPS uses dependency structure to retrieve Lean 4 theorem premises, addressing frequency-skewed selection, isolated pairwise ranking, and weaker performance on out-of-distribution queries. It combines a structural neighborhood encoder and group-level contrastive training with a Mathlib-then-Blueprint adaptation procedure. The authors mine 53 Lean Blueprint projects, yielding 3,805 manually curated informal and formal nodes for rare research-level premises absent from Mathlib4, and extract typed, multi-level Mathlib4 dependencies. DAPS achieves mean Recall@32 of 89.25 on Mathlib4-Heldout, 11.41 points above LeanHammer, and retains its lead on two out-of-distribution benchmarks. The abstract also reports improved theorem proving on miniF2F and IMO-ProofBench when using DAPS-selected premises.

## Source excerpt

arXiv:2610.41536v1 Announce Type: cross 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/.