Formal Reasoning Meets LLMs: Toward AI for Mathematics and Verification
Open Access
- 27 February 2026
- journal article
- Published by Association for Computing Machinery (ACM) in Communications of the ACM
- Vol. 69 (3) , 66-73
Abstract
Formal reasoning has long been fundamental to various fields of computer science, including AI in its early days. In contrast, large language models (LLMs)—the cornerstone of modern AI—perform reasoning through autoregressive next-word prediction, without grounding their outputs in formal systems. This “informal” approach can learn world knowledge and reasoning patterns from large-scale data without rigid formalization. It offers significantly greater flexibility than traditional formal reasoning and has achieved promising results on many benchmarks. However, LLMs heavily rely on data and do not guarantee the soundness of reasoning. In this article, we highlight recent efforts to integrate modern LLMs with formal methods, an approach that seeks to harness the strengths of both paradigms. Such integration has the potential to lead to major advancements in AI-driven mathematics, formal verification, and the verifiable generation of computer systems.Keywords
This publication has 15 references indexed in Scilit:
- Clover: Closed-Loop Verifiable Code Generation2024
- Solving olympiad geometry without human demonstrationsNature, 2024
- Peano: learning formal mathematical reasoningPhilosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences, 2023
- Combining Induction, Deduction, and Structure for Verification and SynthesisProceedings of the IEEE, 2015
- The Lean Theorem Prover (System Description)2015
- Lemma Mining over HOL Light2013
- seL42009
- Isabelle/HOL2002
- The logic theory machine--A complex information processing systemIEEE Transactions on Information Theory, 1956
- Über formal unentscheidbare Sätze der Principia Mathematica und verwandter Systeme IMonatshefte für Mathematik, 1931