Base Camp library
From tally marks to Lean
A short history of math and proof in five eras. It takes about ten minutes to read. Links show where each idea appears on the trail.
Era 1 · 20,000 years ago – 1500 BCE
Counting and recipes
The first mathematics was practical: counting animals, measuring fields, sharing food and tracking time.
- ~20,000 years ago
The Ishango bone
A bone from central Africa carries groups of notches. Many think they are tally marks, among the oldest signs of counting.
- ~3000 BCE
Numbers in clay
In Mesopotamia, scribes press numbers into clay. They count in sixties, which is why an hour has 60 minutes and a circle 360 degrees.
- ~1800 BCE
Babylonian tablets
One tablet works out the square root of 2 correct to about six decimal places. Another, Plimpton 322, lists the sides of right triangles.
- ~1550 BCE
The Rhind papyrus
An Egyptian scribe, Ahmes, copies out 84 worked problems about bread, fields and pyramids. They show how to calculate, but not why the method works.
Era 2 · 600 – 200 BCE
The idea of proof
Greek thinkers asked a new question: how can we be sure? Their answer was proof, an argument anyone can check, step by step.
- ~585 BCE
Thales
Thales of Miletus is traditionally called the first person to prove geometric facts, such as: an angle drawn inside a semicircle is always a right angle.
- ~500 BCE
A number that is not a fraction
Followers of Pythagoras discover that the square root of 2 cannot be written as a fraction. The proof works by contradiction: assume it can, and reach something impossible.
Proof by contradiction is Step 17 → - ~300 BCE
Euclid’s Elements
Euclid starts from a handful of basic rules (axioms) and proves hundreds of theorems from them, in order. It is used as a textbook for over 2,000 years. Book IX proves that the primes never run out.
You prove this in Step 39 → - ~250 BCE
Archimedes
Archimedes traps π between two fractions, 3 10⁄71 and 3 1⁄7, using shapes with 96 sides, and proves his bounds are correct.
Era 3 · 200 BCE – 1700 CE
Ideas travel the world
Mathematics grew in many places at once: China, India, the Islamic world and Europe, each adding new tools.
- ~2,000 years ago
The Nine Chapters
A Chinese book of 246 problems solves systems of equations by arranging counting rods in a grid, much like the method students learn today.
- 628 CE
Brahmagupta and zero
In India, Brahmagupta writes rules for arithmetic with zero and negative numbers, treating zero as a number in its own right.
- ~820 CE
Al-Khwārizmī
Working in Baghdad’s House of Wisdom, he writes the book that names algebra. His own name becomes the word algorithm.
- 1202
Fibonacci
Fibonacci’s Liber Abaci helps spread the Hindu–Arabic digits 0–9 across Europe.
- ~1400
Madhava
In Kerala, India, Madhava and his students find infinite sums for π, centuries before they appear in Europe.
- 1600s
Coordinates and calculus
Descartes joins algebra and geometry with coordinates. Newton and Leibniz invent calculus, the math of change.
Era 4 · 1800 – 1990
Making proof precise
Mathematicians began to study proof itself: what exactly counts as a valid step? The answers became the foundation for Lean.
- 1854
Boole
George Boole writes logic as algebra, with true and false as values. Lean’s Bool type is named after him.
Meet Bool in Step 5 → - 1879
Frege
Gottlob Frege invents a fully formal language for logic, where every step of a proof follows exact rules.
- 1889
Peano’s axioms
Giuseppe Peano describes the natural numbers using just zero and “the next number”. Lean builds its natural numbers in the same way.
See it in Step 21 → - 1910–1913
Principia Mathematica
Russell and Whitehead try to build all of mathematics from logic. It takes them hundreds of pages to reach 1 + 1 = 2.
Lean does 2 + 2 = 4 in Step 6 → - 1931–1936
Gödel and Turing
Kurt Gödel shows that some true statements cannot be proved inside a given system. Alan Turing defines what a computer can, and cannot, calculate.
- 1934–1969
Proofs are programs
Haskell Curry, and later William Howard, notice that proofs and programs follow the same rules. A claim is like a type, and a proof is like a program of that type. This is the heart of Lean.
- 1988
The calculus of constructions
Thierry Coquand and Gérard Huet design a logic built on types. Lean’s logic is a descendant of it.
Era 5 · 1967 – today
Computers check proofs
As proofs grew longer, mathematicians turned to computers, first to search through cases, then to check every step.
- 1967
Automath
N. G. de Bruijn builds Automath, one of the first programs to check mathematical proofs. Mizar (1973), Isabelle (1986) and Coq (1989, now Rocq) follow.
- 1976
The four color theorem
Kenneth Appel and Wolfgang Haken prove that four colors suffice for any map, using a computer to check almost 2,000 cases. Some mathematicians are uneasy about a proof no person can read.
- 2005
Four colors, fully checked
Georges Gonthier and Benjamin Werner check the whole four color proof in Coq. In 2012, Gonthier’s team also checks the 255-page Feit–Thompson theorem.
- 2013
Lean begins
Leonardo de Moura starts Lean at Microsoft Research. Lean 3 (2017) becomes stable, and the Mathlib library begins.
- 2014
Flyspeck
Thomas Hales’s team finishes checking his proof of the Kepler conjecture by computer, after reviewers could only say they were “99% certain.”
- 2021–2022
The Liquid Tensor Experiment
Peter Scholze challenges the Lean community to check a difficult new theorem of his. They succeed, and even simplify part of the argument.
- 2023
Lean 4
Lean 4.0.0 is released. Mathlib moves to Lean 4, and the Lean FRO is founded to look after Lean. Terence Tao’s team checks a brand-new result in about three weeks.
- 2024
AI and Lean
Google DeepMind’s AlphaProof writes Lean proofs for Olympiad problems. A project led by Kevin Buzzard starts checking Fermat’s Last Theorem in Lean.
- Today