mlsanityData to 24 Nov 2026

LeanContext: Disentangling Mathematical Resources from Local Formal Context in Lean Whole-Proof Generation

arXiv 2611.08277 ↗Submitted 5 Nov 2026cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Neural theorem proving increasingly uses retrieved premises and project context to support proof generation. Evaluating these resources requires measuring the advantage of target-selected declarations over comparable alternatives and how this advantage depends on training. We introduce LeanContext, a benchmark of 129,826 Lean whole-proof generation problems, to investigate these questions. We group selected complete preceding mathematical declarations as Mathematical Context (MC) and the remaining selected local source commands as Environment Context (EC). Four aligned input views support crossed training and inference evaluations with shared targets and original Lean verification environments. For both diffusion- and autoregressive-based models, selected declarations outperform comparable alternatives by a larger margin when training includes MC. Final-input audits identify omitted declarations referenced by the target. Prioritizing these dependencies improves Pass@32 by 1.40% and 1.70% for LLaDA and Llama, respectively, on 2,000 targets. The selection experiment operates without access to target reference proofs and holds checkpoints, EC, and inference budgets constant. The code and dataset are available at https://github.com/haaaardcvZ/LeanContext.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 38 of its 51 references that are in the map. Submitted 5 Nov 2026.

Builds on

38 of 51 references.

References · 38

  1. 2024The Llama 3 Herd of Modelscited by 16,113
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,938
  3. 2019Similarity of Neural Network Representations Revisitedcited by 1,880
  4. 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,155
  5. 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 430
  6. 2020Generative Language Modeling for Automated Theorem Provingcited by 419
  7. 2023Llemma: An Open Language Model For Mathematicscited by 410
  8. 2018Insights on representational similarity in neural networks with canonical correlationcited by 339
  9. 2025DeepSeek-Prover-V2: Advancing Formal Mathematical Reasoning via Reinforcement Learning for Subgoal Decompositioncited by 335
  10. 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 319
  11. 2025LLaDA 1.5: Variance-Reduced Preference Optimization for Large Language Diffusion Modelscited by 314
  12. 2024DeepSeek-Prover: Advancing Theorem Proving in LLMs through Large-Scale Synthetic Datacited by 263
26 more
  1. 2023ProofNet: Autoformalizing and Formally Proving Undergraduate-Level Mathematicscited by 218
  2. 2022HyperTree Proof Search for Neural Theorem Provingcited by 211
  3. 2024PutnamBench: Evaluating Neural Theorem-Provers on the Putnam Mathematical Competitioncited by 184
  4. 2019The Lean mathematical librarycited by 164
  5. 2021Proof Artifact Co-training for Theorem Proving with Language Modelscited by 138
  6. 2023LEGO-Prover: Neural Theorem Proving with Growing Librariescited by 125
  7. 2019Learning to Prove Theorems via Interacting with Proof Assistantscited by 114
  8. 2022Thor: Wielding Hammers to Integrate Language Models and Automated Theorem Proverscited by 105
  9. 2025STP: Self-play LLM Theorem Provers with Iterative Conjecturing and Provingcited by 88
  10. 2016DeepMath - Deep Sequence Models for Premise Selectioncited by 84
  11. 2024Lean-STaR: Learning to Interleave Thinking and Provingcited by 78
  12. 2024Lean Copilot: Large Language Models as Copilots for Theorem Proving in Leancited by 69
  13. 2023Magnushammer: A Transformer-Based Approach to Premise Selectioncited by 55
  14. 2018TacticToe: Learning to Prove with Tacticscited by 46
  15. 2024miniCTX: Neural Theorem Proving with (Long-)Contextscited by 42
  16. 2024LeanAgent: Lifelong Learning for Formal Theorem Provingcited by 40
  17. 2025CombiBench: Benchmarking LLM Capability for Combinatorial Mathematicscited by 38
  18. 2024Rango: Adaptive Retrieval-Augmented Proving for Automated Software Verificationcited by 33
  19. 2017HolStep: A Machine Learning Dataset for Higher-order Logic Theorem Provingcited by 29
  20. 2022Passport: Improving Automated Formal Verification Using Identifierscited by 20
  21. 2024Graph2Tac: Online Representation Learning of Formal Math Conceptscited by 17
  22. 2026LeanSearch v2: Global Premise Retrieval for Lean 4 Theorem Provingcited by 14
  23. 2026VeriSoftBench: Repository-Scale Formal Verification Benchmarks for Leancited by 12
  24. 2014Learning-assisted Theorem Proving with Millions of Lemmascited by 6
  25. 2025FormalML: A Benchmark for Evaluating Formal Subgoal Completion in Machine Learning Theorycited by 6
  26. 2026Towards Real-World Industrial-Scale Verification: LLM-Driven Theorem Proving on seL4cited by 2

Built on by

Not cited yet.