Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
I don't think we gain anything from having them as `abbrev` here, and the simpNF linter complains: ``` -- Init.Data.BitVec.Lemmas #check @BitVec.toNat_intMin /- simp can prove this: by simp only [BitVec.toNat_twoPow] One of the lemmas above could be a duplicate. If that's not the case try reordering lemmas or adding @[priority]. -/ #check @BitVec.toNat_intMax /- Left-hand side simplifies from (BitVec.intMax w).toNat to (2 ^ w - 1 % 2 ^ w + 2 ^ (w - 1)) % 2 ^ w using simp only [@BitVec.toNat_sub, @BitVec.ofNat_eq_ofNat, BitVec.toNat_ofNat, BitVec.toNat_twoPow, Nat.add_mod_mod] Try to change the left-hand side to the simplified term! -/ ``` |
||
|---|---|---|
| .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).