Lune

ICML2025Top-tier venue

MA-LoT: Model-Collaboration Lean-based Long Chain-of-Thought Reasoning enhances Formal Theorem Proving

Ruida Wang, Rui Pan, Yuxin Li, Jipeng Zhang, Yizhen Jia, Shizhe Diao, Renjie Pi, Junjie Hu, Tong Zhang

Abstract

Solving mathematical problems using computerverifiable languages like Lean has significantly impacted the mathematical and computer science communities. State-of-the-art methods utilize a single Large Language Model (LLM) to generate complete proof or perform tree search, but they fail to balance these tasks. We propose MA-LoT: Model-CollAboration Lean-based Long Chain-of-Thought, a comprehensive framework for Lean4 theorem proving to solve this issue. It separates the cognition tasks of general NL for whole-proof generation and error analysis for proof correction using the model-collaboration method. We achieve this by structured interaction of the LLM and Lean4 verifier in Long CoT. To implement the framework, we propose the novel LoT-Transfer Learning training-inference pipeline, which enables the Long CoT thinking capability to LLMs without special data annotation. Extensive experiment shows that our framework achieves a 61.07% accuracy rate on the Lean4 version of the MiniF2F-Test dataset, largely outperforming DeepSeek-V3 (33.61%), single-model tree search (InternLM-Step-Prover, 50.70%), and whole-proof generation (Godel-Prover, 55.33%) baselines. Furthermore, our findings highlight the potential of combining Long CoT with formal verification for a more insightful generation in a broader perspective.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Minimal Agent for Automated Theorem Proving cites Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofs
  • A Minimal Agent for Automated Theorem Proving cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
  • Formal Mathematics Statement Curriculum Learning cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
  • GAR: Generative Adversarial Reinforcement Learning for Formal Theorem Proving cites Formal Mathematics Statement Curriculum Learning
  • GAR: Generative Adversarial Reinforcement Learning for Formal Theorem Proving cites Lean4Physics: Comprehensive Reasoning Framework for College-level Physics in Lean4
  • GAR: Generative Adversarial Reinforcement Learning for Formal Theorem Proving cites Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofs
  • GAR: Generative Adversarial Reinforcement Learning for Formal Theorem Proving cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
  • Automated Formal Proofs of Combinatorial Identities via Wilf–Zeilberger Guidance and LLMs cites GAR: Generative Adversarial Reinforcement Learning for Formal Theorem Proving
  • Lean4Physics: Comprehensive Reasoning Framework for College-level Physics in Lean4 cites Formal Mathematics Statement Curriculum Learning
  • Lean4Physics: Comprehensive Reasoning Framework for College-level Physics in Lean4 cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
  • Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofs cites Formal Mathematics Statement Curriculum Learning
  • Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofs cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
  • SorryDB: Can AI Provers Complete Real-World Lean Theorems? cites A Minimal Agent for Automated Theorem Proving
  • SorryDB: Can AI Provers Complete Real-World Lean Theorems? cites Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofs
  • SorryDB: Can AI Provers Complete Real-World Lean Theorems? cites miniF2F: a cross-system benchmark for formal Olympiad-level mathematics
  • Baldur: Whole-Proof Generation and Repair with Large Language Models cites Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofs
  • Baldur: Whole-Proof Generation and Repair with Large Language Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. A Minimal Agent for Automated Theorem ProvingBorja Requena, Austin Letson, Krystian Nowakowski, Izan Beltran Ferreiro et al.ICML 2026 · 9 citations
  2. Lean4Physics: Comprehensive Reasoning Framework for College-level Physics in Lean4Yuxin Li, Minghao Liu, Ruida Wang, Wenzhao Ji et al.ICLR 2026 · 7 citations
  3. GAR: Generative Adversarial Reinforcement Learning for Formal Theorem ProvingRuida Wang, Jiarui Yao, Rui Pan, Shizhe Diao et al.ICLR 2026 · 5 citations
  4. SorryDB: Can AI Provers Complete Real-World Lean Theorems?Austin Letson, Leopoldo Sarra, Auguste Poiroux, Oliver Dressler et al.ICML 2026 · 4 citations
  5. Automated Formal Proofs of Combinatorial Identities via Wilf–Zeilberger Guidance and LLMsBeibei Xiong, Hangyu Lv, Junqi Liu, Yisen Wang et al.ICML 2026

Builds on8

  1. Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
  2. miniF2F: a cross-system benchmark for formal Olympiad-level mathematicsKunhao Zheng, Jesse Michael Han, Stanislas PoluICLR 2022 · 342 citations
  3. Baldur: Whole-Proof Generation and Repair with Large Language ModelsEmily First, Markus N. Rabe, Talia Ringer, Yuriy BrunFSE 2023 · 89 citations
  4. Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal ProofsAlbert Qiaochu Jiang, Sean Welleck, Jin Peng Zhou, Timothée Lacroix et al.ICLR 2023 · 25 citations
  5. Formal Mathematics Statement Curriculum LearningStanislas Polu, Jesse Michael Han, Kunhao Zheng, Mantas Baksys et al.ICLR 2023 · 24 citations

Related papers

  1. APOLLO: Automated LLM and Lean Collaboration for Advanced Formal ReasoningAzim Ospanov, Farzan Farnia, Roozbeh MohitNeurIPS 2025 · 49 citations
  2. Hilbert: Recursively Building Formal Proofs with Informal ReasoningSumanth Varambally, Thomas Voice, Yanchao Sun, Zhifeng Chen et al.ICLR 2026 · 62 citations
  3. TheoremLlama: Transforming General-Purpose LLMs into Lean4 ExpertsRuida Wang, Jipeng Zhang, Yizhen Jia, Rui Pan et al.EMNLP 2024 · 9 citations
  4. DeepSeek-Prover-V1.5: Harnessing Proof Assistant Feedback for Reinforcement Learning and Monte-Carlo Tree SearchHuajian Xin, Z. Z. Ren, Junxiao Song, Zhihong Shao et al.ICLR 2025
  5. LeanAgent: Lifelong Learning for Formal Theorem ProvingAdarsh Kumarappan, Mo Tiwari, Peiyang Song, Robert Joseph George et al.ICLR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines