paper-with-me

홈 › Papers

Process-Driven Autoformalization in Lean 4

2024-06-04 · Jianqiao Lu, Yingjia Wan, Zhengying Liu, Yinya Huang, Jing Xiong, Chengwu Liu, Jianhao Shen, Hui Jin, Jipeng Zhang, Haiming Wang, Zhicheng Yang, Jing Tang, Zhijiang Guo

Autoformalization, the conversion of natural language mathematics into formal languages, offers significant potential for advancing mathematical reasoning. However, existing efforts are limited to formal languages with substantial online corpora and struggle to keep pace with rapidly evolving languages like Lean 4. To bridge this gap, we propose a new benchmark \textbf{Form}alization for \textbf{L}ean~\textbf{4} (\textbf{\name}) designed to evaluate the autoformalization capabilities of large language models (LLMs). This benchmark encompasses a comprehensive assessment of questions, answers, formal statements, and proofs. Additionally, we introduce a \textbf{P}rocess-\textbf{S}upervised \textbf{V}erifier (\textbf{PSV}) model that leverages the precise feedback from Lean 4 compilers to enhance autoformalization. Our experiments demonstrate that the PSV method improves autoformalization, enabling higher accuracy using less filtered training data. Furthermore, when fine-tuned with data containing detailed process information, PSV can leverage the data more effectively, leading to more significant improvements in autoformalization for Lean 4. Our dataset and code are available at \url{https://github.com/rookie-joe/PDA}.

📄 PDF Abstract BibTeX arXiv:2406.01940

Code (2)

rookie-joe/pda 공식 구현
rookie-joe/formalalign

Tasks

Mathematical Reasoning

Similar Papers 제목 키워드 기반

Multi-agent Autoformalization of Tensor Network Theory

2026-07-08 · Sirui Lu, Erickson Tjoa, J. Ignacio Cirac arxiv

We build a team of specialized large language-model agents and present an agent-driven workflow for research-level formalization in theoretical physics, with the autoformalization of the fundamental theorem of matrix-pro…

Lean-GAP: A Dataset of Formalized Graduate Algebra Problems

2026-05-20 · Seewoo Lee, Byung-Hak Hwang, Hyojae Lim, Jihoon Hyun 외 arxiv

We present Lean-GAP (Lean-Graduate Agebra Problems), 430 formalized graduate-level algebra problems from the textbook Abstract Algebra by Dummit and Foote. We develop a scalable pipeline consisting of PDF-to-LaTeX prepro…

Abstract Algebra

(Auto)formalization is supposed to be easy: Trellis process semantics for spelling out rigorous proofs

2026-06-08 · Wesley Pegden arxiv

We present Trellis: an autoformalization system that leverages LLM agents in a deterministically constrained workflow to enforce incremental progress in Lean autoformalization tasks through iterative refinement of natura…

An Evaluation Benchmark for Autoformalization in Lean4

2024-06-01 · Aryan Gulati, Devanshu Ladsaria, Shubhra Mishra, Jasdeep Sidhu 외

Large Language Models (LLMs) hold the potential to revolutionize autoformalization. The introduction of Lean4, a mathematical programming language, presents an unprecedented opportunity to rigorously assess the autoforma…

MerLean: An Agentic Framework for Autoformalization in Quantum Computation

2026-02-18 · Yuanjie Ren, Jinzheng Li, Yidi Qi arxiv

We introduce MerLean, a fully automated agentic framework for autoformalization in quantum computation. MerLean extracts mathematical statements from \LaTeX{} source files, formalizes them into verified Lean~4 code built…