AI prove theorems: Over the past three months, artificial intelligence tools have produced proofs for some of mathematics' most famous unsolved problems, changing how experts approach complex questions, according to The Indian Express. These developments affect mathematicians, computer scientists, and anyone interested in the future of automated reasoning.
In September, OpenAI shared a solution to the Navier–Stokes equations, a Millennium Prize Problem that has stood open since 1934. The following month, both OpenAI and Anthropic released new algorithms claimed to efficiently solve propositional satisfiability, contradicting a long-standing assumption called the Exponential Time Hypothesis, which underpins hundreds of scientific papers. Last week, Levent Alpöge from Anthropic announced, with help from Claude, a proof of the Riemann Hypothesis—a question about prime numbers that has challenged mathematicians since 1859 and is another Millennium Prize Problem.
All three of these AI-generated proofs were verified with the Lean proof assistant, a formal tool that checks logical steps for correctness. While Lean confirmed that the proofs met its standards, human mathematicians are now examining each result for accuracy and meaning. This process has brought new attention to how AI, which often makes errors or invents details, can contribute to mathematics.
How large language models, Lean, and reinforcement learning work together
AI systems such as ChatGPT, Claude, and Gemini are built on large language models, often called LLMs. These models are trained through a process where they read vast collections of text—totaling trillions of words and snippets gathered from sources like the internet, books, computer code, and academic papers. During this training, the model learns to guess what comes next in a sequence of words, gradually improving its ability to continue a passage correctly.
Mathematics is just one of many languages these models encounter. When exposed to mathematical writing, including definitions, theorems, and proofs, the model starts to pick up the structure and vocabulary unique to the field. However, the aim of this training is to produce writing that sounds correct, not necessarily to ensure that every claim is true. As a result, an AI may write convincing arguments that are actually flawed, especially when a problem is unlike anything it has seen before.
This is where Lean becomes essential. Lean 4 is a programming language designed for formal mathematics, allowing users to write statements and proofs step by step. At its core is a small, rigorously checked program called the kernel, which only accepts proofs if every step strictly follows the rules of logic. Lean also provides access to Mathlib, a massive repository of nearly 300,000 proven results, created by hundreds of contributors. Importantly, Lean itself is not an AI system and does not use probabilities or learning; it simply checks whether the logic holds.
Lean's role is to review each proof generated by AI and confirm whether it matches the formal requirements. Because Lean is fast, it can assess millions of candidate proofs, quickly discarding those that fail and identifying the point of error. However, Lean only verifies what is formally written. If the formal statement entered into Lean does not capture the intended mathematical question, the system could end up confirming a proof of a different problem. For this reason, humans must still check that the statement matches the original goal.
Reinforcement learning supplies the final piece. Here, the AI attempts to solve a problem repeatedly, submitting its work to Lean for evaluation. Lean marks each attempt as either a success or a failure. The AI then adjusts, reinforcing strategies that lead to more correct proofs. Because the feedback comes from Lean rather than a person, this process is called reinforcement learning with verifiable rewards. Over many cycles, the model improves at producing proofs that pass Lean's checks.
Analysis: what these advances mean for mathematics and AI
- The collaboration of language models, Lean, and reinforcement learning demonstrates that AI can now address problems previously thought out of reach, as long as the formal statement and checking system are robust. This approach enables rapid progress by generating and filtering millions of potential solutions.
- The reports highlight a gap between formal verification and understanding. Mathematicians reviewing the AI-produced Navier–Stokes proof have noted that, so far, the process has not increased their insight into the problem itself. This suggests that a correct proof does not always reveal new ideas.
- The reliability of this AI-driven process depends on the strength of the checker. If Lean or any similar tool has a hidden flaw, reinforcement learning could exploit it, resulting in invalid solutions that still pass the test. Outside mathematics—such as in medicine or law—where no such precise checker exists, these risks could be greater, and only careful independent review can guard against mistakes.
What to expect as review continues
The next stage is ongoing review by mathematicians, who are examining both the formal statements and the detailed steps of the AI-generated proofs for the Navier–Stokes equations, the Riemann Hypothesis, and propositional satisfiability. According to The Indian Express, while Lean ensures logical consistency, only human experts can confirm that the AI's work truly solves the problems as originally posed. The mathematics community is watching this process closely to see if these longstanding challenges have really been overcome.

Comments (0)
Be the first to comment!