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

面向 Mathlib4 的语义搜索引擎

A Semantic Search Engine for Mathlib4

School of Mathematical Sciences, Peking University(北京大学数学科学学院);Beijing International Center for Mathematical Research, Peking University(北京国际数学研究中心(北京大学));Center for Machine Learning Research, Peking University(北京大学机器学习研究中心)

Guoxiong Gao, Haocheng Ju, Jiedong Jiang, Zihan Qin, Bin Dong

AI总结:

本文提出面向 mathlib4 的语义搜索引擎 leansearch.net,支持非形式化查询检索相关定理,并建立了评估 mathlib4 搜索引擎性能的基准。

摘要:

交互式定理证明器 Lean 支持形式化数学证明的验证,并拥有一个不断壮大的社区作为支撑。该生态系统的核心是其数学库 mathlib4,它为日益广泛的数学理论的形式化奠定了基础。然而,在 mathlib4 中检索定理可能颇具挑战。为了在 mathlib4 中成功检索,用户通常需要熟悉其命名约定或文档字符串。因此,创建一个可供对 mathlib4 熟悉程度各异的用户轻松使用的语义搜索引擎非常重要。在本文中,我们提出了一个面向 mathlib4 的语义搜索引擎(https://leansearch.net/),它接受非形式化查询并查找相关定理。我们还建立了一个基准,用于评估面向 mathlib4 的各种搜索引擎的性能。

英文摘要:

The interactive theorem prover Lean enables the verification of formal mathematical proofs and is backed by an expanding community. Central to this ecosystem is its mathematical library, mathlib4, which lays the groundwork for the formalization of an expanding range of mathematical theories. However, searching for theorems in mathlib4 can be challenging. To successfully search in mathlib4, users often need to be familiar with its naming conventions or documentation strings. Therefore, creating a semantic search engine that can be used easily by individuals with varying familiarity with mathlib4 is very important. In this paper, we present a semantic search engine (https://leansearch.net/) for mathlib4 that accepts informal queries and finds the relevant theorems. We also establish a benchmark for assessing the performance of various search engines for mathlib4.

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

↑