Abstract
The Lean mathematical library Mathlib is one of the fastest-growing libraries of formalised mathematics. We describe various strategies to manage this growth, while allowing for change and avoiding maintainer overload. This includes dealing with breaking changes via a deprecation system, using code quality analysis tools (linters) to provide direct user feedback about common pitfalls, speeding up compilation times through conscious library (re-)design, dealing with technical debt as well as writing custom tooling to help with the review and triage of new contributions.
| Original language | English |
|---|---|
| Title of host publication | Intelligent Computer Mathematics - 18th International Conference, CICM 2025, Proceedings |
| Editors | Valeria de Paiva, Peter Koepke |
| Publisher | Springer Science and Business Media Deutschland GmbH |
| Pages | 51-70 |
| Number of pages | 20 |
| ISBN (Print) | 9783032070203 |
| DOIs | |
| Publication status | Published - 2026 |
| Event | 18th International Conference on Intelligent Computer Mathematics, CICM 2025 - Brasilia, Brazil Duration: 6 Oct 2025 → 10 Oct 2025 |
Publication series
| Name | Lecture Notes in Computer Science |
|---|---|
| Volume | 16136 LNCS |
| ISSN (Print) | 0302-9743 |
| ISSN (Electronic) | 1611-3349 |
Conference
| Conference | 18th International Conference on Intelligent Computer Mathematics, CICM 2025 |
|---|---|
| Country/Territory | Brazil |
| City | Brasilia |
| Period | 6/10/25 → 10/10/25 |
Bibliographical note
Publisher Copyright:© The Author(s), under exclusive license to Springer Nature Switzerland AG 2026.
Funding
We would like to thank the anonymous referees for their helpful comments and suggestions. Michael Rothgang was funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy – EXC-2047/1 – 390685813. This material is based upon work supported by the U.S. National Science Foundation Award No. DMS-2302263.
| Funders | Funder number |
|---|---|
| Deutsche Forschungsgemeinschaft | EXC-2047/1 – 390685813 |
| National Science Foundation | DMS-2302263 |
Keywords
- Formal mathematics
- Library development
- Linting
Fingerprint
Dive into the research topics of 'Growing Mathlib: maintenance of a large scale mathematical library'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver