Renaissance Labs · Mathematics

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.

84 / 100of the 100 famous theorems formalized
200 / 1,199of the 1000+ list in Mathlib itself
177,553theorems and lemmas in Mathlib
27areas with almost nothing in Mathlib

Undergraduate mathematics

Mathlib's own checklist of the standard undergraduate curriculum, topic by topic: how many listed concepts have a Lean declaration.

  • Linear algebra
    50 / 60
  • Group Theory
    32 / 39
  • Ring Theory
    58 / 61
  • Bilinear and Quadratic Forms Over a Vector Space
    32 / 39
  • Affine and Euclidean Geometry
    14 / 29
  • Single Variable Real Analysis
    58 / 73
  • Single Variable Complex Analysis
    13 / 25
  • Topology
    41 / 44
  • Multivariable calculus
    16 / 41
  • Measures and integral calculus
    33 / 38
  • Probability Theory
    22 / 38
  • Distribution calculus
    14 / 39
  • Numerical Analysis
    2 / 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.

#TheoremStatus
1The Irrationality of the Square Root of 2in Mathlib
2Fundamental Theorem of Algebrain Mathlib
3The Denumerability of the Rational Numbersin Mathlib
4Pythagorean Theoremin Mathlib
5Prime Number Theoremformalized outside Mathlib
6Gödel’s Incompleteness Theoremformalized outside Mathlib
7Law of Quadratic Reciprocityin Mathlib
8The Impossibility of Trisecting the Angle and Doubling the Cubenot yet in Lean
9The Area of a Circlein Mathlib
10Euler’s Generalization of Fermat’s Little Theoremin Mathlib
11The Infinitude of Primesin Mathlib
12The Independence of the Parallel Postulatenot yet in Lean
13Polyhedron Formulanot yet in Lean
14Euler’s Summation of 1 + (1/2)^2 + (1/3)^2 + ….in Mathlib
15Fundamental Theorem of Integral Calculusin Mathlib
16Insolvability of General Higher Degree Equations (Abel-Ruffini Theorem)in Mathlib
17De Moivre’s Formulain Mathlib
18Liouville’s Theorem and the Construction of Transcendental Numbersin Mathlib
19Four Squares Theoremin Mathlib
20All Primes (1 mod 4) Equal the Sum of Two Squaresin Mathlib
21Green’s Theoremnot yet in Lean
22The Non-Denumerability of the Continuumin Mathlib
23Formula for Pythagorean Triplesin Mathlib
24The Independence of the Continuum Hypothesisformalized outside Mathlib
25Schroeder-Bernstein Theoremin Mathlib
26Leibniz’s Series for Piin Mathlib
27Sum of the Angles of a Trianglein Mathlib
28Pascal’s Hexagon Theoremnot yet in Lean
29Feuerbach’s Theoremnot yet in Lean
30The Ballot Problemin Mathlib
31Ramsey’s Theoremformalized outside Mathlib
32The Four Color Problemnot yet in Lean
33Fermat’s Last Theoremnot yet in Lean
34Divergence of the Harmonic Seriesin Mathlib
35Taylor’s Theoremin Mathlib
36Brouwer Fixed Point Theoremformalized outside Mathlib
37The Solution of a Cubicin Mathlib
38Arithmetic Mean/Geometric Meanin Mathlib
39Solutions to Pell’s Equationin Mathlib
40Minkowski’s Fundamental Theoremin Mathlib
41Puiseux’s Theoremnot yet in Lean
42Sum of the Reciprocals of the Triangular Numbersin Mathlib
43The Isoperimetric Theoremnot yet in Lean
44The Binomial Theoremin Mathlib
45The Partition Theoremin Mathlib
46The Solution of the General Quartic Equationin Mathlib
47The Central Limit Theoremin Mathlib
48Dirichlet’s Theoremin Mathlib
49The Cayley-Hamilton Theoremin Mathlib
50The Number of Platonic Solidsnot yet in Lean
51Wilson’s Lemmain Mathlib
52The Number of Subsets of a Setin Mathlib
53Pi is Transcendentalnot yet in Lean
54Königsberg Bridges Problemin Mathlib
55Product of Segments of Chordsin Mathlib
56The Hermite-Lindemann Transcendence Theoremnot yet in Lean
57Heron’s Formulain Mathlib
58Formula for the Number of Combinationsin Mathlib
59The Laws of Large Numbersin Mathlib
60Bezout’s Theoremin Mathlib
61Theorem of Cevain Mathlib
62Fair Games Theoremin Mathlib
63Cantor’s Theoremin Mathlib
64L’Hopital’s Rulein Mathlib
65Isosceles Triangle Theoremin Mathlib
66Sum of a Geometric Seriesin Mathlib
67e is Transcendentalformalized outside Mathlib
68Sum of an arithmetic seriesin Mathlib
69Greatest Common Divisor Algorithmin Mathlib
70The Perfect Number Theoremin Mathlib
71Order of a Subgroupin Mathlib
72Sylow’s Theoremin Mathlib
73Ascending or Descending Sequences (Erdős–Szekeres Theorem)in Mathlib
74The Principle of Mathematical Inductionin Mathlib
75The Mean Value Theoremin Mathlib
76Fourier Seriesin Mathlib
77Sum of kth powersin Mathlib
78The Cauchy-Schwarz Inequalityin Mathlib
79The Intermediate Value Theoremin Mathlib
80The Fundamental Theorem of Arithmeticin Mathlib
81Divergence of the Prime Reciprocal Seriesin Mathlib
82Dissection of Cubes (J.E. Littlewood’s ‘elegant’ proof)in Mathlib
83The Friendship Theoremin Mathlib
84Morley’s Theoremnot yet in Lean
85Divisibility by 3 Rulein Mathlib
86Lebesgue Measure and Integrationin Mathlib
87Desargues’s Theoremnot yet in Lean
88Derangements Formulain Mathlib
89The Factor and Remainder Theoremsin Mathlib
90Stirling’s Formulain Mathlib
91The Triangle Inequalityin Mathlib
92Pick’s Theoremnot yet in Lean
93The Birthday Problemin Mathlib
94The Law of Cosinesin Mathlib
95Ptolemy’s Theoremin Mathlib
96Principle of Inclusion/Exclusionin Mathlib
97Cramer’s Rulein Mathlib
98Bertrand’s Postulatein Mathlib
99Buffon Needle Problemin Mathlib
100Descartes Rule of Signsin 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.