Discova
Back to cards
AI and ML3 min readWikipedia, updated 27 November 2026

Mathematics and artificial intelligence

Mathematics and artificial intelligence (AI) have been interrelated since the initial development of AI. On one hand, mathematics plays a key role in AI. For example, many AI algorithms use methods relying on optimization, statistics and linear algebra. On the other hand, researchers have for decades been trying to use AI and computers to help solve mathematics problems. The impact of AI has been pronounced in mathematics, where results are exactly verifiable. 2026 saw AI-assisted proofs of the Navier–Stokes existence and smoothness and Riemann hypothesis Millennium Prize problems, along with the existence portion of Yang–Mills existence and mass gap.

Background

Mathematics in AI

Many AI systems aim to approximate a set of data. This data, represented as numbers, is combined with weights using the techniques of linear algebra. The weighted data is typically non-linearized using for instance a sigmoid function, before defining a loss function to minimize. The loss function is then minimized using an optimization algorithm, for example gradient descent. This produces a set of weights which can be used to approximate the initial data.

AI in mathematics

In mathematics the goal is often to prove a statement or theorem. Large language models (LLMs) can assist mathematicians by writing proofs or helping find mistakes in written work. LLMs can also be used to disprove conjectures or proposed theorems by finding counterexamples. Mathematics is verifiable, because once a formal proof is written, it can be checked that every line of the proof follows from the assumptions or previous lines. Automation can be applied, by using a proof assistant such as Lean.

History

After the introduction of the digital computer, computers made large numerical calculations useful in physics, engineering and military research. In 1956, a significant step was made when mathematicians built a program able to prove many of the theorems from Russell and Whitehead's Principia Mathematica. The Logic Theorist, as it became known, has been dubbed "the first artificial intelligence program".

During the 1960s, theoretical foundations for the field of artificial intelligence were laid. A decade later, computers began to be used in computer-assisted proofs.

In 2017, transformer architecture, a key component in modern LLMs, was developed using mathematics. In 2021, DeepMind's AI enabled researchers to identify patterns in mathematics which had remained elusive to humans. Google then launched AlphaGeometry in 2024, which was able to use artificial intelligence to solve advanced problems in Euclidean geometry.

Several frontier AI companies, notably OpenAI, train their upcoming models on advanced open research problems in mathematics. Following OpenAI's claim of a solution to the Navier-Stokes Millennium Prize problem, it partnered with the independent Advisory Group on Mathematics and Artificial Intelligence to "advise AI companies on their interactions with mathematical research and with the mathematical community, including the responsible presentation and release of mathematical results." The advisory group urged AI companies to stop testing their models on open mathematics problems.

Present

Up until roughly 2024, large language models (LLMs) were poor at advanced mathematics. Since then, LLMs from major companies have made significant strides in mathematics, heralding an "AI Revolution in Math". Some of the most significant breakthroughs are summarized in the following table.

Discussion

Concerns have been raised that the importance of the problems solved by AI in mathematics is overstated, and that the companies publishing these results are using the proofs as advertising for their models. There is also the question of attribution when AI makes a mathematical discovery. Furthermore, the prohibitive price of the best AI models can potentially restrict mathematical research to elite institutions. To address some of these issues, several mathematicians have signed the 2026 Leiden Declaration on Artificial Intelligence and Mathematics, calling on mathematicians, professional organizations, and policymakers to disclose the use of AI, uphold peer review, and protect the openness and values of the discipline.

Mathematician Terence Tao has argued that AI will change the way mathematics is done in the future. He has argued that AI will generate proofs that are verifiable by proof assistants yet indigestible to humans, and that the role of the mathematician will therefore have to involve greater emphasis on digesting and disseminating proofs.

AI systems for mathematics

Adapted from the Wikipedia article, CC BY-SA 4.0. Continue on Wikipedia

Go deeper

Ideas this article links to.