Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correction

Yong Lin, Shange Tang, Bohan Lyu, Ziran Yang, Jui-Hui Chung, Hao-Yu Zhao, Lai Jiang, Yihan Geng, Jia-Wei Ge, Jing Sun, Jiayun Wu, Jiri Gesi, Ximing Lu, David Acuna, Kai-Yu Yang, Hong-Zhou Lin, Yejin Choi, Danqi Chen, Sanjeev Arora, Chi Jin

arXiv:2508.03613 · 2026-11-15 공개 · arXiv · PDF

reinforcement-learning language-models open-source self-correction theorem-proving model-averaging putnam-bench scaffolded-data

Abstract

We introduce Goedel-Prover-V2, a series of open-source language models that set a new state-of-the-art in automated theorem proving. Built on the standard expert iteration and reinforcement learning pipeline, our approach incorporates three key innovations: (1) Scaffolded data synthesis: We generate synthetic tasks of increasing difficulty to train the model to master increasingly complex theorems; (2) Verifier-guided self-correction: We enable the model to iteratively revise its proofs by leveraging feedback from the Lean compiler; (3) Model averaging: We merge model checkpoints to mitigate the decrease in model output diversity in later stages of training. Our small model, Goedel-Prover-V2-8B, reaches 84.6% pass@32 on MiniF2F and outperforms DeepSeek-Prover-V2-671B under the same metric, despite being 80X smaller. Our flagship model, Goedel-Prover-V2-32B, achieves 88.1% on MiniF2F at pass@32 in standard mode and 90.4% in self-correction mode, outperforming prior SOTA by a large margin. Additionally, our flagship model solves 86 problems on PutnamBench at pass@184, securing the first place among open-source models on the leaderboard, surpassing DeepSeek-Prover-V2-671B's record of solving 47 problems by pass@1024 with a significantly smaller model size and compute budget. At the time of its release (July-August 2025), Goedel-Prover-V2 achieves the strongest overall performance among all open-source theorem provers. It also ranks among the top-performing models--including closed-source systems with publicly reported performance--under a constrained test-time compute budget. Our models, code, and data are released at https://github.com/Goedel-LM/Goedel-Prover-V2.

한국어 요약

한 줄 요약

Goedel-Prover-V2는 84.6% pass@32 성능을 보이는 8B 모델과 90.4% pass@32 성능을 보이는 32B 모델로, DeepSeek-Prover-V2-671B를 능가하는 오픈소스 정리 증명 모델이다.

핵심 기여도

핵심 아이디어

Goedel-Prover-V2는 기존 정리 증명 모델에서 일반적으로 필요한 대규모 파라미터나 계산 자원 없이도 뛰어난 성능을 달성하기 위해 세 가지 핵심 기법을 결합했다. 첫째, **Scaffolded data synthesis**는 증명 난이도를 점진적으로 높이는 합성 문제를 생성하여 모델이 복잡한 정리에 점차 적응하도록 유도한다. 둘째, **Verifier-guided self-correction**은 Lean 컴파일러의 피드백을 모델 입력에 포함시켜 증명 오류를 반복적으로 수정하는 프레임워크를 구축한다. 이는 기존 연구에서 단일 오류 수정에만 집중한 것과 달리, **chain-of-thought (CoT)** 방식의 긴 추론 과정에서도 적용 가능하다는 점에서 차별화된다. 셋째, **Model averaging**은 SFT 및 RL 단계에서 모델 출력의 다양성이 감소하는 문제를 완화하기 위해, 기존 파라미터와 학습된 파라미터의 가중 평균을 사용한다. 이는 pass@N 성능 향상에 직접적으로 기여한다.

기술적 접근법

주요 결과

의의 및 한계

Goedel-Prover-V2는 대규모 모델이나 과도한 계산 자원 없이도 뛰어난 정리 증명 성능을 달성함으로써, **오픈소스 기반의 효율적인 정리 증명 연구**의 가능성을 열었다. 특히, **Lean 컴파일러 피드백을 활용한 반복 증명 수정**은 복잡한 증명 과정에서 오류를 효과적으로 수정할 수 있는 새로운 프레임워크를 제시한다. 또한, **모델 평균화 기법**은 모델 다양성을 유지하면서도 pass@N 성능을 향상시키는 실용적인 접근법이다. 그러나, **Lean 4의 컴파일러 피드백에 의존**하는 점에서 다른 형식 언어 환경으로의 확장 가능성은 아직 명시되지 않았으며, **합성 데이터의 질과 다양성**이 모델 성능에 큰 영향을 미친다는 점도 한계로 지적될 수 있다.

실용적 활용

Goedel-Prover-V2는 수학 연구, 형식적 검증, 소프트웨어 개발 등에서 **자동 증명 도구로 활용**될 수 있다. 특히, **소규모 모델로도 높은 성능을 보이는 점**은 자원 제약이 있는 환경에서 유리하며, **Lean 기반의 형식적 증명 플랫폼**과 연동하여 실용적인 수학 문제 해결 및 소프트웨어 검증에 기여할 수 있다.