Formalization frontier
What Lean knows, and what it does not yet
Three lists maintained by the Lean community measure how much of mathematics is formalized. Together with the area counts on the map, they show where the next theorems should come from.
Undergraduate mathematics
Mathlib's own checklist of the standard undergraduate curriculum, topic by topic: how many listed concepts have a Lean declaration.
- Linear algebra50 / 60
- Group Theory32 / 39
- Ring Theory58 / 61
- Bilinear and Quadratic Forms Over a Vector Space32 / 39
- Affine and Euclidean Geometry14 / 29
- Single Variable Real Analysis58 / 73
- Single Variable Complex Analysis13 / 25
- Topology41 / 44
- Multivariable calculus16 / 41
- Measures and integral calculus33 / 38
- Probability Theory22 / 38
- Distribution calculus14 / 39
- Numerical Analysis2 / 36
The 100 theorems
Freek Wiedijk's list of 100 famous theorems, as tracked by Mathlib. 84 have a formal proof in some Lean project; 78 are inside Mathlib.
| # | Theorem | Status |
|---|---|---|
| 1 | The Irrationality of the Square Root of 2 | in Mathlib |
| 2 | Fundamental Theorem of Algebra | in Mathlib |
| 3 | The Denumerability of the Rational Numbers | in Mathlib |
| 4 | Pythagorean Theorem | in Mathlib |
| 5 | Prime Number Theorem | formalized outside Mathlib |
| 6 | Gödel’s Incompleteness Theorem | formalized outside Mathlib |
| 7 | Law of Quadratic Reciprocity | in Mathlib |
| 8 | The Impossibility of Trisecting the Angle and Doubling the Cube | not yet in Lean |
| 9 | The Area of a Circle | in Mathlib |
| 10 | Euler’s Generalization of Fermat’s Little Theorem | in Mathlib |
| 11 | The Infinitude of Primes | in Mathlib |
| 12 | The Independence of the Parallel Postulate | not yet in Lean |
| 13 | Polyhedron Formula | not yet in Lean |
| 14 | Euler’s Summation of 1 + (1/2)^2 + (1/3)^2 + …. | in Mathlib |
| 15 | Fundamental Theorem of Integral Calculus | in Mathlib |
| 16 | Insolvability of General Higher Degree Equations (Abel-Ruffini Theorem) | in Mathlib |
| 17 | De Moivre’s Formula | in Mathlib |
| 18 | Liouville’s Theorem and the Construction of Transcendental Numbers | in Mathlib |
| 19 | Four Squares Theorem | in Mathlib |
| 20 | All Primes (1 mod 4) Equal the Sum of Two Squares | in Mathlib |
| 21 | Green’s Theorem | not yet in Lean |
| 22 | The Non-Denumerability of the Continuum | in Mathlib |
| 23 | Formula for Pythagorean Triples | in Mathlib |
| 24 | The Independence of the Continuum Hypothesis | formalized outside Mathlib |
| 25 | Schroeder-Bernstein Theorem | in Mathlib |
| 26 | Leibniz’s Series for Pi | in Mathlib |
| 27 | Sum of the Angles of a Triangle | in Mathlib |
| 28 | Pascal’s Hexagon Theorem | not yet in Lean |
| 29 | Feuerbach’s Theorem | not yet in Lean |
| 30 | The Ballot Problem | in Mathlib |
| 31 | Ramsey’s Theorem | formalized outside Mathlib |
| 32 | The Four Color Problem | not yet in Lean |
| 33 | Fermat’s Last Theorem | not yet in Lean |
| 34 | Divergence of the Harmonic Series | in Mathlib |
| 35 | Taylor’s Theorem | in Mathlib |
| 36 | Brouwer Fixed Point Theorem | formalized outside Mathlib |
| 37 | The Solution of a Cubic | in Mathlib |
| 38 | Arithmetic Mean/Geometric Mean | in Mathlib |
| 39 | Solutions to Pell’s Equation | in Mathlib |
| 40 | Minkowski’s Fundamental Theorem | in Mathlib |
| 41 | Puiseux’s Theorem | not yet in Lean |
| 42 | Sum of the Reciprocals of the Triangular Numbers | in Mathlib |
| 43 | The Isoperimetric Theorem | not yet in Lean |
| 44 | The Binomial Theorem | in Mathlib |
| 45 | The Partition Theorem | in Mathlib |
| 46 | The Solution of the General Quartic Equation | in Mathlib |
| 47 | The Central Limit Theorem | in Mathlib |
| 48 | Dirichlet’s Theorem | in Mathlib |
| 49 | The Cayley-Hamilton Theorem | in Mathlib |
| 50 | The Number of Platonic Solids | not yet in Lean |
| 51 | Wilson’s Lemma | in Mathlib |
| 52 | The Number of Subsets of a Set | in Mathlib |
| 53 | Pi is Transcendental | not yet in Lean |
| 54 | Königsberg Bridges Problem | in Mathlib |
| 55 | Product of Segments of Chords | in Mathlib |
| 56 | The Hermite-Lindemann Transcendence Theorem | not yet in Lean |
| 57 | Heron’s Formula | in Mathlib |
| 58 | Formula for the Number of Combinations | in Mathlib |
| 59 | The Laws of Large Numbers | in Mathlib |
| 60 | Bezout’s Theorem | in Mathlib |
| 61 | Theorem of Ceva | in Mathlib |
| 62 | Fair Games Theorem | in Mathlib |
| 63 | Cantor’s Theorem | in Mathlib |
| 64 | L’Hopital’s Rule | in Mathlib |
| 65 | Isosceles Triangle Theorem | in Mathlib |
| 66 | Sum of a Geometric Series | in Mathlib |
| 67 | e is Transcendental | formalized outside Mathlib |
| 68 | Sum of an arithmetic series | in Mathlib |
| 69 | Greatest Common Divisor Algorithm | in Mathlib |
| 70 | The Perfect Number Theorem | in Mathlib |
| 71 | Order of a Subgroup | in Mathlib |
| 72 | Sylow’s Theorem | in Mathlib |
| 73 | Ascending or Descending Sequences (Erdős–Szekeres Theorem) | in Mathlib |
| 74 | The Principle of Mathematical Induction | in Mathlib |
| 75 | The Mean Value Theorem | in Mathlib |
| 76 | Fourier Series | in Mathlib |
| 77 | Sum of kth powers | in Mathlib |
| 78 | The Cauchy-Schwarz Inequality | in Mathlib |
| 79 | The Intermediate Value Theorem | in Mathlib |
| 80 | The Fundamental Theorem of Arithmetic | in Mathlib |
| 81 | Divergence of the Prime Reciprocal Series | in Mathlib |
| 82 | Dissection of Cubes (J.E. Littlewood’s ‘elegant’ proof) | in Mathlib |
| 83 | The Friendship Theorem | in Mathlib |
| 84 | Morley’s Theorem | not yet in Lean |
| 85 | Divisibility by 3 Rule | in Mathlib |
| 86 | Lebesgue Measure and Integration | in Mathlib |
| 87 | Desargues’s Theorem | not yet in Lean |
| 88 | Derangements Formula | in Mathlib |
| 89 | The Factor and Remainder Theorems | in Mathlib |
| 90 | Stirling’s Formula | in Mathlib |
| 91 | The Triangle Inequality | in Mathlib |
| 92 | Pick’s Theorem | not yet in Lean |
| 93 | The Birthday Problem | in Mathlib |
| 94 | The Law of Cosines | in Mathlib |
| 95 | Ptolemy’s Theorem | in Mathlib |
| 96 | Principle of Inclusion/Exclusion | in Mathlib |
| 97 | Cramer’s Rule | in Mathlib |
| 98 | Bertrand’s Postulate | in Mathlib |
| 99 | Buffon Needle Problem | in Mathlib |
| 100 | Descartes Rule of Signs | in Mathlib |
Where the gaps are widest
Areas where Mathlib has almost nothing, by our mapping of Mathlib to MSC areas. Several are applied fields, where formalization is just beginning.
The 1000+ theorems project
The 1000+ project lists 1,199 theorems across mathematics. 200 of them have a declaration in Mathlib. Some of the rest are proved in other Lean projects or in other proof assistants; the figure here counts Mathlib only.
Source: Mathlib commit 5e932f97dd, files docs/100.yaml, docs/1000.yaml and docs/undergrad.yaml.
