LeanExplore Bench tests how well search engines find Lean 4 declarations
A new arXiv paper introduces a 3,200-query benchmark for engines that index Lean 4 declarations, ranking four hosted services, a BM25 baseline, and the Lumen prototype.
In plain words
Lean is a programming language used to write machine-checked mathematical proofs, and Mathlib is its large shared library. Finding the right existing declaration is hard, so researchers built a benchmark of realistic search queries to measure how well different search engines retrieve them.
What was announced
LeanExplore Bench contains 3,200 queries about Mathlib, split evenly across four query types: names and keywords, natural language, formal statements and proof states, and questions drawn from Lean Zulip threads. Each query is paired with one or more Mathlib declarations that answer it, and the dataset and code are public, according to the paper's abstract.
The authors report scores for four hosted engines, a BM25 baseline, and Lumen, the development version of LeanExplore. Lean Finder leads the hosted engines with an MRR@10 of 83.4, ahead of LeanSearch at 73.6, Octo Search at 67.0, and LeanExplore at 48.4. Lumen, designed on the benchmark's development split and searching the descriptions the query writer saw, scores 92.5. The authors note that a query often has correct answers beyond the declaration it was written for, and counting those raises the hosted engines' scores by 8 to 12 points.
What it does not show
- The source is the paper's abstract only; full methodology, error analysis, and evaluation details are not available in the supplied passages.
- Lumen was designed on the benchmark's development split and searches descriptions the query writer saw, so its 92.5 score is not directly comparable to the hosted engines' scores.
- The reported scores come from the benchmark's authors; the passages show no independent confirmation.
Sources
Source-support review completed 5 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 5 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.