A Semantic Search Engine for Mathlib4

Guoxiong Gao, Haocheng Ju, Jiedong Jiang, Zihan Qin, Bin Dong
3/20/2024
cs.IRcs.LGcs.LO

No confident code implementation found for this paper. 6 possible matches can be shown below.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 6 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gao2024semantic,
  title  = {A Semantic Search Engine for Mathlib4},
  author = {Guoxiong Gao and Haocheng Ju and Jiedong Jiang and Zihan Qin and Bin Dong},
  year   = {2024},
  eprint = {2403.13310},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.13310v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.13310.svg)](https://codeofpaper.com/paper/2403.13310)

Discussion