1. Home
  2. Machine Learning Street Talk

Oct 26

Math proofs too complex for humans

Kevin Hartnett

93 min → 2:24

Overview

Kevin Hartnett explains how complex modern proofs are breaking human peer review, and how AI and the Lean theorem prover are turning mathematics into an experimental science.

3 things to know

Hartnett: Huge math proofs now outgrow human peer review

Kevin Hartnett explains that when mathematical proofs span hundreds of pages or rely on custom computer code, human reviewers cannot check every step and instead rely on elite consensus, risking new theories on shaky foundations.

More

However, when proofs span hundreds of pages or rely on custom computer algorithms, human verification becomes practically impossible. This leads to a reliance on "the opinion of the elders", a consensus among elite experts that a proof's general trajectory is correct, which risks building new theories on unverified, shaky foundations.

Hartnett: A tiny software core checks math without human error

Kevin Hartnett explains that formalization translates human math into computer code, and the theorem prover Lean uses a minimalistic, highly trusted core called a kernel to check that proofs follow basic logical rules without human error.

More

Formalization is the process of translating human mathematical language into computer code. Lean is an interactive theorem prover designed to verify this code.

Hartnett says one math line often takes 20 code lines

Kevin Hartnett describes the De Bruijn factor, where translating informal mathematical text into formal computer code often takes 20 lines of code or higher per line of text, creating a huge labor bottleneck.

More

This is the ratio of the number of lines of computer code required to formalize a proof to the number of lines in the informal mathematical text.

Also in this episode

Autoformalization and the Formalization Gap

Autoformalization uses AI (LLMs) to translate natural language mathematics into formal code.

More

While highly efficient, it introduces a "Formalization Gap" because computers verify logical derivations, not human intentions. If an AI translates a statement incorrectly, Lean may prove the incorrect statement. Thus, human trust must shift upstream to verify that the digitized definitions and theorem statements themselves are conceptually accurate.

Brute-force AI finds math areas humans overlooked, says Hartnett

Kevin Hartnett says that while human math relies on elegant abstractions, AI systems use brute-force exploration across millions of logical paths to uncover overlooked areas like magma cohomology and turn math into an experimental, data-driven science.

More

Human mathematics relies on elegant abstractions to make ideas manageable for our minds. This shift allows computers to discover entirely new mathematical landscapes (such as "magma cohomology" in large-scale collaborative projects) that humans had previously overlooked, turning math into an experimental, data-driven science.

Mathlib

Mathlib is a crowd-sourced, community-driven digital library of definitions and theorems built from the ground up (from high school math to modern research).

More

When booted, Lean has no pre-existing mathematical intuition or knowledge. It acts as the essential mathematical "dictionary" that allows Lean to understand and verify advanced concepts.

Full summary

Episode Overview

  • The Crisis of Manual Verification: This episode explores how modern mathematical proofs have grown so complex and heavily reliant on computer code that traditional human peer review is failing, creating a bottleneck where groundbreaking work languishes unverified for years.
  • The Rise of Formalization and Lean: To solve this crisis, mathematicians are turning to "Lean," an interactive theorem prover that translates informal mathematical concepts into machine-readable code, allowing a tiny, highly trusted computer kernel to mathematically verify proofs with absolute logical certainty.
  • The AI Revolution in Mathematics: The narrative details how researchers bypass the laborious process of manual translation through "autoformalization"—using large language models (LLMs) to automatically translate human language into Lean code—which in turn provides the massive datasets needed to train reinforcement learning systems like Google DeepMind’s AlphaProof.
  • The Transition to Experimental Math: By leveraging crowd-sourced libraries like Mathlib and AI-driven exploration, mathematics is shifting from a purely theoretical pursuit based on human-scale abstractions to an experimental science capable of mapping massive, complex logical spaces.

