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

MA-LoT: 모델 협업 기반 Lean 장문 사고 연쇄 추론이 형식적 정리 증명을 향상시킨다

Ruida Wang, Rui Pan, Yuxin Li, Jipeng Zhang, Yizhen Jia, Shizhe Diao 외 3명 · arXiv · 2025년 3월 5일

- **연구 문제** Lean4 정리 증명에서 전체 증명 생성과 검증기 피드백 기반 수정을 함께 활용하는 방법을 제안합니다.
- **연구 방법** 같은 모델을 prover와 corrector로 사용하여 Long CoT 안에서 증명을 작성하고 Lean 오류를 분석해 수정합니다.
- **주요 결과** MiniF2F-Test에서 MA-LoT는 61.07% 정확도를 보고하며, 이는 해당 평가 조건에서 제시된 비교 기준보다 높습니다.

## Lean4 정리 증명의 두 가지 한계

Lean4 같은 형식 언어로 수학 증명을 자동 생성하려는 연구에서는 크게 두 흐름이 있습니다. 하나는 한 단계씩 전술(tactic)을 예측하고 검증기로 확인하는 트리 탐색 방식이고, 다른 하나는 증명 전체를 한 번에 생성하는 방식입니다. 트리 탐색은 검증기 피드백을 받을 수 있지만 증명이 복잡해지면 계산 비용이 커지고 자연어 수준의 전체 계획이 부족합니다. 전체 증명 생성은 LLM의 자연어 추론과 계획을 활용하지만 검증 중간 피드백이 없어 오류 분석이 어렵습니다. 이 논문은 이 두 방향의 장점을 함께 얻는 것을 문제로 설정합니다.

