MerLean: An Agentic Framework for Autoformalization in Quantum Computation
On the map: LLM agents and tool use → Medical and scientific domain agents
Abstract (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 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.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Placed in Medical and scientific domain agents, one of 16 directions in LLM agents and tool use. Builds on 13 of its 23 references that are in the map. First posted on arXiv 18 Feb 2026.
Builds on
13 of 23 references.
References · 13
- 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 278
- 2022Autoformalization with Large Language Modelscited by 252
- 2024DeepSeek-Prover: Advancing Theorem Proving in LLMs through Large-Scale Synthetic Datacited by 225
- 2025Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correctioncited by 140
- 2026Numina-Lean-Agent: An Open and General Agentic Reasoning System for Formal Mathematicscited by 43
- 2024Autoformalize Mathematical Statements by Symbolic Equivalence and Semantic Consistencycited by 39
- 2024LeanAgent: Lifelong Learning for Formal Theorem Provingcited by 34
- 2025Ax-Prover: A Deep Reasoning Agentic Framework for Theorem Proving in Mathematics and Quantum Physicscited by 27
- 2025Autoformalization in the Wild: Assessing LLMs on Real-World Mathematical Definitionscited by 20
- 2025CriticLean: Critic-Guided Reinforcement Learning for Mathematical Formalizationcited by 15
- 2025A Formalization of the Generalized Quantum Stein's Lemma in Leancited by 6
- 2026Agentic Proof Automation: A Case Studycited by 4
1 more
Built on by
Citing papers per year: 2026: 8.
8 papers.
- 2026The Agentic Researcher: A Practical Guide to AI-Assisted Research in Mathematics and Machine Learningcited by 4
- 2026Beyond the Library: An Agentic Framework for Autoformalizing Research Mathematicscited by 4
- 2026Multi-agent Autoformalization of Tensor Network Theorycited by 2
- 2026AoA: Theorem Proving Agent over Abstract Syntax Tree of Redesigned Languagecited by 1
- 2026Prove2Me: An Open Collaborative Platform for Scaling Math Formalizationcited by 1
- 2026AutoQuREO: A Framework for Automated Quantum Resource Estimation and Optimizationcited by 0
- 2026AxQM: A Textbook-Scale Benchmark for Formal Proof Synthesis in a Library of Finite-Dimensional Quantum Mechanicscited by 0
- 2026Choir: An Open Protocol for Distributed Multi-Agent Autoformalizationcited by 0
- 2026Choir: An Open Protocol for Distributed Multi-Agent Autoformalization25 Sep 2026
- 2026AxQM: A Textbook-Scale Benchmark for Formal Proof Synthesis in a Library of Finite-Dimensional Quantum Mechanics4 Sep 2026
- 2026Prove2Me: An Open Collaborative Platform for Scaling Math Formalization28 Aug 2026
- 2026AutoQuREO: A Framework for Automated Quantum Resource Estimation and Optimization13 Aug 2026
- 2026AoA: Theorem Proving Agent over Abstract Syntax Tree of Redesigned Language17 Jul 2026
- 2026Multi-agent Autoformalization of Tensor Network Theory8 Jul 2026
- 2026Beyond the Library: An Agentic Framework for Autoformalizing Research Mathematics30 Jun 2026
- 2026The Agentic Researcher: A Practical Guide to AI-Assisted Research in Mathematics and Machine Learning16 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2025Agent-Q: Fine-Tuning Large Language Models for Quantum Circuit Generation and Optimization
- 2025QHackBench: Benchmarking Large Language Models for Quantum Code Generation Using PennyLane Hackathon Challenges
- 2026FormalScience: Scalable Human-in-the-Loop Autoformalisation of Science with Agentic Code Generation in Lean
- 2026An LLM System for Autonomous Variational Quantum Circuit Design
- 2026Lowering the implementation barrier of neutral-atom quantum computing with agentic workflows
- 2026Generative AI for Quantum Circuits and Quantum Code: A Technical Review and Taxonomy
- 2025QAgent: An LLM-based Multi-Agent System for Autonomous OpenQASM programming
- 2025Enhancing LLM-based Quantum Code Generation with Multi-Agent Optimization and Quantum Error Correction