Key Concepts

  • The Manual Verification Crisis: In traditional mathematics, papers are peer-reviewed by human readers. However, when proofs span hundreds of pages or rely on custom computer algorithms, human verification becomes practically impossible. This leads to a reliance on "the opinion of the elders"—a consensus among elite experts that a proof's general trajectory is correct, which risks building new theories on unverified, shaky foundations.
  • Formalization and Interactive Theorem Provers (Lean): Formalization is the process of translating human mathematical language into computer code. Lean is an interactive theorem prover designed to verify this code. Rather than trusting a complex software suite, Lean relies on a "kernel"—a minimalistic, highly trusted core that checks whether a proof strictly adheres to fundamental logical rules, eliminating human error from the verification process.
  • The De Bruijn Factor: This is the ratio of the number of lines of computer code required to formalize a proof to the number of lines in the informal mathematical text. Often reaching 20:1 or higher, this high ratio represents a massive labor bottleneck, as translating informal mathematics into rigorous code requires intense time and effort.
  • Mathlib: When booted, Lean has no pre-existing mathematical intuition or knowledge. Mathlib is a crowd-sourced, community-driven digital library of definitions and theorems built from the ground up (from high school math to modern research). It acts as the essential mathematical "dictionary" that allows Lean to understand and verify advanced concepts.
  • Autoformalization and the Formalization Gap: Autoformalization uses AI (LLMs) to translate natural language mathematics into formal code. While highly efficient, it introduces a "Formalization Gap" because computers verify logical derivations, not human intentions. If an AI translates a statement incorrectly, Lean may prove the incorrect statement. Thus, human trust must shift upstream to verify that the digitized definitions and theorem statements themselves are conceptually accurate.
  • "Math from Mars" and Experimental Mathematics: Human mathematics relies on elegant abstractions to make ideas manageable for our minds. In contrast, AI systems use brute-force exploration to process millions of logical paths without needing human-style simplicity. This shift allows computers to discover entirely new mathematical landscapes (such as "magma cohomology" in large-scale collaborative projects) that humans had previously overlooked, turning math into an experimental, data-driven science.

