paper-with-me

Papers

LeanExplore: A search engine for Lean 4 declarations

2025-06-04 · Justin Asher

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

📄 PDF Abstract BibTeX arXiv:2506.11085

Code (1)

justincasher/lean-explore 공식 구현

Tasks

Automated Theorem Proving

Similar Papers 제목 키워드 기반

MerLean: An Agentic Framework for Autoformalization in Quantum Computation

2026-02-18 · Yuanjie Ren, Jinzheng Li, Yidi Qi arxiv

We introduce MerLean, a fully automated agentic framework for autoformalization in quantum computation. MerLean extracts mathematical statements from \LaTeX{} source files, formalizes them into verified Lean~4 code built…

LeanSearch v2: Global Premise Retrieval for Lean 4 Theorem Proving

2026-05-13 · Guoxiong Gao, Zeming Sun, Jiedong Jiang, Yutong Wang 외 arxiv

Proving theorems in Lean 4 often requires identifying a scattered set of library lemmas whose joint use enables a concise proof -- a task we call global premise retrieval. Existing tools address adjacent problems: semant…

Automatic Textbook Formalization

2026-04-03 · Fabian Gloeckle, Ahmad Rammal, Charles Arnal, Remi Munos 외 arxiv

We present a case study where an automatic AI system formalizes a textbook with more than 500 pages of graduate-level algebraic combinatorics to Lean. The resulting formalization represents a new milestone in textbook fo…

Yanasse: Finding New Proofs from Deep Vision's Analogies, Part 1

2026-04-19 · Alexandre Linhares arxiv

Project Yanasse presents a method for discovering new proofs of theorems in one area of mathematics by transferring proof strategy patterns (e.g., Lean 4 tactic invocation patterns) from a structurally distant area. The …

Theory-Scale Auto-Formalization of Logics for Computer Science

2026-06-25 · Yuming Feng, Frederick Pu, One An, Osbert Bastani 외 arxiv

Auto-formalization is critical for scalable formal verification, but existing progress largely focuses on isolated statements, while theory-scale auto-formalization, which coherently translates hundreds of interdependent…