mlsanityData to 7 Oct 2026

miniCTX: Neural Theorem Proving with (Long-)Contexts

arXiv 2408.03350 ↗First posted 5 Aug 2024cs.AI cs.CL cs.LGcited by 35

Not on the map. Why?

Abstract (arXiv)

Real-world formal theorem proving often depends on a wealth of context, including definitions, lemmas, comments, file structure, and other information. We introduce miniCTX, which tests a model's ability to prove formal mathematical theorems that depend on new context that is not seen during training. miniCTX contains theorems sourced from real Lean projects and textbooks, each associated with a context that can span tens of thousands of tokens. Models are tasked with proving a theorem given access to code from the theorem's repository, which contains context that is needed for the proof. As a baseline for miniCTX, we tested fine-tuning and prompting methods that condition theorem proving on preceding context. Both approaches substantially outperform traditional methods that rely solely on state information. We found that this ability to use context is not captured by previous benchmarks such as miniF2F. Alongside miniCTX, we offer ntp-toolkit for automatically extracting and annotating theorem proving data, making it easy to add new projects into miniCTX to ensure that contexts are not seen during training. miniCTX offers a challenging and realistic evaluation of neural theorem provers.

Key facts. Cited by 35 papers in the map (data through 7 Oct 2026). Builds on 22 of its 37 references that are in the map. First posted on arXiv 5 Aug 2024.

Builds on

22 of 37 references.

References · 22

  1. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  2. 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
  3. 2023Llemma: An Open Language Model For Mathematicscited by 385
  4. 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 380
  5. 2020Generative Language Modeling for Automated Theorem Provingcited by 379
  6. 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 278
  7. 2022HyperTree Proof Search for Neural Theorem Provingcited by 192
  8. 2023ProofNet: Autoformalizing and Formally Proving Undergraduate-Level Mathematicscited by 180
  9. 2021Proof Artifact Co-training for Theorem Proving with Language Modelscited by 130
  10. 2019The Lean mathematical librarycited by 127
  11. 2022A Survey of Deep Learning for Mathematical Reasoningcited by 124
  12. 2023Baldur: Whole-Proof Generation and Repair with Large Language Modelscited by 118
10 more
  1. 2024InternLM-Math: Open Math Large Language Models Toward Verifiable Reasoningcited by 117
  2. 2019Learning to Prove Theorems via Interacting with Proof Assistantscited by 107
  3. 2022Thor: Wielding Hammers to Integrate Language Models and Automated Theorem Proverscited by 97
  4. 2016DeepMath - Deep Sequence Models for Premise Selectioncited by 80
  5. 2023FIMO: A Challenge Formal Dataset for Automated Theorem Provingcited by 54
  6. 2023Magnushammer: A Transformer-Based Approach to Premise Selectioncited by 50
  7. 2023LLMSTEP: LLM proofstep suggestions in Leancited by 32
  8. 2022Towards a Mathematics Formalisation Assistant using Large Language Modelscited by 22
  9. 2024Graph2Tac: Online Representation Learning of Formal Math Conceptscited by 15
  10. 2024HepLean: Digitalising high energy physicscited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 15; 2026: 16.

35 papers.

Sort:

By area:

  1. 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 372
  2. 2024DeepSeek-Prover-V1.5: Harnessing Proof Assistant Feedback for Reinforcement Learning and Monte-Carlo Tree Searchcited by 189
  3. 2025Seed-Prover: Deep and Broad Reasoning for Automated Theorem Provingcited by 96
  4. 2024Formal Mathematical Reasoning: A New Frontier in AIcited by 80
  5. 2025Rewarding the Unlikely: Lifting GRPO Beyond Distribution Sharpeningcited by 78
  6. 2025CLEVER: A Curated Benchmark for Formally Verified Code Generationcited by 27
  7. 2025FATE: A Formal Benchmark Series for Frontier Algebra of Multiple Difficulty Levelscited by 23
  8. 2025Solving Inequality Proofs with Large Language Modelscited by 21
  9. 2025Mathematical Proof as a Litmus Test: Revealing Failure Modes of Advanced Large Reasoning Modelscited by 18
  10. 2025miniF2F-Lean Revisited: Reviewing Limitations and Charting a Path Forwardcited by 13
  11. 2024Data for Mathematical Copilots: Better Ways of Presenting Proofs for Machine Learningcited by 11
  12. 2024ImProver: Agent-Based Automated Proof Optimizationcited by 10
23 more
  1. 2025APE-Bench: Evaluating Automated Proof Engineering for Formal Math Librariescited by 6
  2. 2025Premise Selection for a Lean Hammercited by 6
  3. 2025RLMEval: Evaluating Research-Level Neural Theorem Provingcited by 6
  4. 2026VeriSoftBench: Repository-Scale Formal Verification Benchmarks for Leancited by 6
  5. 2025FormalML: A Benchmark for Evaluating Formal Subgoal Completion in Machine Learning Theorycited by 5
  6. 2025Programming with Pixels: Can Computer-Use Agents do Software Engineering?cited by 4
  7. 2026SorryDB: Can AI Provers Complete Real-World Lean Theorems?cited by 4
  8. 2026Theory-Scale Auto-Formalization of Logics for Computer Sciencecited by 3
  9. 2025Discovering New Theorems via LLMs with In-Context Proof Learning in Leancited by 2
  10. 2026Learning to Reason with Insight for Informal Theorem Provingcited by 2
  11. 2026Evaluation of LLMs for Mathematical Formalization in Leancited by 2
  12. 2025Advocate for Complete Benchmarks for Formal Reasoning with Formal/Informal Statements and Formal/Informal Proofscited by 1
  13. 2026GDEPO: Group Dual-dynamic and Equal-right Advantage Policy Optimization with Enhanced Training Data Utilization for Sample-Constrained Reinforcement Learningcited by 1
  14. 2026s2n-bignum-bench: A practical benchmark for evaluating low-level code reasoning of LLMscited by 1
  15. 2026Lean Atlas: An Integrated Proof Environment for Scalable Human-AI Collaborative Formalizationcited by 1
  16. 2026LAMP: Lean-based Agentic framework with MCP and Proof Repaircited by 1
  17. 2026CoMemBench: Benchmarking Collaborative Memory Boundaries across Multi-Agent Workflow Topologiescited by 1
  18. 2026How Well Do LLMs Perform on the Simplest Long-Chain Reasoning Tasks: An Empirical Study on the Equivalence Class Problemcited by 0
  19. 2026FVSpec: Real-World Property-Based Tests as Lean Challengescited by 0
  20. 2026PriorProof: A Point-in-Time Measure of Technique Novelty for Formal Proofscited by 0
  21. 2026Compiler-Guided Adaptive Proof Search with Cross-Model Synergy on Context-Dependent Theorem Provingcited by 0
  22. 2026AxQM: A Textbook-Scale Benchmark for Formal Proof Synthesis in a Library of Finite-Dimensional Quantum Mechanicscited by 0
  23. 2026FORALL-LEAN-AGENT for Auditable Reasoning in Formal Mathematics and Software Verificationcited by 0