What A Time To Be Alive
Choose language: English

Google DeepMind AI turns nearly 28,000 maths papers into proofs a computer can check

Google DeepMind has used AI to translate nearly 28,000 papers on mathematics and computer science into Lean, so that a computer can check every step of each proof. Researchers still have to verify whether every translation says exactly what the authors meant.

Old parchment on a dark wooden desk with a hand-drawn geometric construction of circles and lines in brown ink; on top of it lies a sharp, glowing circle with lines running to the centre.
From handwritten mathematics to proofs that a computer can check step by step.

, Google DeepMind put Formal Papers on GitHub. The open collection contains about 27,940 papers on mathematics and computer science that have been translated into Lean, a programming language in which a computer checks every step of a proof. Almost all translations were made independently by AI systems. Google DeepMind does not say which AI model did this.

Such a translation, called formalisation, has so far been mostly manual work: a mathematician could spend months putting one important result into Lean. A collection of this size did not exist before.

How the collection works

Each paper has its own Lean project, in which the definitions and theorems from the paper are written as code. The proofs pass Lean's check without gaps: a step temporarily left open, called a 'sorry' in Lean, is not allowed. Each project comes with an overview that links every numbered theorem in the paper to the matching code.

The projects share a large library of background knowledge, PaperLib, which builds on existing Lean libraries. More than 90 per cent of the papers date from 2021 or later. Only work with an open licence was eligible, so the collection consists mainly of preprints on arXiv, the public website where researchers share their work before other experts have reviewed it.

A checked proof can be mistranslated

Lean checks whether a proof is correct given the definitions and assumptions it contains. It cannot check whether those definitions say what the authors meant. Google DeepMind itself therefore warns that the translations contain errors, and calls the collection experimental.

Each paper comes with notes on what the AI ran into. Sometimes a theorem, as literally written down, turned out not to hold; the AI then looked for a counterexample and proved an adjusted version. According to Google DeepMind, this usually does not point to an error in the paper, but to a convention the authors did not spell out or to a translation error by the AI.

Some well-known results could not be fully proved, because the underlying theory is still missing in Lean. These are included as marked assumptions. Lean keeps track of which proofs rely on them, but cannot see whether such an assumption has itself been written down incorrectly.

Researchers and authors who spot a discrepancy can report it to Google DeepMind.

What does this mean for the road to the singularity?

A large collection of mathematics that a computer can check is a solid foundation for AI. A model can build new proofs on it and have every step checked, instead of only giving an answer that sounds convincing. Now that AI models increasingly write proofs themselves, that is what separates a claim from a checked result.

For mathematicians, it becomes easier to find out exactly which assumptions a result rests on. The better researchers work together to improve the translations, the more reliable this foundation becomes.

What is the technological singularity? Read the explanation →

Sources

  1. OfficeChai
  2. GitHub