
Machine Learning Street Talk (MLST)
Hosted by Tim Scarfe
Written by a model from the transcript; not yet reviewed.
This episode explores the intersection of mathematics, interactive theorem provers like Lean, and artificial intelligence, drawing from Kevin Hartnett's book Proof in the Code. The conversation details how Leo de Mora created Lean and Z3, and how mathematicians like Kevin Buzzard, Jeremy Avigad, and Peter Scholze pushed for dependent type theory to formalize complex abstract mathematics. Guests and hosts discuss the friction between human intuition and machine rigor, noting instances where published papers by Fields Medalists contained logical gaps or false statements that formal verification uncovered. The discussion also covers recent milestones in AI, such as AlphaProof achieving a silver medal at the International Mathematical Olympiad, and the challenges of auto-formalization and understanding debt as AI-generated code scales.
The episode opens with brief ads for Anthropic’s Claude and Toyota’s Fortability, setting a light tone before diving into mathematics.
Peter Scholz explains how he felt his work was skimmed over and the lack of rigorous proof checking in the community.
The narrative of Kepler’s conjecture, Hales’s massive computational proof, and its publication challenges are recounted.
An overview of Lean’s kernel, dependent type theory, and the development of the MathLib library is presented.
The collaborative effort to build MathLib, including contributions from students and mathematicians, is described.
Speakers explore the vision of formalizing contemporary research, such as perfectoid spaces, to showcase Lean’s power.
The tedious, detailed work required to formalize even simple statements in Lean is highlighted, along with tactics to ease the process.
Kevin Buzzard recounts how Peter Scholz’s paper became a test case for Lean’s proof‑checking capabilities.
The episode opens with the host introducing the show and the topic of mathematics transformed by AI.
After simplifying the proof, the team validated it with AI, wrote a second blog post, and the project gained viral attention from major journals and conferences.
The discussion turns to Alpha Proof, an AI system that uses Lean to solve IMO-level problems and demonstrates the power of automated formalization.
Speakers explore the challenges of AI-generated Lean code, the formalization gap, and the need for human oversight to ensure correctness.
Checking Proofs With Leaninsight
When you prove something using a tool like Lean, you get algorithmic certificates that verify whether a mathematical proof is correct.
Kepler's Conjecture Originsstory
Johannes Kepler wondered if pyrimid-stacked oranges formed the densest possible configuration, a problem that took centuries and computers to resolve.
The Dual Nature of Leanstrategy
Lean functions as both a programming language and a proof assistant, allowing users to prove properties about code and state mathematical theorems.
Building Automated Theorem Prover Z3story
Leo de Mora built Z3 at Microsoft to automatically check software pathways for bugs, saving millions of dollars and winning automated theorem competitions.
Building MathLib from Scratchstory
Kevin Buzzard describes starting with just 30,000 lines of basic code and teaching the Lean library undergraduate concepts like complex numbers.
Checking a Fields Medalist's Workstory
Fields Medalist Peter Scholze asked the Lean community to verify a complex six-page pre-print, leading to a successful machine verification.
AlphaProof at the Math Olympiaddata
Google DeepMind's AlphaProof used reinforcement learning and Lean to achieve a silver medal level score on the 2024 International Mathematical Olympiad.
False Statements by Fields Medalistsinsight
Checking formal statements from top math journals revealed that four Fields Medalists had published theorems that were strictly speaking false.
“AI is coming from mathematics.”
“The kernel answers the first question anyone asks when they learn about an ITP, which is that if the ITP says a proof is correct, how do I know it hasn't made a mistake?”
“Formalizing a proof or writing math in this formal language is very kind of tedious. You have to spell out every little detail.”
“The library wants to take sort of fully formed, well thought out, you know, beautiful conceptual ideas, which sort of know their place.”
“You know, in, people are beginning to notice that the software was able to do more complex material.”
“And we started going through it with a fine tooth comb and we found a simplification.”
“When you have a mathematical proof in Lean, fully spelled out, you can kind of click into elements of it,”
“DeepMind eventually auto-formalized about 80% of questions in those areas nearly perfectly.”
“The machines will say, 'Well, this theorem which you've written, it isn't actually true, is it?'”
Kevin Hartnett is the author of *The Proof in the Code*. SPONSOR:---Cyber Fund built the Monastery to help founders ship products that were impossible a year ago. Applications for Batch 1 are now open. Apply now: https://cyber.fund---In 1998 Thomas Hales finished a proof of the Kepler conjecture that leaned so heavily on computer code that the Annals of Mathematics could not say whether it was true. That impasse opens Kevin Hartnett's book *The Proof in the Code*, and this documentary. Built around Tim's conversation with Hartnett, the film follows Lean from a side project at Microsoft Research to the system mathematicians now use to check their own field. Leonardo de Moura, Lean's creator, explains why everything rests on a small trusted kernel. Jeremy Avigad recalls the argument over foundations that changed Lean. Kevin Buzzard describes his fear that his corner of mathematics was becoming a house of cards, and Paul Lessard separates a correct proof from a useful one. Mathlib, Peter Scholze's Liquid Tensor challenge and Terence Tao's Equational Theories project all pass through. The second half turns to AI. AlphaProof, natural-language olympiad proofs and autoformalisation sharpen the question the book keeps asking: when a machine produces a proof nobody can read, what has actually been checked? The answer lies in the formalisation gap, the distance between the mathematics people mean and the statement a checker certifies. The film closes on the human story behind the software.---TIMESTAMPS:0:00 Cold open: proof, code and the wrong problem1:50 Kepler's oranges and the proof nobody could check6:54 How mathematicians decide a proof is true9:04 Correct is not the same as useful12:17 Sponsor: Cyber Fund12:53 What Lean is, and the small kernel it trusts15:23 From Microsoft's Z3 to Lean18:22 The argument over Lean's foundations24:52 One researcher versus a growing user base26:16 Kevin Buzzard's house of cards30:43 Mathlib as a barn raising37:16 The perfectoid-spaces stunt47:12 Scholze's proof nobody had read: Liquid Tensor53:20 Can AI learn to find proofs? AlphaProof58:43 AI mathematics in 2026 and Tao's experiment1:01:36 Lean's place in AI mathematics1:02:17 AI brute force versus the right abstraction1:05:19 Autoformalisation's Trojan horse1:07:25 The formalisation gap1:11:45 A proof is not understanding1:16:58 Integration hell and the zlib specification1:21:14 Verification in the AI software lifecycle1:22:38 The human story behind Lean1:31:09 The birthday walk1:33:05 Farewell---REFERENCES:[2:12] Thomas Hales, A proof of the Kepler conjecture (Annals of Mathematics, 2005)https://annals.math.princeton.edu/2005/162-3/p01[2:12] The Flyspeck project (the formal proof of the Kepler conjecture)https://github.com/flyspeck/flyspeck[12:53] Leanhttps://lean-lang.org/[30:43] Mathlibhttps://github.com/leanprover-community/mathlib4[30:43] Kevin Hartnett, "Building the Mathematical Library of the Future" (Quanta Magazine, 2020)https://www.quantamagazine.org/building-the-mathematical-library-of-the-future-20201001/[47:12] The Liquid Tensor Experimenthttps://github.com/leanprover-community/lean-liquid[53:20] AlphaProof (Google DeepMind): AI achieves silver-medal standard solving International Mathematical Olympiad problemshttps://deepmind.google/blog/ai-solves-imo-problems-at-silver-medal-level/[59:23] The Equational Theories Project (Terence Tao)https://github.com/teorth/equational_theories[1:18:30] lean-zip (the zlib proof)https://github.com/kim-em/lean-zipFrontierMath Erdős (Epoch AI, 2026)https://epoch.ai/benchmarks/frontiermath-erdosBook: Kevin Hartnett, *The Proof in the Code* (Quanta Books, 2026)https://www.quantabooks.org/books/the-proof-in-the-code/---RESCRIPT: https://app.rescript.info/share/8604a0cd6ea4604a368028a05f4e6be4Support MLST on Patreon: https://www.patreon.com/mlstDiscord: https://discord.gg/HNnAwSduud
16,694 words · 7 speakers
Speaker names marked are inferred from speaking time and the show’s known hosts — they are not voice-verified.
Page updated · transcript and summary are machine-generated