Inquirer‘Mr. Pure Energy’ brings hope, music to kids in NegrosPunchSaraki condemns alleged intimidation of Kwara traditional rulersThe Jerusalem PostAfter Huang affair, NVIDIA's ex-sales head Puri found to have wed Super Micro executive - reportColliderNetflix’s New ‘Squid Game’ Replacement Officially Premieres in 1 MonthSouth China Morning PostCrafting a resilience blueprint amid polycrisis at Asian Insurance Forum 2026매일경제“화물 드론으로 태양광 설비를”…벤틀리, 크루공장 운영 탄소중립 검증سكاي نيوز عربيةترامب: نحاول منح إيران فرصة للتصرف بذكاءNew Straits Times3 RMAF officers, 3 civilians charged with drug traffickingEl ComercioSullana: Lluvia de gran intensidad provoca inundaciones en distintos sectores de la ciudad | VIDEOSNHKニュース【更新中】関文科相問責決議案 採決へ 可否は見通せない情勢The Hollywood ReporterMelissa Gilbert Expresses “Undying Gratitude” After Timothy Busfield’s Child Sex Abuse Case DismissedESPN DeportesRotondi analizó dejar Cruz Azul tras penal vs. América
The Daily Newsstand · Free, Always
Friday, November 27, 2026

You are reading The Indian Express on KioskNews: newspapers from many countries on one stand, each linked to its original. What other papers report

How does AI prove theorems? Experts explain the role of Lean, reinforcement learning

Translate

The last three months have been remarkable for mathematics.

In September, OpenAI announced a proof that a fluid starting at rest and pushed by a smooth force can reach infinite speed in finite time. This settles the Navier–Stokes equations, a Millennium Prize Problem open since 1934.

In October, OpenAI and Anthropic independently released algorithms that decide propositional satisfiability in less than exponential time, refuting the Exponential Time Hypothesis, on which more than 800 papers rest.

Last week, Levent Alpöge of Anthropic announced a proof of the Riemann Hypothesis, found with Claude. This conjecture about prime numbers, open since 1859, is also a Millennium Prize Problem.

Each proof was checked using the Lean proof assistant. Human review of all three is in progress.

This raises a natural question: how can AI tools, known to hallucinate and make errors, solve problems that have resisted the best mathematicians for decades? The answer, we argue, lies in three technologies: large language models pre-trained on human writing, proof assistants that check every step, and reinforcement learning, which improves the model by trial and error against the checker.

Learning from reading

The systems behind ChatGPT, Claude, and Gemini are large language models (LLMs). These are essentially mathematical functions with billions of adjustable numbers called parameters.

Their first phase of training, pre-training, is essentially learning from reading. The model reads tens of trillions of words or word fragments called tokens from the internet, books, code, and papers. Shown a passage, the model predicts the next token, and its parameters are nudged so that the actual next token becomes more likely. Each prediction draws on everything written before through a mechanism called attention.

To write, the model predicts a token, appends it, and predicts the next one from the longer text. This is the defining idea behind LLMs.

Nobody teaches the model any grammar, facts, or logic. Mathematics is a language with its own vocabulary (integer, prime, continuous), its own grammar (let, suppose, for every … there exists, therefore), and its own structure: definitions, lemmas, theorems, and proofs. LLMs learn whatever language they read enough of, be it English, Hindi, Python, or mathematics, enabling them to write proofs at all.

But just as a grammatical sentence can be false, a fluent proof can hide a fatal gap.

Mathematical writing does offer some help. Nearly every line of a published proof follows from the ones before it, so to predict proofs it has never seen, a model cannot merely memorise; it must pick up the underlying patterns of inference. Pre-training thus gives the model a sense of mathematical reasoning, much as a student absorbs a subject from worked examples. Like a student, the model can be confidently wrong, and it is least reliable where a problem departs from familiar patterns.

In the end, a language model is trained to be coherent, to produce arguments that sound right. It is not trained to be correct. It will write “hence proved” whether or not it has got the mathematics right.

Proofs you can Lean on

This is where Lean comes into play. Lean 4 is a programming language in which mathematical statements and proofs are written step by step.

At its heart is a small, carefully audited program called the kernel, which accepts a proof only if every step follows from the rules of logic. Everything else, including the AI that wrote the proof, can remain untrusted, because nothing gets past the kernel. New proofs can draw on Mathlib, a library of nearly 300,000 theorems built by over 700 contributors.

Importantly, Lean is not AI. It rests on decades of research in logic and programming languages. It involves no learning and no probabilities, and it always returns the same verdict on the same proof.

As a checker for AI, Lean has three virtues. It is so fast, candidate proofs can be checked by the million. It is reliable, so a proof that passes really is a proof. And when a proof fails, Lean says where and why.

Lean’s blind spot, however, is that it certifies only the statement as written. If the formal statement does not capture the intended theorem, the certificate proves the wrong thing. Human scrutiny of the statement is therefore indispensable. Fortunately, a statement is short even when its proof is not. The formal statement of the Riemann Hypothesis takes a few lines; its proof runs to 17 million lines. Experts need only check that the statement means what it should.

Learning from practice

The final ingredient is practice. The model attempts a problem many times, Lean marks each attempt as a success or failure, and the model is nudged towards the reasoning found in successful attempts. Because the reward comes from a checker rather than a person, this is called reinforcement learning with verifiable rewards.

Is this not too crude? An attempt that reasons well for ninety-nine steps and slips at the last is still marked a failure. But sound reasoning succeeds more often than not, so over millions of attempts it is reinforced. Across a broad range of problems, valid reasoning is more or less the only strategy that keeps succeeding, so the process selects for something that behaves like logic.

Together, the three ingredients form a loop: the model generates coherent candidates in bulk, Lean checks them quickly and reliably, and every verdict improves the model.

AI theorem proving is thus a partnership. The AI proposes, Lean judges, and humans supply the statements and the judgement of what matters. The logic, and the trust, need not reside in the AI at all.

However, there are two caveats.

First, verification is not understanding. This system can result in correct proofs that we do not understand. Mathematicians reviewing the Navier–Stokes proof say it has so far taught them little.

Second, trial and error makes an AI as good as its checker, and no better. If a checker can be fooled in some systematic way, practice will find the weakness and exploit it.

Mathematics is fortunate in having a checker that is hard to fool. Most domains are not. In medical diagnosis, for example, confirmation may come weeks later or never, and the “correct” label is often just another doctor’s opinion. Where checkers are weak, an AI may get very good at pleasing the checker without getting good at the task, and only independent evaluation in the real world can tell the two apart. As AI moves into medicine, law, and public services, we must not lose sight of this distinction.

Aalok Thakkar is Assistant Professor of Computer Science, and Subhashis Banerjee is Professor of Computer Science at Ashoka University.

View the original on The Indian Express →

KioskNews shows a cleaned-up reading view extracted from the publisher’s page — the original always lives on their site, not ours.