Kevin Hartnett

I am a journalist covering math, computer science, and AI.

“A thrilling account … Readers will be captivated.”

Publishers Weekly (starred review)
The Proof in the Code

Quanta Books / Farrar, Straus and Giroux

THE PROOF IN THE CODE

How a Truth Machine is Transforming Math and AI

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

Coming June 2026

Pre-order