Why Formalizing Mathematical Proofs with AI Is Hard — and What's Changing Now
Peer review of modern mathematics is under strain, and many believe formal verification by computers is the answer. This article explains why mathematics needs formal verification, the core obstacles facing AI-driven theorem proving — combinatorial explosion, unencodable intuition, scarce formalized corpora, non-constructive reasoning, and the gap between high-level strategy and low-level search — and the latest progress, including LLMs combined with proof assistants, growing formal math libraries, community-driven formalization of famous conjectures, and new collaboration models. It closes with an outlook on the hybrid "human-led, AI-assisted, formally verified" research paradigm.
1. Why Mathematics Needs Formal Verification
The reliability of traditional mathematical papers depends on peer review, but this mechanism is facing structural challenges.
The first problem is verification cost. Modern mathematics has produced proofs that are extremely long and technically complex — often running to hundreds or even thousands of pages. Checking such proofs line by line by hand means errors accumulate with length, and it is nearly impossible to find qualified reviewers for a second pass, since the original reviewers are often already the top experts in the field.
The second problem is the realities of the reviewing ecosystem. Mathematical refereeing is almost entirely unpaid and anonymous, and reviewing a long paper can take as much effort as writing one. Reviewers juggle research, teaching, mentoring students, and grant applications, so refereeing inevitably falls to the bottom of their priority list — a major reason review cycles in mathematics journals are so long. Worse, when a review misses something, there is no effective mechanism for re-checking it.
Handing correctness checking to computers — verifying each inference step in a formal system — is therefore seen as the way forward. Computers do not tire, do not skip steps, and do not let errors slide out of politeness. Once a proof passes verification, its correctness carries mathematical certainty.
2. Core Difficulties in Formal Proving
Despite the clear promise, machine theorem proving still faces several formidable barriers.
1. Combinatorial explosion of logic
Machine proofs require every inference step to be rigorous and complete, while human proofs rely heavily on omissions like “clearly,” “it is easy to see,” or “left to the reader.” Behind each omission may lie dozens or hundreds of low-level lemmas. When machines expand all implicit steps, the proof tree grows exponentially and the search space explodes. Even when the final result is a few lines, a machine may need to explore millions of candidate inference paths.
2. Mathematical intuition is hard to encode
Human mathematicians excel at knowing where to go: which lemma is worth trying, which construction is likely to work, and when to abandon a line of attack. This intuition comes from years of accumulated pattern recognition and is difficult to turn into an executable search strategy. Current automated theorem provers handle well-structured problems such as combinatorial logic and algebraic identities, but their search efficiency drops sharply on deep mathematical problems that require global insight.
3. Insufficient formalized corpora and knowledge bases
Training AI to do mathematical proofs requires large, high-quality proof corpora, yet the fraction of human mathematical knowledge that has been formalized is extremely small. Formal languages also have a steep learning curve: a seemingly simple mathematical statement may translate into dozens of lines of formal code, and the library support available varies greatly across mathematical branches.
4. Handling non-constructive reasoning
Many proofs rely on non-constructive tools such as proof by contradiction, the axiom of choice, and transfinite induction. These sit uneasily with the “produce an executable construction” mindset of program verification, adding translation costs to formalization.
5. The gap between high-level goals and low-level reasoning
Human proofs are organized hierarchically: a proof strategy comes first, then decomposition into subgoals, and finally concrete computation. Machine search, by contrast, is usually bottom-up and lacks an effective representation of the “strategy layer,” resulting in weak long-horizon planning — precisely the capability most critical for proving complex theorems.
3. Recent Progress
1. Combining LLMs with formal proving
Large language models are increasingly used to generate proof sketches and suggest proof steps, which are then rigorously checked by formal systems — a “model proposes, system verifies” loop. The model supplies intuitive, heuristic search directions while the formal system guarantees correctness, and the two complement each other. This approach has significantly raised automatic proof success rates on competition-level problems and shifted machine theorem proving from brute-force search toward learning-driven, intelligent search.
2. Growing math libraries and community collaboration
Around formal proof systems, the global mathematics community is building large knowledge bases covering algebra, analysis, topology, number theory, and other branches. Community collaboration is turning formal mathematics from individual translation into industrial-scale accumulation, and a growing number of cutting-edge papers now come with formally verified versions.
3. Milestone verifications of famous conjectures
Some long-standing open problems have achieved formalization breakthroughs. For example, the complete formal proof of a classic combinatorial conjecture was completed collaboratively by a large group of community contributors, demonstrating the feasibility of a “human-machine division of labor”: some handle the mathematical content, some the formalization engineering, and some project management and code review.
4. The rise of specialized collaboration models
Formalization is changing how mathematical research is done collaboratively. In traditional collaborations, every participant must understand the math, write well, and verify arguments; in formalization projects, members can specialize as long as their skill sets overlap — some contribute mathematical ideas, some handle formal implementation, some own quality assurance. This software-engineering-style, large-scale collaboration model is seen as a fundamental change in how mathematical research is produced.
4. Outlook
In the short term, fully independent AI proofs of major conjectures remain unrealistic, but the hybrid model of “human-led strategy + AI-assisted search + formal system verification” is already delivering real value. As proof corpora grow, LLM reasoning improves, and collaboration infrastructure matures, formal mathematics is likely to move from a fringe practice toward a mainstream research paradigm — offering the mathematical community unprecedented reliability and collaboration efficiency.
