CriticLean: Critic-Guided Reinforcement Learning for Mathematical Formalization
Authors:
- Zhongyuan PengZPZhongyuan Peng
- Yifan YaoYYYifan Yao
- Kaijing MaKMKaijing Ma
- Shuyue GuoSGShuyue Guo
- Yizhe LiYLYizhe Li
- Yichi ZhangYZYichi Zhang
- Chenchen ZhangCZChenchen Zhang
- Yifan ZhangYZYifan Zhang
- Zhouliang YuZYZhouliang Yu
- Luming LiLLLuming Li
- Minghao LiuMLMinghao Liu
- Yihang XiaYXYihang Xia
Preprint
Abstract
Translating natural language mathematical statements into formal, executable code is a fundamental challenge in automated theorem proving. While prior work has focused on generation and compilation success, little attention has been paid to the critic phase-the evaluation of whether generated formalizations truly capture the semantic intent of the original problem. In this paper, we introduce CriticLean, a novel critic-guided reinforcement learning framework that elevates the role of the critic from a passive validator to an active learning component. Specifically, first, we propose the CriticLeanGPT, trained via supervised fine-tuning and reinforcement learning, to rigorously assess the semantic fidelity of Lean 4 formalizations. Then, we introduce CriticLeanBench, a benchmark designed to measure models' ability to distinguish semantically correct from incorrect formalizations, and demonstrate that our trained CriticLeanGPT models can significantly outperform strong open- and closed-source baselines. Building on the CriticLean framework, we construct FineLeanCorpus, a dataset comprising over 285K problems that exhibits rich domain diversity, broad difficulty coverage, and high correctness based on human evaluation. Overall, our findings highlight that optimizing the critic phase is essential for producing reliable formalizations, and we hope our CriticLean will provide valuable insights for future advances in formal mathematical reasoning.Keywords
All Related Versions
This publication has 13 references indexed in Scilit:
- Think-J: Learning to Think for Generative LLM-as-a-JudgeProceedings of the AAAI Conference on Artificial Intelligence, 2026
- HybridFlow: A Flexible and Efficient RLHF Framework2025
- M2RC-EVAL: Massively Multilingual Repository-level Code Completion Evaluation2025
- Can Large Language Models Detect Errors in Long Chain-of-Thought Reasoning?2025
- CriticBench: Benchmarking LLMs for Critique-Correct Reasoning2024
- OlympiadBench: A Challenging Benchmark for Promoting AGI with Olympiad-Level Bilingual Multimodal Scientific Problems2024
- Solving Quantitative Reasoning Problems with Language Models2022
- NaturalProver: Grounded Mathematical Proof Generation with Language Models2022
- The Lean 4 Theorem Prover and Programming Language2021
- Liquid Tensor ExperimentExperimental Mathematics, 2021