AI Can Produce Verified Math Proofs — What's Still Missing to Reach the Fields Medal
In recent years, general-purpose large language models (LLMs) have fueled a surge of AI systems that can produce machine-verified mathematical proofs, sparking comparisons to the field's highest honor. This article separates the hype from the technical reality: AI is shifting from "looking like it can do math" to "doing math in a way that machines can rigorously verify." It explains what formal mathematics actually means, how neuro-symbolic architectures combine LLMs as strategy and value networks with a trusted formal checker as referee, and why the remaining gap to a Fields Medal lies in generating conjectures, formalizing open problems, controlling combinatorial search explosion, and maintaining stability across long proofs. It also outlines a practical, reusable pipeline for building an AI math reasoning system and discusses running these compute-intensive, long-running workloads on the cloud, along with the key open challenges ahead.
1. When Large Models Start to “Read” Math
Over the past few years, the success of large language models (LLMs) in natural language processing has led many to assume they are equally at ease with rigorous mathematics. Recently, however, a topic worth discussing has emerged: reasoning systems built around general-purpose LLMs have begun producing verified correct proofs for some highly difficult mathematical problems—and have even been compared to the highest honor in mathematics (a distinction roughly equivalent to a “Nobel Prize” of the field).
Let’s be clear from the start. Phrases like “cracking the mathematical heavenly book” or “just one last step from the grand prize” are metaphors with a promotional flavor. What they actually point to is a real technical fact: AI is moving from “appearing to do math” to “doing math in a way that can be rigorously verified by machines.” This step matters far more than a single lucky spark of insight. Understanding its technical essence is more valuable than chasing the headline.
2. What “Deciphering the Heavenly Book” Means: The Essence of Formal Reasoning
The biggest difference between mathematics and language is verifiability. A piece of natural language can be vague and open to interpretation, but a mathematical proof either holds or it doesn’t—and whether it holds can be checked step by step by a formal system.
The so-called “heavenly book” usually refers to two kinds of content:
- Formalized propositions: mathematical statements written in type theory or first-/higher-order logic, stripped of any natural-language ambiguity.
- Formalized proofs: complete chains of reasoning that start from axioms, proceed through a series of mechanically checkable inference steps, and arrive at the target proposition.
The essence of AI “deciphering the heavenly book” is performing search and reasoning within a formalized language space: given a formalized goal, the system automatically generates intermediate steps, selects inference rules, and fills in missing lemmas until it constructs a proof that passes the checker. This is fundamentally different from generating fluent text that may be wrong.
3. Technical Foundation: How the Neuro-Symbolic Architecture Works
Relying on a large model’s occasional flash of insight is not enough, because an LLM is fundamentally a probabilistic generator and does not guarantee logical correctness. The current mainstream approach is a neuro-symbolic combination: let the neural network provide “intuition” and let the formal system act as the “referee.”
A typical structure has three parts:
- Policy network (proposes actions): played by the large model. It takes the current proof state as input and outputs several candidate actions for “what to do next” (for example, applying a particular theorem or performing a variable substitution).
- Value network (evaluates states): estimates how far the current proof state is from completion, used to prune and rank the search.
- Formal kernel (strict verification): a trusted proof checker. Every candidate step must pass its validation before it is considered valid.
The following illustrative search loop shows how these three cooperate:
def neural_proof_search(theorem, strategy, value_model, checker, budget=10000):"""Main loop for neuro-symbolic theorem proving- strategy: LLM policy network that generates candidate proof actions- value_model: value network that estimates the probability of success- checker: formal verifier that strictly validates each step"""frontier = PriorityQueue()frontier.push(ProofState.initial(theorem), priority=value_model(theorem))for _ in range(budget):if frontier.is_empty():return None # no proof found within the budgetnode = frontier.pop()if checker.is_closed(node.state): # the goal has been provenreturn node.extract_proof()# the LLM generates multiple candidate actions at once to improve search coveragefor action in strategy.suggest(node.state, k=32):nxt = checker.step(node.state, action) # key: only accept legal stepsif nxt is not None: # illegal steps are discardedfrontier.push(nxt, priority=value_model(nxt))return None
The key here is not how strong strategy is, but the checker.step operation—no intermediate conclusion that has not been formally verified enters the search tree. This “gate” is exactly what ensures that, even when the system occasionally generates an error, it does not contaminate the final result, thereby guaranteeing that “the proof is correct.”
4. The “Last Step” to the Fields Medal
If AI can already complete formalized proofs automatically, why do we still say it’s “just one last step away”? The gap is precisely the hardest part—the part that best reflects creativity:
- From “verifying the known” to “discovering the unknown”: getting the system to check or complete a proof along an existing line of thought is an entirely different order of difficulty from getting it to independently propose a brand-new proof strategy that no human has ever conceived. The real breakthrough lies in generating conjectures, not merely executing proofs.
- The formalization of the problem itself: for an open mathematical problem in the real world, a human usually first has to translate it into a precise formalized proposition. This step depends heavily on domain insight, and the complete closed loop of “AI independently discovers a problem → formalizes it → proves it” is not yet mature.
- Combinatorial explosion of the search space: the more profound the problem, the larger the intermediate states become. Existing search strategies still fail rapidly in very large formal spaces.
- Stability over long chains: the longer the proof, the more likely it is to get “stuck” at some step, and the accuracy of value estimation also declines with depth.
So the “last step” is not a last-minute kick in a marketing narrative, but the critical threshold of moving from tool-level assistance to the ability to independently propose major conjectures. This remains an open research problem.
5. How to Build an AI Math Reasoning System
For developers and researchers, rather than focusing on the hype, it’s more worthwhile to focus on how to build a reusable reasoning system. A pragmatic engineering approach includes:
- Choose a trusted formal kernel: prefer a formalized proof language and proof checker that are widely accepted in the industry and have stood the test of time, as the foundation of the system’s correctness.
- Prepare corpora and formalized datasets: collect existing formalized theorem libraries to train the policy network, so the model has “seen” human proof paradigms.
- Implement the policy network and value network: fine-tune a pretrained large model—the policy network learns “the next step,” and the value network learns “whether this step is promising.”
- Build the search scheduler: organize the search with classic algorithms such as priority queues, beam search, or Monte Carlo Tree Search (MCTS), and set a reasonable compute budget.
- Closed-loop feedback and reinforcement learning: turn the “success/failure/progress” signals returned by the checker into rewards, and keep iterating on the model.
An example configuration could look like this:
proof_system:kernel: certified_checker # trusted verification kernelstrategy_model: llm_policy # policy network (large model)value_model: learned_evaluator # value networksearch:algorithm: mcts # search algorithmbudget: 50000 # state-expansion budgetbeam_size: 32training:method: reinforcement_learning # feedback-driven iterationreward: proof_progress
6. Cloud Engineering in Practice
The engineering challenge of such systems lies in the fact that they are simultaneously compute-intensive and long-running tasks. When deploying on the cloud, teams can draw on the general capabilities offered by Baidu AI Cloud to reduce operational complexity:
- Elastic compute and GPU capacity: proof search and model inference require large amounts of parallel computation, and an elastic, auto-scaling pool of compute can scale on demand to avoid wasting capacity at peak times.
- Container platform: split the policy service, value service, and checker into independent containers for orchestration, making it easier to scale horizontally and upgrade independently.
- Message queue: the large number of candidate states and verification requests generated during search can be decoupled and load-leveled with a message queue to smooth out scheduling.
- Object storage: massive formalized datasets, model checkpoints, and proof traces are well suited to object storage with version management.
- Logging and monitoring/alerting: track metrics such as search success rate, state-expansion speed, and verification failure rate, and trigger alerts promptly when anomalies appear.
This combination of “neural services + symbolic verification + cloud orchestration” lets teams focus their energy on algorithms and data rather than underlying infrastructure.
7. Challenges and Outlook
Objectively speaking, AI’s capabilities in mathematics are still evolving rapidly, but it remains clearly far from “independently solving major open problems.” Challenges worth attention include: how to improve the reliability of value estimation in deep search; how to teach models to propose conjectures rather than merely verify them; and how to formalize real-world problems that have not yet been precisely stated.
The conclusion truly worth remembering for developers is this: the value of AI lies not in manufacturing legends of “leaping to the top in a single step,” but in freeing humans from tedious, error-prone formalization work, so that researchers can focus on creative thinking. When the closed loop of “propose a conjecture → machine verification → feedback and iteration” gradually matures, the way mathematical research is conducted will be reshaped. That “last step” belongs to rigorous engineering and continuous scientific exploration—not to a fleeting headline.
