mlsanityData to 14 Oct 2026

Lean Copilot: Large Language Models as Copilots for Theorem Proving in Lean

arXiv 2404.12534 ↗First posted 18 Apr 2024cs.AI cs.LG cs.LOcited by 58

Not on the map. Why?

Abstract (arXiv)

Neural theorem proving combines large language models (LLMs) with proof assistants such as Lean, where the correctness of formal proofs can be rigorously verified, leaving no room for hallucination. With existing neural theorem provers pretrained on a fixed collection of data and offering valuable suggestions at times, it is challenging for them to continually prove novel theorems in a fully autonomous mode, where human insights may be critical. In this paper, we explore LLMs as copilots that assist humans in proving theorems. We introduce Lean Copilot, a general framework for running LLM inference natively in Lean. It enables programmers to build various LLM-based proof automation tools that integrate seamlessly into the workflow of Lean users. Lean users can use our pretrained models or bring their own ones that run either locally (with or without GPUs) or on the cloud. Using Lean Copilot, we build LLM-based tools that suggest proof steps, complete proof goals, and select relevant premises. Experimental results on the Mathematics in Lean textbook demonstrate the effectiveness of our method compared to existing rule-based proof automation in Lean (aesop). When assisting humans, Lean Copilot requires only 2.08 manually-entered proof steps on average (3.86 required by aesop); when automating the theorem proving process, Lean Copilot automates 74.2% proof steps on average, 85% better than aesop (40.1%). We open source all code and artifacts under a permissive MIT license to facilitate further research.

Key facts. Cited by 58 papers in the map (data through 14 Oct 2026). Builds on 36 of its 72 references that are in the map. First posted on arXiv 18 Apr 2024.

Builds on

36 of 72 references.

References · 36

  1. 2017Attention Is All You Needcited by 60,361
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  3. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  4. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  5. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
  6. 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 509
  7. 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 463
  8. 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 427
  9. 2020Generative Language Modeling for Automated Theorem Provingcited by 388
  10. 2022Autoformalization with Large Language Modelscited by 263
  11. 2022HyperTree Proof Search for Neural Theorem Provingcited by 197
  12. 2023ProofNet: Autoformalizing and Formally Proving Undergraduate-Level Mathematicscited by 192
24 more
  1. 2022Formal Mathematics Statement Curriculum Learningcited by 142
  2. 2019The Lean mathematical librarycited by 134
  3. 2021Proof Artifact Co-training for Theorem Proving with Language Modelscited by 132
  4. 2023Baldur: Whole-Proof Generation and Repair with Large Language Modelscited by 119
  5. 2019Learning to Prove Theorems via Interacting with Proof Assistantscited by 109
  6. 2022Thor: Wielding Hammers to Integrate Language Models and Automated Theorem Proverscited by 98
  7. 2016DeepMath - Deep Sequence Models for Premise Selectioncited by 81
  8. 2023Evaluating the Code Quality of AI-Assisted Code Generation Tools: An Empirical Study on GitHub Copilot, Amazon CodeWhisperer, and ChatGPTcited by 71
  9. 2023Evaluating Language Models for Mathematics through Interactionscited by 70
  10. 2019Graph Representations for Higher-Order Logic and Theorem Provingcited by 55
  11. 2023FIMO: A Challenge Formal Dataset for Automated Theorem Provingcited by 55
  12. 2023Magnushammer: A Transformer-Based Approach to Premise Selectioncited by 50
  13. 2018GamePad: A Learning Environment for Theorem Provingcited by 48
  14. 2017Premise Selection for Theorem Proving by Deep Graph Embeddingcited by 44
  15. 2018TacticToe: Learning to Prove with Tacticscited by 44
  16. 2020Learning to Prove Theorems by Learning to Generate Theoremscited by 43
  17. 2023LLMSTEP: LLM proofstep suggestions in Leancited by 32
  18. 2016Holophrasm: a neural Automated Theorem Prover for higher-order logiccited by 29
  19. 2019Learning to Reason in Large Theories without Imitationcited by 27
  20. 2017HolStep: A Machine Learning Dataset for Higher-order Logic Theorem Provingcited by 26
  21. 2020The Tactician (extended version): A Seamless, Interactive Tactic Learner and Prover for Coqcited by 24
  22. 2022Passport: Improving Automated Formal Verification Using Identifierscited by 19
  23. 2023Machine-Learned Premise Selection for Leancited by 10
  24. 2018Meta-F*: Proof Automation with SMT, Tactics, and Metaprogramscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 7; 2025: 15; 2026: 36.

58 papers.

Sort:

