Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
From the new doc-string: ```quote In early versions of Lean, the typeclasses provided by `/` and `%` were defined in terms of `tdiv` and `tmod`, and these were named simply as `div` and `mod`. However we decided it was better to use `ediv` and `emod`, as they are consistent with the conventions used in SMTLib, Mathlib, and often mathematical reasoning is easier with these conventions. At that time, we did not rename `div` and `mod` to `tdiv` and `tmod` (along with all their lemma). In September 2024, we decided to do this rename (with deprecations in place), and later we intend to rename `ediv` and `emod` to `div` and `mod`, as nearly all users will only ever need to use these functions and their associated lemmas. ``` |
||
|---|---|---|
| .github | ||
| doc | ||
| images | ||
| nix | ||
| releases_drafts | ||
| script | ||
| src | ||
| stage0 | ||
| tests | ||
| .gitattributes | ||
| .gitignore | ||
| .ignore | ||
| CMakeLists.txt | ||
| CMakePresets.json | ||
| CODEOWNERS | ||
| CONTRIBUTING.md | ||
| debug.log | ||
| flake.lock | ||
| flake.nix | ||
| lean-toolchain | ||
| lean.code-workspace | ||
| LICENSE | ||
| LICENSES | ||
| README.md | ||
| RELEASES.md | ||
This is the repository for Lean 4.
About
- Quickstart
- Homepage
- Theorem Proving Tutorial
- Functional Programming in Lean
- Manual
- Release notes starting at v4.0.0-m3
- Examples
- External Contribution Guidelines
- FAQ
Installation
See Setting Up Lean.
Contributing
Please read our Contribution Guidelines first.
Building from Source
See Building Lean (documentation source: doc/make/index.md).