跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2506.11085 (cs)
[提交于 2025年6月4日]

标题:LeanExplore: A search engine for Lean 4 declarations

作者:Justin Asher
查看论文《LeanExplore: A search engine for Lean 4 declarations》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The expanding Lean 4 ecosystem poses challenges for navigating its vast libraries. This paper introduces LeanExplore, a search engine for Lean 4 declarations. LeanExplore enables users to semantically search for statements, both formally and informally, across select Lean 4 packages (including Batteries, Init, Lean, Mathlib, PhysLean, and Std). This search capability is powered by a hybrid ranking strategy, integrating scores from a multi-source semantic embedding model (capturing conceptual meaning from formal Lean code, docstrings, AI-generated informal translations, and declaration titles), BM25+ for keyword-based lexical relevance, and a PageRank-based score reflecting declaration importance and interconnectedness. The search engine is accessible via a dedicated website (https://www.leanexplore.com/) and a Python API (https://github.com/justincasher/lean-explore). Furthermore, the database can be downloaded, allowing users to self-host the service. LeanExplore integrates easily with LLMs via the model context protocol (MCP), enabling users to chat with an AI assistant about Lean declarations or utilize the search engine for building theorem-proving agents. This work details LeanExplore's architecture, data processing, functionalities, and its potential to enhance Lean 4 workflows and AI-driven mathematical research
评论: 16 pages, 1 figure. Project website: https://www.leanexplore.com/ , Code: https://github.com/justincasher/lean-explore
主题: 软件工程 (cs.SE); 人工智能 (cs.AI); 计算与语言 (cs.CL); 信息检索 (cs.IR); 机器学习 (cs.LG); 计算机科学中的逻辑 (cs.LO)
引用方式: arXiv:2506.11085 [cs.SE]
  (或者 arXiv:2506.11085v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2506.11085

提交历史

来自:Justin Asher
[v1] 2025年6月4日 星期三 16:09:54 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-06
切换浏览方式为:
cs
cs.AI
cs.CL
cs.IR
cs.LG
cs.LO

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站