Skip to main content
book cover for The Proof in the Code

The Proof in the Code

How a Truth Machine Is Transforming Math and AI

You must sign in to see if this title is available for request. Sign In or Register Now

Send NetGalley books directly to your Kindle or Kindle app


1

To read on a Kindle or Kindle app, please add kindle@netgalley.com as an approved email address to receive files in your Amazon account. Click here for step-by-step instructions.

2

Also find your Kindle email address within your Amazon account, and enter it here.

Pub Date Jun 09 2026 | Archive Date Jul 09 2026

Farrar, Straus and Giroux | Quanta Books


Description

The inside story of Lean, a computer program that answers the age-old question: How do you know if something is true?

It began as an obscure bug-checking program at Microsoft Research developed by a lone computer engineer named Leo de Moura. Then an unlikely crew of mathematical misfits caught wind of it and began to adopt it with messianic zeal. Their goal was to create a truth machine that could provide the rarest of all commodities in life: a complete, 100 percent guarantee that something is true. Its name: Lean.

As the movement grew and strengthened the program’s capabilities, it drew in two of the world’s most prominent mathematicians: Peter Scholze and Terence Tao. Google DeepMind, Meta AI, and other tech firms started using the program to supercharge computer reasoning. Now it’s remaking the multi-thousand-year history of how mathematicians work, collaborate, and assess truth, while charting a new path in the march toward machine intelligence.

In The Proof in the Code, Kevin Hartnett tells the definitive story of the birth and rise of Lean, and how a growing movement is transforming the enterprise of mathematics and ushering in a new era of human–computer collaboration. An engrossing, character driven narrative filled with insights about the future of math, computers, and AI, this brilliant work of journalism from one of the world’s leading math writers offers a profound answer to the question: Can computers reveal universal truths?

The inside story of Lean, a computer program that answers the age-old question: How do you know if something is true?

It began as an obscure bug-checking program at Microsoft Research developed by...


A Note From the Publisher

Kevin Hartnett is a math and technology writer whose work has been published widely in outlets including Quanta Magazine, The Atlantic, The Boston Globe, WIRED, Nautilus, and Scientific American. He was previously the senior writer at Quanta Magazine covering mathematics and computer science. His work has been collected in multiple volumes of the Best Writing on Mathematics series from Princeton University Press. From 2013 to 2016 he wrote “Brainiac,” a weekly column for The Boston Globe’s Ideas section. He lives in Yarmouth, Maine.

Kevin Hartnett is a math and technology writer whose work has been published widely in outlets including Quanta Magazine, The Atlantic, The Boston Globe, WIRED, Nautilus, and Scientific American. He...


Advance Praise

"Kevin Hartnett is one of today's finest chroniclers of math. With marvelous clarity and narrative flair, he introduces us to the computer-verified proof, the drama behind it, and the people reimagining what math can be." —Steven Strogatz, acclaimed Cornell mathematician, New York Times bestselling author of Infinite Powers, and co-host of The Joy of Why podcast

"Kevin Hartnett is one of today's finest chroniclers of math. With marvelous clarity and narrative flair, he introduces us to the computer-verified proof, the drama behind it, and the people...


Available Editions

EDITION Other Format
ISBN 9780374620059
PRICE $30.00 (USD)
PAGES 288

Available on NetGalley

NetGalley Reader (EPUB)
NetGalley Shelf App (EPUB)
Send to Kindle (EPUB)
Send to Kobo (EPUB)
Download (EPUB)