The Mathlib Handbook
A textbook of all the mathematics in Mathlib
The handbook explains each declaration of Mathlib at a depth that fits its role. The main definitions and theorems get a full treatment with proofs and examples. The other declarations get a short proof, one sentence or a place in a family. The text follows Mathlib master, and each stable Mathlib tag gives an edition in PDF and EPUB.
Mathlib now
- 335,808 declarations
- 8,738 modules
- 35 volumes
- 8,225 at depth E3
- 1,365 at depth E2
- 184,989 at depth E1
- 141,229 at depth E0
- 6,557 deprecated aliases
A rule gives each declaration its depth (spec 04.4). E3 is a full textbook treatment, E2 a statement with a short proof, E1 one sentence and E0 a member of a family. People can change a depth and give a reason.
The volumes
- V00. Guide: how to read Mathlib 3 declarations in 1 modules
- V01. The language of Mathlib 5,002 declarations in 187 modules
- V02. Numbers 7,978 declarations in 253 modules
- V03. Sets, finite structures and big operators 12,412 declarations in 309 modules
- V04. Order and lattices 21,777 declarations in 363 modules
- V05. Groups 24,928 declarations in 446 modules
- V06. Rings, fields and ordered algebra 12,225 declarations in 327 modules
- V07. Linear algebra 11,967 declarations in 342 modules
- V08. Multilinear algebra and forms 5,928 declarations in 191 modules
- V09. Commutative algebra I: ideals, polynomials, factorization 15,250 declarations in 448 modules
- V10. Commutative algebra II: valuations, Dedekind domains, local algebra 8,612 declarations in 328 modules
- V11. Fields and Galois theory 4,132 declarations in 125 modules
- V12. Number theory 7,355 declarations in 256 modules
- V13. General topology 20,493 declarations in 427 modules
- V14. Topological algebra and infinite sums 8,617 declarations in 210 modules
- V15. Real analysis in one variable 6,632 declarations in 167 modules
- V16. Normed spaces and functional analysis 13,515 declarations in 365 modules
- V17. Differential calculus in normed spaces 4,095 declarations in 114 modules
- V18. Measure and integration 13,872 declarations in 362 modules
- V19. Complex and harmonic analysis 4,481 declarations in 137 modules
- V20. Probability 4,358 declarations in 141 modules
- V21. Dynamics, ergodic theory and information theory 1,197 declarations in 47 modules
- V22. Affine, Euclidean and convex geometry 4,821 declarations in 123 modules
- V23. Manifolds and bundles 4,795 declarations in 95 modules
- V24. Category theory 34,120 declarations in 714 modules
- V25. Higher structures in categories 13,591 declarations in 452 modules
- V26. Homological algebra 13,840 declarations in 347 modules
- V27. Algebraic topology and condensed mathematics 8,301 declarations in 284 modules
- V28. Algebraic geometry 7,613 declarations in 182 modules
- V29. Representation theory and Lie theory 4,974 declarations in 120 modules
- V30. Combinatorics 8,131 declarations in 176 modules
- V31. Set theory 3,268 declarations in 58 modules
- V32. Logic, model theory and computability 4,442 declarations in 67 modules
- V33. Data structures and computation 5,632 declarations in 147 modules
- V34. The tactics of Mathlib 7,451 declarations in 426 modules