mlsanityData to 7 Oct 2026

Alchemy: Amplifying Theorem-Proving Capability through Symbolic Mutation

arXiv 2410.15748 ↗First posted 21 Oct 2024cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

Formal proofs are challenging to write even for experienced experts. Recent progress in Neural Theorem Proving (NTP) shows promise in expediting this process. However, the formal corpora available on the Internet are limited compared to the general text, posing a significant data scarcity challenge for NTP. To address this issue, this work proposes Alchemy, a general framework for data synthesis that constructs formal theorems through symbolic mutation. Specifically, for each candidate theorem in Mathlib, we identify all invocable theorems that can be used to rewrite or apply to it. Subsequently, we mutate the candidate theorem by replacing the corresponding term in the statement with its equivalent form or antecedent. As a result, our method increases the number of theorems in Mathlib by an order of magnitude, from 110k to 6M. Furthermore, we perform continual pretraining and supervised finetuning on this augmented corpus for large language models. Experimental results demonstrate the effectiveness of our approach, achieving a 4.70% absolute performance improvement on Leandojo benchmark. Additionally, our approach achieves a 2.47% absolute performance gain on the out-of-distribution miniF2F benchmark based on the synthetic data.To provide further insights, we conduct a comprehensive analysis of synthetic data composition and the training paradigm, offering valuable guidance for developing a strong theorem prover.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 27 of its 40 references that are in the map. First posted on arXiv 21 Oct 2024.

Builds on

27 of 40 references.

References · 27

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  4. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
  5. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  6. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
  7. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  8. 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
  9. 2023Llemma: An Open Language Model For Mathematicscited by 385
  10. 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 380
  11. 2020Generative Language Modeling for Automated Theorem Provingcited by 379
  12. 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 278
15 more
  1. 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 253
  2. 2022Autoformalization with Large Language Modelscited by 252
  3. 2022HyperTree Proof Search for Neural Theorem Provingcited by 192
  4. 2024DeepSeek-Prover-V1.5: Harnessing Proof Assistant Feedback for Reinforcement Learning and Monte-Carlo Tree Searchcited by 189
  5. 2022Formal Mathematics Statement Curriculum Learningcited by 141
  6. 2021Proof Artifact Co-training for Theorem Proving with Language Modelscited by 130
  7. 2024Lean Workbook: A large-scale Lean problem set formalized from natural language math problemscited by 115
  8. 2023LEGO-Prover: Neural Theorem Proving with Growing Librariescited by 108
  9. 2024A Survey on Deep Learning for Theorem Provingcited by 55
  10. 2023Magnushammer: A Transformer-Based Approach to Premise Selectioncited by 50
  11. 2020INT: An Inequality Benchmark for Evaluating Generalization in Theorem Provingcited by 44
  12. 2020Learning to Prove Theorems by Learning to Generate Theoremscited by 43
  13. 2024MUSTARD: Mastering Uniform Synthesis of Theorem and Proof Datacited by 43
  14. 2023LLMSTEP: LLM proofstep suggestions in Leancited by 32
  15. 2024LEAN-GitHub: Compiling GitHub LEAN repositories for a versatile LEAN provercited by 25

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.