MerLean: An Agentic Framework for Autoformalization in Quantum Computation
AI 摘要
MerLean是一个用于量子计算自动形式化的Agentic框架,可将论文转化为Lean代码。
主要贡献
- 提出MerLean框架,实现量子计算论文的自动形式化
- 将数学公式转换为可验证的Lean代码并翻译回LaTeX
- 验证了该方法在三个量子计算论文上的有效性
方法论
使用Agentic框架从LaTeX文件中提取数学公式,将其形式化为Lean代码,再翻译回LaTeX。
原文摘要
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 on Mathlib, and translates the result back into human-readable \LaTeX{} for semantic review. We evaluate MerLean on three theoretical quantum computing papers producing 2,050 Lean declarations from 114 statements in total. MerLean achieves end-to-end formalization on all three papers, reducing the verification burden to only the newly introduced definitions and axioms. Our results demonstrate that agentic autoformalization can scale to frontier research, offering both a practical tool for machine-verified peer review and a scalable engine for mining high-quality synthetic data to train future reasoning models. Our approach can also be generalized to any other rigorous research in mathematics and theoretical physics.