The math library of Lean 4
Mathlib4 is the mathematical library for the Lean 4 proof assistant. The project contains formalized mathematics spanning multiple domains, organized into several components: the main Mathlib library providing general-purpose mathematical definitions and theorems; an Archive section for formalization projects without a natural home in the core library, including solutions to International Mathematical Olympiad problems and theorems from Freek Wiedijk's 100 theorems list; a Cache system for downloading pre-built artifacts to accelerate compilation; and testing infrastructure. The project is built in Lean 4 and is maintained by the Lean community.