By area:

  1. 2024Formal Mathematical Reasoning: A New Frontier in AIcited by 81
  2. 2025ACE: A Security Architecture for LLM-Integrated App Systemscited by 55
  3. 2025ScienceBoard: Evaluating Multimodal Autonomous Agents in Realistic Scientific Workflowscited by 52
  4. 2025Ax-Prover: A Deep Reasoning Agentic Framework for Theorem Proving in Mathematics and Quantum Physicscited by 31
  5. 2024ClinicalLab: Aligning Agents for Multi-Departmental Clinical Diagnostics in the Real Worldcited by 28
  6. 2024Autoformalizing Euclidean Geometrycited by 27
  7. 2025Creativity in LLM-based Multi-Agent Systems: A Surveycited by 23
  8. 2025Adaptation of Agentic AI: A Survey of Post-Training, Memory, and Skillscited by 22
  9. 2026Large Language Model Reasoning Failurescited by 21
  10. 2024The Fusion of Large Language Models and Formal Methods for Trustworthy AI Agents: A Roadmapcited by 20
  11. 2025IRIS: Interactive Research Ideation System for Accelerating Scientific Discoverycited by 19
  12. 2025LeanExplore: A search engine for Lean 4 declarationscited by 18
38 more
  1. 2025Proving Olympiad Inequalities by Synergizing LLMs and Symbolic Reasoningcited by 17
  2. 2025Reviving DSP for Advanced Theorem Proving in the Era of Reasoning Modelscited by 17
  3. 2025Physics Supernova: AI Agent Matches Elite Gold Medalists at IPhO 2025cited by 14
  4. 2024Math Neurosurgery: Isolating Language Models' Math Reasoning Abilities Using Only Forward Passescited by 10
  5. 2026Riemann-Bench: A Benchmark for Moonshot Mathematicscited by 8
  6. 2025Diverse Inference and Verification for Advanced Reasoningcited by 6
  7. 2025Premise Selection for a Lean Hammercited by 6
  8. 2025Foundation Models for Scientific Discovery: From Paradigm Enhancement to Paradigm Transitioncited by 6
  9. 2026Prove2Me: An Open Collaborative Platform for Scaling Math Formalizationcited by 5
  10. 2026The Agentic Researcher: A Practical Guide to AI-Assisted Research in Mathematics and Machine Learningcited by 4
  11. 2026ExVerus: Verus Proof Repair via Counterexample Reasoningcited by 3
  12. 2026Interactive Evaluation Requires a Design Sciencecited by 3
  13. 2026Certified Program Synthesis with a Multi-Modal Verifiercited by 2
  14. 2024Fault Diagnosis in Power Grids with Large Language Modelcited by 1
  15. 2024AlphaIntegrator: Transformer Action Search for Symbolic Integration Proofscited by 1
  16. 2025Mathematics with large language models as provers and verifierscited by 1
  17. 2026Pipeline for Verifying LLM-Generated Mathematical Solutionscited by 1
  18. 2026Discovering mathematical concepts through a multi-agent systemcited by 1
  19. 2026FormalEvolve: Neuro-Symbolic Evolutionary Search for Diverse Autoformalizationcited by 1
  20. 2026Early Discoveries of Algorithmist I: Promise of Provable Algorithm Synthesis at Scalecited by 1
  21. 2026Lean Atlas: An Integrated Proof Environment for Scalable Human-AI Collaborative Formalizationcited by 1
  22. 2026Automating Formal Verification with Reinforcement Learning and Recursive Inferencecited by 1
  23. 2026Artificial Intelligence for Mathematical Reasoning: An Integrated Survey of Language Models, Neuro-symbolic Systems, and Verified Discoverycited by 1
  24. 2026Hypothesis-Disciplined Multi-Agent Automated Formalization of Asymptotic Statistical Theorycited by 1
  25. 2026LAMP: Lean-based Agentic framework with MCP and Proof Repaircited by 1
  26. 2026MathCoPilot: An Interactive System for Human-AI Symbiotic Paradigm of Mathematical Researchcited by 1
  27. 2026Self-Modifying Lean Proof Agents with Verifier-Grounded Benchmark Coevolutioncited by 1
  28. 2026CausalSmith: A Formally Grounded, Self-Improving Agentic Framework for Automated Research in Causal Inferencecited by 1
  29. 2026AxQM: A Textbook-Scale Benchmark for Formal Proof Synthesis in a Library of Finite-Dimensional Quantum Mechanicscited by 1
  30. 2025Lyria: A Genetic Algorithm-Driven Neuro-Symbolic Reasoning Framework for LLMscited by 0
  31. 2026VERIFY-RL: Verifiable Recursive Decomposition for Reinforcement Learning in Mathematical Reasoningcited by 0
  32. 2026Yanasse: Finding New Proofs from Deep Vision's Analogies, Part 1cited by 0
  33. 2026Keep the Proof State Live: Snapshotting for Efficient Tactic Search in Lean 4cited by 0
  34. 2026Automating Formal Verification with Agent-Guided Tree Searchcited by 0
  35. 2026Moxia: A Trust-First Neuro-Symbolic Execution Architecture for Self-Explaining Mathematical Reasoningcited by 0
  36. 2026Human agency in initial human-AI proof formalization workflowscited by 0
  37. 2026Automated Proving of Shannon-Type Entropy Inequalities via Fine-Tuned Language Models and Guided Tree Searchcited by 0
  38. 2026ProofJudge: Tool-Grounded LLM Evaluation of Formal Proof Quality in Mathlibcited by 0

50 most cited of 58 All 58 (JSON)