Back to AI News
arxiv

Agentic AI Autonomously Formalises Finite-Dimensional Quantum Mechanics in Lean 4

Researchers present an agentic AI system that autonomously plans, writes, reviews and repairs a Lean 4 library for finite-dimensional quantum mechanics, using live knowledge graphs to coordinate agents. Applied to the Nielsen & Chuang textbook, it formalised 505 of 509 in-scope items without human intervention and corrected 24 errors in the book. The resulting library also supported formalisation of three research papers and 28 landmark theorems. The authors describe it as the first fully autonomous, textbook-scale autoformalisation of a physics field and the first physics library with a formally enforced postulate layer.

AI Brief

It demonstrates a concrete, textbook-scale AI system for verified physics formalisation, with measurable coverage and error correction plus reuse for research results.

arXiv:2612.02353v1 Announce Type: cross 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.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!