Legendre Leaderboard: which Lean search engine is the best?
Published Lean search engines each evaluate on their own corpus with their own metrics, so their numbers are not comparable to one another — and nobody has measured how general-purpose embedding models do on Lean-specific retrieval. Every system here is scored on one pinned corpus, with one document renderer, using exact search with no approximate index to confound the result. Every system publishes a full R@k curve, not a cut-off.
Recall curves
A cut-off is a single point on a curve, and two systems with the same nDCG@10 can climb very differently. Everything here is derived from the stored per-query rank positions and shipped as static JSON, so the curves render with no backend and no runtime compute.
full_name against mathlib-4280 (310,579 declarations); 11 of the 200 are absent at the pinned revision, so their queries are reported unresolved rather than counted as misses. Dashed curves are published Lean search engines we did not run ourselves: we queried each one over its public HTTP API — LeanSearch v2 at POST leansearch.net/search and LeanExplore at POST leanexplore.com/api/v2/search — sending it every benchmark query and scoring the ranking it returned. So the embedding model, the index and the reranker behind those curves are theirs, running on their hardware against their own corpus snapshot, and only the queries and the metrics are ours. They share a hue with one of our systems, so the stroke is what tells them apart. LeanSearch v2 ends at k=50 — that service returns no more results, so the metric above it is undefined rather than flat.- LeanSearch v2published
- Nemotron3-8B
- Qwen3-8B
- Qwen3-4B
- LeanExplorepublished
- Nemotron3-1B
- Qwen3-0.6B
- BGE-M3
- EmbGemma-300M
- BM25
At k = 10
The leaderboard has the same systems as a sortable table with model metadata, licenses and latency; explore the datasets to see the ground-truth pairs behind every number, or run a live query against these systems side by side.