Quotes

  • At 0:02:28 — "They reduced it to 1,762 combinations... they had to write this insanely optimized computer program... to individually prove that each one was less than about 0.74." — Explains the brute-force, computational nature of the proof for Kepler's Conjecture, which made traditional human peer review impossible.
  • At 0:04:05 — "He dumped this proof on the editors... and they essentially don't know how to referee it... and it languishes for many years without actually being determined true or false." — Highlights the systemic failure of the traditional peer-review process when faced with massive, computer-assisted proofs.
  • At 0:05:31 — "Methods that solve one hard problem are generally good for solving others. Yet as the review process dragged on without resolution, Hales changed his mind... why would he court frustration by applying the same methods to other problems?" — Demonstrates how a lack of formal verification discourages mathematicians from building upon their own complex methodologies.
  • At 0:07:40 — "When you prove something using a tool like Lean, you can get a certificate... you have an algorithm that can check whether the proof is correct or not." — Describes the core value proposition of computer-verified mathematics: absolute logical certainty without human error.
  • At 0:08:21 — "Johan Commelin... breaks big projects into smaller pieces and people can fill the smaller pieces... he doesn't need to check manually." — Illustrates how formalization enables open-source, crowdsourced collaboration on highly complex mathematical projects.
  • At 0:09:10 — "I don't merely want things that don't get it wrong... I want to know why it comes up with a particular answer. I want the reason." — Captures the philosophical tension between machine-driven verification and human understanding.
  • At 0:26:54 — "I was trying to read [the literature], and I couldn't understand all of it. And I would find what I thought were mistakes in the literature... It's not immediately clear there's any sort of concrete applications, so there's nothing we can sort of test these things on in reality. And if they're not right, then almost, you know, what is the point of this stuff at all?" — Kevin Buzzard, highlighting the existential crisis that led him to formal verification when he realized abstract pure mathematics had no real-world "compiler" to check for errors.
  • At 0:29:01 — "Buzzard liked to see every detail spelled out, disliked vagueness and assurances from authority—what he called 'the opinion of the elders.' ... But in the papers he reviewed, Buzzard thought that it had become a permission slip for sloppiness." — Explaining how the traditional peer-review system in elite mathematics can tolerate logical gaps, risking building new theories on unverified foundations.
  • At 0:34:06 — "We just got to the point where all my kids could make their way to school by themselves... so I could stay late at work... and I would teach undergraduates how to use this software. And then I would get them to start, you know, transcribing what they were learning in their undergraduate degree, just teaching it to this machine." — Kevin Buzzard, illustrating the grassroots, community-driven nature of building Mathlib by teaching undergraduate students to code basic mathematical definitions into Lean.
  • At 0:35:46 — "Mathematics needs to mature... What we want in the library is ideas which are really well understood and exist in the correct generality... We want polished mathematics." — Kevin Buzzard, explaining why Mathlib enforces a high standard of conceptual elegance and generality rather than just accepting raw, chaotic, newly discovered proofs.
  • At 0:41:20 — "Hales suggested... that perhaps we should start persuading mathematicians not to learn enough about these computer theorem proving languages to actually type in all their proofs, but to literally type in the statements of their theorems. Because that's a much easier job." — Kevin Buzzard, explaining Thomas Hales' visionary idea that formalizing theorem statements (rather than full proofs) is a highly viable intermediate step to eliminate ambiguity in mathematical publishing.
  • At 0:42:25 — "In reality, you would imagine that math was this sort of perfect language where everything can be expressed in a completely unambiguous way. But in practice, this is not what happens." — Kevin Buzzard, exposing the hidden ambiguities, shifting definitions, and localized notation shortcuts that make informal mathematical papers difficult to parse and verify.
  • At 0:53:39 — "Math is a very effective training environment for AI because you get a clear reward signal at the end—has it done the problem correctly or not? That enables reinforcement learning." — Explaining why interactive theorem provers like Lean are game-changers for AI development, offering an objective "rules of the game" similar to chess or Go.
  • At 0:56:40 — "They train it to answer competition math level problems, starting with basic middle school level things... they do reinforcement learning to slowly reward-climb until it is within range of IMO-level problems." — Explaining how AlphaProof used reinforcement learning to bridge the gap between basic mathematics and Olympic-level problem solving.
  • At 0:57:43 — "AlphaProof could not read the problems it was meant to solve. It took statements expressed in Lean and devised proofs in Lean, but competition problems arrive in natural language." — Explaining the necessity of translation and autoformalization before an automated prover can even attempt a real-world problem.
  • At 1:00:00 — "But settling every single one of the 22 million implications had never really been the goal. Tao viewed Equational Theories as a pilot project for a fundamentally new way of doing mathematics." — Highlighting the shift toward experimental, large-scale collaborative mathematics enabled by computer verification.
  • At 1:01:44 — "What seems to be happening now is you can have an AI tool... doesn't think about it at all, just blindly translates that human-written mathematics into Lean... and doesn't really care about making things easy." — Describing how AI's brute-force capabilities challenge the traditional mathematical philosophy of seeking elegant, simple abstractions.
  • At 1:06:50 — "Without understanding the underlying mathematics, how can you know that a Lean proof formalizes the intended conjecture with appropriate definitions and assumptions?" — Summarizing the "Formalization Gap" where the computer certifies the logic of the proof, but cannot verify if the theorem itself is what the mathematician actually meant to prove.
  • At 1:07:44 — "I'm just currently feeling that mathematics remains a human activity... I would have to unravel the whole proof in my head and check that it really adds up." — Peter Scholze's perspective on why computer verification does not replace the human need for conceptual understanding.
  • At 1:12:26 — "Strictly speaking, what they've written is false... and it's obviously not true, but if you're an expert in the area, you would say, 'Well, obviously they mean this.'... Humans are not as smart as we think we are." — Highlighting how formal verification exposes the ambiguities, omissions, and minor errors commonly accepted in human-to-human mathematical communication.
  • At 1:13:56 — "Mathematics and that level of precision and rigor... that's the medium, that's the language. And within that medium, then you have this platform on which to build these incredibly creative ideas." — Explaining that computer rigor is not the ultimate goal of mathematics, but rather the structured canvas that supports human creativity.