![Figure 1: Two main directions of FL theorem proving using LLMs: Single model tree-search and whole-proof generation with their advantages/disadvantages](https://refivu.com/papers/be8e2813-dd50-41f9-8d35-39537d10c107/figures/figure-31b29e23affcb10a80910888de34e148.png?thumb=512)

**Figure 1** . Two main directions of FL theorem proving using LLMs: Single model tree-search and whole-proof generation with their advantages/disadvantages.

[원문](https://arxiv.org/abs/2503.03205v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ruida Wang, Rui Pan, Yuxin Li, Jipeng Zhang, Yizhen Jia, Shizhe Diao, Renjie Pi, Junjie Hu, Tong Zhang · MA-LoT: Model-Collaboration Lean-based Long Chain-of-Thought Reasoning enhances Formal Theorem Proving · 원문 그림 인용 · 원본 PDF 1쪽에서 그림 영역을 추출했습니다.

## MA-LoT의 prover와 corrector 협업 구조

MA-LoT는 같은 LoT-Solver 모델을 두 역할로 사용합니다. prover 역할은 자연어 정리 문장과 Lean4 정리 문장을 입력받아 Long CoT 헤더 안에서 자연어 분석, 전술 초안, Lean4 코드 순서로 전체 증명 초안을 작성합니다. 작성된 증명은 Lean4 검증기에서 확인되며, 실패하면 corrector 역할이 잘못된 증명과 검증기 오류 메시지를 Long CoT에 넣어 오류를 분석하고 수정된 증명을 다시 생성합니다. 이 과정은 검증에 성공하거나 최대 재시도 횟수에 도달할 때까지 반복됩니다.

![Figure 2: MA-LoT Framework: (a) Model-collaboration Lean4 theorem proving framework: The LoT-Solver model functions as the prover to generate initial Lean4 pro…](https://refivu.com/papers/be8e2813-dd50-41f9-8d35-39537d10c107/figures/figure-f68fb33a690f1571f41b30a7af201931.png?thumb=512)

**Figure 2** . MA-LoT Framework: (a) Model-collaboration Lean4 theorem proving framework: The LoT-Solver model functions as the prover to generate initial Lean4 proofs with emergent NL planning for Lean proof in Long CoT (orange block); then it acts as corrector to analyze error from Lean executor in Long CoT to output a refined proof. (b) LoT-Transfer Learning (TL): The novel training-inference pipeline enables formal reasoning ability to emerge in Long CoT (L-CoT) without the need for specifically annotated data. This is achieved by adjusting the system prompt to control the on/off of L-CoT in training and inference. (c) Training procedure of LoT-Solver: We use normal SFT to train general NL L-CoT, useLoT-TL to train on the Lean SFT, and correction data to make Lean L-CoT an emergent capability in LLM.

[원문](https://arxiv.org/abs/2503.03205v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ruida Wang, Rui Pan, Yuxin Li, Jipeng Zhang, Yizhen Jia, Shizhe Diao, Renjie Pi, Junjie Hu, Tong Zhang · MA-LoT: Model-Collaboration Lean-based Long Chain-of-Thought Reasoning enhances Formal Theorem Proving · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

## LoT-TL 학습-추론 파이프라인

LoT-TL은 Long CoT 주석 데이터를 직접 만들지 않고도 Lean Long CoT 능력이 나타나도록 설계된 학습-추론 파이프라인입니다. 첫 단계에서는 Lean 증명 데이터셋 LoT-ProveData와 오류 수정 데이터셋 LoT-CorrectionData를 구성하며, 이후 일반 자연어 Long CoT 데이터로 정규 지도 fine-tuning을 수행합니다. 마지막 단계에서는 Long CoT를 끄는 시스템 프롬프트와 placeholder를 사용해 Lean 증명 데이터와 수정 데이터를 학습합니다. 추론 시에는 같은 모델에 Long CoT를 켜는 시스템 프롬프트를 주어 학습된 구조가 활성화되도록 합니다.

## MiniF2F-Test 결과와 비교 조건

MA-LoT는 MiniF2F-Test에서 61.07% 정확도를 보고합니다. 같은 표에서 InternLM2.5-StepProver는 50.70%, Godel-Prover는 55.33%로 제시되어 MA-LoT의 결과가 이들보다 높습니다. 다만 이 수치는 prover가 64회 whole-proof 생성을 수행하고 corrector가 2라운드 수정을 수행한 설정 및 샘플 예산과 함께 읽어야 합니다. 따라서 이 결과는 해당 평가 조건에서 얻은 수치이며, 모든 Lean 과제나 모든 탐색 예산에 대한 일반 성능 보장으로 해석하지 않습니다.

## 학습 단계와 Long CoT 절제 결과

절제 실험은 DeepSeek-Prover-v1.5-SFT를 기반으로 pass@64 whole-proof 생성 조건에서 수행되었습니다. 기반 모델은 46.31%였고, Long CoT를 끈 LoT-Solver는 49.18%, LoT-Solver는 51.64%로 보고됩니다. 자연어 Long CoT 데이터만 추가하면 개선이 작다고 보고되며, LoT-TL의 Lean 데이터 학습이 더 큰 개선을 보입니다. 이 결과는 Long CoT 구조와 Lean 정렬 학습이 함께 기여한다는 해석을 뒷받침하지만, 설정 밖의 모델이나 데이터셋에 대한 보편적 인과 증명은 아닙니다.

![Table 3: Ablation study result in pass@64 under DeepSeek-Prover as base model](https://refivu.com/papers/be8e2813-dd50-41f9-8d35-39537d10c107/figures/figure-9d4d001a5efc019ae58a80c6f1d803e7.png?thumb=512)

**Table 3** . Ablation study result in pass@64 under DeepSeek-Prover as base model.

[원문](https://arxiv.org/abs/2503.03205v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ruida Wang, Rui Pan, Yuxin Li, Jipeng Zhang, Yizhen Jia, Shizhe Diao, Renjie Pi, Junjie Hu, Tong Zhang · MA-LoT: Model-Collaboration Lean-based Long Chain-of-Thought Reasoning enhances Formal Theorem Proving · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 한계

본 논문의 corrector 효과와 주요 결과는 MiniF2F 기반 실험 설정에 한정되어 보고됩니다. corrector 라운드를 늘리면 일부 추가 정리가 증명되지만, 원문은 여러 라운드 이후 개선 폭이 점차 작아지는 양상을 보여줍니다. 또한 증명 비용은 Long CoT로 인해 토큰과 GPU 시간이 증가하는 방향으로 보고되며, 본 논문은 이를 같은 계산 예산 비교로 보완합니다. 따라서 다른 형식 증명 벤치마크나 다른 기반 모델에서의 일반화는 이 논문의 직접 근거만으로 확정하기 어렵습니다.

![Table 2: Results from multiple rounds of correction using DeepSeek-Prover and Godel-Prover as base models, along with the outcomes of using the prover to perfo…](https://refivu.com/papers/be8e2813-dd50-41f9-8d35-39537d10c107/figures/figure-802fd556424f039dcd2d84de985e9d8b.png?thumb=512)

**Table 2** . Results from multiple rounds of correction using DeepSeek-Prover and Godel-Prover as base models, along with the outcomes of using the prover to perform correction.

[원문](https://arxiv.org/abs/2503.03205v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ruida Wang, Rui Pan, Yuxin Li, Jipeng Zhang, Yizhen Jia, Shizhe Diao, Renjie Pi, Junjie Hu, Tong Zhang · MA-LoT: Model-Collaboration Lean-based Long Chain-of-Thought Reasoning enhances Formal Theorem Proving · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

![Table 4: Long CoT efficiency study result](https://refivu.com/papers/be8e2813-dd50-41f9-8d35-39537d10c107/figures/figure-c07693caaa9b7b199bc1f0bed9ec1e6d.png?thumb=512)

**Table 4** . Long CoT efficiency study result.

[원문](https://arxiv.org/abs/2503.03205v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ruida Wang, Rui Pan, Yuxin Li, Jipeng Zhang, Yizhen Jia, Shizhe Diao, Renjie Pi, Junjie Hu, Tong Zhang · MA-LoT: Model-Collaboration Lean-based Long Chain-of-Thought Reasoning enhances Formal Theorem Proving · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 논문 정보

- **저자**: Ruida Wang, Rui Pan, Yuxin Li, Jipeng Zhang, Yizhen Jia, Shizhe Diao, Renjie Pi, Junjie Hu, Tong Zhang
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2025년 3월 5일
- **등록일**: 2026년 11월 5일
- **수정일**: 2025년 5월 27일
- **버전**: v3
- **arXiv**: 2503.03205
- **분류**: cs.CL · cs.AI
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2503.03205v3) · [원문 PDF ↗](https://arxiv.org/pdf/2503.03205v3)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Solving mathematical problems using computer-verifiable 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.

## 원문 인용

Ruida Wang, Rui Pan, Yuxin Li, Jipeng Zhang, Yizhen Jia, Shizhe Diao, Renjie Pi, Junjie Hu, Tong Zhang (2025). MA-LoT: Model-Collaboration Lean-based Long Chain-of-Thought Reasoning enhances Formal Theorem Proving. arXiv:2503.03205v3. https://arxiv.org/abs/2503.03205v3

**BibTeX**

```
@misc{wang2025model,
  title = {{MA-LoT: Model-Collaboration Lean-based Long Chain-of-Thought Reasoning enhances Formal Theorem Proving}},
  author = {Ruida Wang and Rui Pan and Yuxin Li and Jipeng Zhang and Yizhen Jia and Shizhe Diao and Renjie Pi and Junjie Hu and Tong Zhang},
  year = {2025},
  eprint = {2503.03205},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.03205v3}
}
```

## 이 논문의 용어

- [Supervised Fine-Tuning](https://refivu.com/terms/1a2c1f079517-supervised-fine-tuning)
- [MiniF2F](https://refivu.com/terms/6c1d49f25477-minif2f)
- [long CoT](https://refivu.com/terms/e51e362628c2-long-cot)

## 다른 논문 해설

- [RoboPIN: Grounded Embodied Reasoning via Pinned Chain-of-Thought](https://refivu.com/papers/e85b6dde-43d9-455e-a32c-190bf17c589b-robopin-grounded-embodied-reasoning-via-pinned-chain-of.md)
- [Seed-Prover: Deep and Broad Reasoning for Automated Theorem Proving](https://refivu.com/papers/6382d3fe-38be-4e76-bdbe-ff7f2e431302-seed-prover-deep-and-broad-reasoning-for-automated.md)
- [Efficient Reasoning for LLMs through Speculative Chain-of-Thought](https://refivu.com/papers/014664b5-0d5a-4901-8e5d-db761b6aabd0-efficient-reasoning-for-llms-through-speculative-chain-of.md)
- [RAFT: Reasoning-Aligned Fine-Tuning Improves Robustness of VLA Post-Training](https://refivu.com/papers/96ca1861-7cec-4b23-92c2-4d4a44933f85-raft-reasoning-aligned-fine-tuning-improves-robustness-of.md)
- [Say the Same, Act Differently: Diagnosing and Steering Text-Action Divergence in Reasoning VLAs](https://refivu.com/papers/cac7c2cc-d173-4450-af97-53df160a9316-say-the-same-act-differently-diagnosing-and-steering.md)
- [Treating the Symptom, Missing the Cause: Anatomy of a Scientific Reasoning Failure](https://refivu.com/papers/ca572d93-526e-43b4-8c47-5908ff7239f7-treating-the-symptom-missing-the-cause-anatomy-of.md)
- [Robotic Control via Embodied Chain-of-Thought Reasoning](https://refivu.com/papers/e0916502-601d-428e-90b1-cb59f1252a20-robotic-control-via-embodied-chain-of-thought-reasoning.md)
- [Radar Fields: An Extension of Radiance Fields to SAR](https://refivu.com/papers/f4739d57-d25e-47d0-a8d1-8bab823c102b-radar-fields-an-extension-of-radiance-fields-to.md)
- [Neural Articulated Radiance Field](https://refivu.com/papers/aa604c2f-5450-4fe1-b81c-ff26130ee0b1-neural-articulated-radiance-field.md)
- [WaterNeRF: Neural Radiance Fields for Underwater Scenes](https://refivu.com/papers/a7174a8a-a52e-4a61-aeba-42db258b3109-waternerf-neural-radiance-fields-for-underwater-scenes.md)
- [MERF: Memory-Efficient Radiance Fields for Real-time View Synthesis in Unbounded Scenes](https://refivu.com/papers/b88df5f3-e59a-4fcd-9cfd-d031cf876738-merf-memory-efficient-radiance-fields-for-real-time.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/be8e2813-dd50-41f9-8d35-39537d10c107-ma-lot-model-collaboration-lean-based-long-chain)
