arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.23637cs.LGcs.AIcs.CLcs.LO
收藏

在Lean中结合文本和结构信息进行前提选择

Combining Textual and Structural Information for Premise Selection in Lean

Faculty of Mathematics and Physics, University of Ljubljana(卢布尔雅纳大学数学与物理学院);University of Ljubljana(卢布尔雅纳大学);Department of Knowledge Technologies, Jožef Stefan Institute(知识技术系,乔泽夫·斯塔芬研究所)

Job Petrovčič, David Eliecer Narvaez Denis, Ljupčo Todorovski

AI总结:

本文提出结合文本和结构信息的图增强方法,用于改进Lean中前提选择的性能,实验表明该方法在基准测试中优于现有基线。

摘要:

前提选择是扩展大型正式库中定理证明的关键瓶颈。然而,现有基于语言的方法往往孤立地处理前提,忽略了连接它们的依赖网络。我们提出了一种图增强的方法,结合Lean正式化的密集文本嵌入与异构依赖图上的图神经网络,该图捕捉了状态-前提和前提-前提关系。在LeanDojo基准测试中,我们的方法在标准检索指标上比ReProver语言基线高出超过25%。这些结果表明,关系信息对前提选择是有益的。

英文摘要:

Premise selection is a key bottleneck for scaling theorem proving in large formal libraries. Yet existing language-based methods often treat premises in isolation, ignoring the web of dependencies that connects them. We present a graph-augmented approach that combines dense text embeddings of Lean formalizations with graph neural networks over a heterogeneous dependency graph capturing both state-premise and premise-premise relations. On the LeanDojo Benchmark, our method outperforms the ReProver language-based baseline by over 25\% across standard retrieval metrics. These results suggest that relational information is beneficial for premise selection.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