NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Semantic Search over 9 Million Mathematical Theorems

Luke Alexander, Eric Leonen, Sophie Szeto, Artemii Remizov, Ignacio Tejeda, Jarod Alper, Giovanni Inchiostro, Vasily Ilin

NeurIPS page · OpenReview · Open on the map

Category: LLM Agents, Evals & Benchmarks › Autonomous Scientific Discovery · Type: new method · Keywords: semantic theorem retrieval, mathematical knowledge search, large-scale benchmark, embedding representation, evaluation methodology

Areas: Evaluation & Benchmarks › Language Model and Agent Benchmarks › Mathematical Reasoning Evaluation

Summary

Semantic theorem retrieval at scale over a corpus of 9.2 million theorems improves both theorem-level and paper-level search compared to existing baselines.

Explained to a 5-year-old

People need to find exact math facts, but most search tools give whole papers. This work made a huge collection of math facts from many sources and built a search that finds the right fact quickly. It checks different ways to describe the facts and chooses the best one. The new search works better than old ones for finding both single facts and whole papers. Anyone can use the search online for free.

Explained to a 5-year-old, longer

Searching for a specific math fact is hard because regular search gives you whole papers. This project gathered millions of math facts from many places, like arXiv and other sources, into one big collection. Each fact was turned into a short sentence that describes it. The researchers tried many ways to describe the facts and used different AI models to see which worked best. They tested the search on questions written by professional mathematicians. The new search did better than older methods for finding both single facts and entire papers. They also made the collection, a search tool, an API, and a server available for anyone to use. This helps mathematicians and computer programs that prove theorems find exactly what they need. The project shows that searching huge math collections can be done well at a large scale. It also points out what still needs improvement in math search. The results give confidence that semantic search can be effective for technical documents. The project page lets people explore and try the tool for free.

For a technical reader

The paper introduces a system that builds a unified corpus of 9.2 million theorem statements from multiple sources. Each theorem is represented by a short natural-language description that serves as a retrieval embedding. The authors systematically evaluate how different representation contexts, language models, embedding models, and prompting strategies impact retrieval performance. Using a curated set of queries from professional mathematicians, the system achieves substantial gains over baseline methods for both theorem-level and paper-level search. The project releases the dataset, a web search tool, a REST API, and an MCP server for public use.

Problem

Searching for specific mathematical results such as theorems, lemmas, or propositions is difficult because most tools retrieve entire papers rather than the exact statement needed. Existing semantic search methods have not been thoroughly evaluated on large, highly technical theorem corpora, leaving their effectiveness unclear.

Method

The approach builds a unified corpus of 9.2 million theorem statements from arXiv and other sources, represents each theorem with a short natural-language description as a retrieval representation, and evaluates how representation context, language model choice, embedding model, and prompting strategy affect retrieval quality.

Results

The approach substantially improves both theorem-level and paper-level retrieval compared to existing baselines.

Contributions

A large-scale unified corpus of 9.2 million research-level theorem statements and an empirical analysis of how various representation and prompting choices affect semantic theorem retrieval performance.

Practical relevance

Provides a publicly available search tool and resources for mathematicians and theorem-proving agents to retrieve specific theorems at web scale.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction