arXiv · 2501.15797
LemmaHead: RAG Assisted Proof Generation Using Large Language Models
Abstract
Developing the logic necessary to solve mathematical problems or write mathematical proofs is one of the more difficult objectives for large language models (LLMS). Currently, the most popular methods in literature consists of fine-tuning the model on written mathematical content such as academic publications and textbooks, so that the model can learn to emulate the style of mathematical writing. In this project, we explore the effectiveness of using retrieval augmented generation (RAG) to address gaps in the mathematical reasoning of LLMs. We develop LemmaHead, a RAG knowledge base that supplements queries to the model with relevant mathematical context, with particular focus on context from published textbooks. To measure our model's performance in mathematical reasoning, our testing paradigm focuses on the task of automated theorem proving via generating proofs to a given mathematical claim in the Lean formal language.
Explore related subjects
Keep this discovery
Tianbo Yang, Mingqi Yan, Hongyi Zhao, Tianshuo Yang. 2025-01-27. LemmaHead: RAG Assisted Proof Generation Using Large Language Models. https://arxiv.org/abs/2501.15797
Cite the original work for its findings. Save a collection to share your selection of sources.