Autonomous formalisation of finite-dimensional quantum mechanics grounded in axiomatic foundations
Weichen Winston Yin, Jacob M. Taylor, Dirk R. Englund, Frank H. L. Koppens
Abstract
Formalisation in a proof assistant gives mathematics machine-checked rigour, and artificial intelligence (AI) now performs this autoformalisation at scale. Physics has seen far less of this progress, although it arguably has more to gain. A formal physics library would trace every result back to its foundations, expose the assumptions and approximations that informal derivations leave implicit, catch errors reliably, and give AI-generated physics a verifier that checks not only its mathematics but its consistency with physical principles. Autoformalising a physics library requires more than certifying the mathematical correctness of individual results, as in the recent autoformalisation of new proofs of mathematical conjectures. It must also ensure that the mathematics captures the physical meaning of the source text, distinguish between a physical concept and its mathematical representation, and support practical use cases. We present an agentic AI system that, given only the source text, a mathematical foundation and the postulates of quantum mechanics, autonomously plans, writes, reviews and repairs a Lean 4 library of finite-dimensional quantum mechanics, coordinating its agents through live knowledge graphs. As a proof of concept, we applied the system to the textbook of Nielsen & Chuang. Without human intervention in the content of any item, it formalised 505 of the 509 items within its scope and corrected 24 errors in the book. The same library then served as the foundation for formalising research results beyond the book, including three research papers and 28 landmark theorems. To our knowledge, this is the first fully autonomous, textbook-scale autoformalisation of a field of physics, and the first physics library with a formally enforced postulate layer separating physics from mathematics. The system could be applied to any field of physics with a core of formal postulates.
Create a lesson
Metadata
- Categories
- quant-ph, cs.AI, cs.LO
- Comments
- 12 pages, 5 figures, 1 Extended Data table
Related papers
Resource-efficient quantum simulation of (2+1)-dimensional Z_d lattice gauge theory using qudits
Shared title terminologyquant-phSamuel Godwood, Doğa Murat Kürkçüoğlu, Gabriel N. Perdue et al.
Toward Foundation Models for Quantum Dynamics with Provable Generalization
Shared title terminologyquant-phGuijing Duan, Chen Mo, Di Luo
Thermodynamic limits of a quasi-polynomial quantum algorithm for module lattices
Shared title terminologyquant-phRalf Riedinger
Shallow quantum circuits are deeper than you think
Shared title terminologyquant-phMarten Folkertsma, Florian Speelman
Towards understanding quantum advantage in generative modeling
Shared title terminologyquant-phAndrii Kurkin, Riccardo Molteni, Vedran Dunjko
Saturating intrinsic geometry constraints of quantum codes
Shared title terminologyquant-phYimin Lu, Xuzhihan Ding