Quickstart¶
Build and verify the formalization locally.
Prerequisites¶
- elan (Lean version manager)
- Git
Clone and build¶
Fetch the Mathlib precompiled cache (saves significant build time):
Build with warnings-as-errors --- this is the primary check that enforces zero sorry:
Verify¶
Run the Mathlib linter suite:
Build the axiom dashboard (diagnostic target, not part of the library):
Confirm no sorryAx in any declaration:
Toolchain¶
This project uses Lean 4.28.0 and Mathlib v4.28.0. The toolchain is pinned in
lean-toolchain and the Mathlib revision in lakefile.toml. No local Mathlib
fork --- the rev field is treated as an audit gate.