Takeaways

  • Ditch the Shortcuts: Transition from informal paper-writing habits to absolute rigor. Computer formalization reveals that even Fields Medal-level mathematics papers contain minor literal falsehoods and logical gaps that require active correction.
  • Deconstruct Large Projects: When tackling massive intellectual challenges, break them down into highly modular, localized pieces. This allows contributors to work independently on smaller sections without needing to manually verify the entire system.
  • Build the Definitions First: Before trying to prove complex, abstract ideas using computer systems, focus on constructing a comprehensive "dictionary" of basic definitions and conceptual rules (similar to building Mathlib) so your system has a foundation to build on.
  • Embrace "Statement-Only" Verification: When full formalization is too time-consuming, publish and verify only the formalized statements of theorems rather than their entire proofs. This eliminates language ambiguity and establishes clear, uninterpretable claims.
  • Deploy the "Tiny Kernel" Strategy for Security: When designing highly complex software systems, keep the critical decision-making or verification core (the "kernel") as small and simple as possible so it can be verified manually, minimizing the risk of systemic software bugs.
  • Use LLMs as Explorers and Formal Provers as Referees: Pair LLMs with formal proof checkers. Let LLMs handle the creative, massive exploration of ideas and automated translations, but use strict, rule-based systems like Lean to verify and filter out hallucinations.
  • Refactor AI-Generated Output: Actively review and refactor machine-generated code and mathematics. Because AI-generated formalizations often lack conceptual elegance and create technical debt, human intervention is needed to design clean, long-term frameworks.
  • Treat Mathematics Like Software Engineering: Manage the extreme complexity of modern intellectual domains by adopting programming principles such as APIs, encapsulation, and unit tests to organize and scale collaborative human knowledge.
  • Keep Humans in the Driver's Seat for Value and Taste: Rely on computers to verify mechanical derivations, but reserve the identification of what is beautiful, interesting, and conceptually valuable for human minds.

Watch the full episode 1 hr 33 min

Read along with the audio summary

When Kevin Buzzard found mistakes in pure math papers with no real world way to test them, he asked what the point of the field was at all if the proofs are not even right. This episode, released on October 26, 2026, features Buzzard alongside insights from Peter Scholze. By the end, you will understand how computer code and artificial intelligence are rescuing mathematics from a verification crisis and turning it into an experimental science.

Why human peer review is breaking down.

Modern proofs have grown so complex and reliant on computer code that human referees simply cannot check them. Take Thomas Hales and his proof for Kepler's Conjecture, which relied on an optimized computer program to check nearly 1,800 combinations and languished for years because journal editors did not know how to referee it.

To fix this, mathematicians are turning to a tool that replaces human trust with absolute logical certainty.

How a tiny digital core eliminates human error.

Instead of trusting a massive, complicated software suite, an interactive theorem prover called Lean translates human mathematical language into computer code and checks it using a minimalistic core called a kernel. The kernel checks whether every step adheres to fundamental logical rules, allowing mathematicians like Johan Commelin to break giant projects into modular pieces without checking each contribution by hand.

Yet translating human thoughts into this strict code comes with a massive catch.

The hidden labor bottleneck slowing down digital math.

Turning a single line of written math into computer code often takes twenty lines of code or more. As Kevin Buzzard notes, Thomas Hales suggested a shortcut: when full formalization takes too much time, try verifying only the formal statements of your claims rather than the entire proof to eliminate language ambiguity.

Even with that shortcut, the computer still cannot understand a single statement until humans teach it the basics.

Building a crowdsourced dictionary for machines.

When you first boot up Lean, it has zero mathematical intuition or knowledge. To give it a foundation, Kevin Buzzard taught undergraduates to transcribe their coursework into a crowdsourced digital library called Mathlib, which builds definitions and theorems from the ground up so Lean can understand advanced concepts.

With that dictionary in place, researchers are now using artificial intelligence to speed up the translation.

Why artificial intelligence shifts where human trust is needed.

Large language models can translate math into code automatically for systems like Google DeepMind's AlphaProof, a process called autoformalization. However, this creates a formalization gap, because Lean only verifies logical steps, not human intentions, meaning if an AI translates a question wrong, Lean might accurately prove the wrong thing.

Once AI and formal provers team up, they do more than just check human work.

How brute force computing discovers entirely new landscapes.

While human minds need elegant, simple abstractions to manage big ideas, AI systems use brute force exploration to process millions of logical paths, like in Tao's pilot project, Equational Theories, which addressed 22 million implications. This turns math into an experimental, data driven science, though Peter Scholze still feels math remains a human activity because he wants to unravel the proof in his head.

Computer formalization reveals that even elite mathematics papers contain minor literal falsehoods and logical gaps, forcing a shift from informal habits to absolute rigor. Strictly speaking, what they have written is false, and humans are not as smart as we think we are.

More from Machine Learning Street Talk

Related Episodes