Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
This PR adds `toInt_smod` and auxilliary lemmas necessary for its proof (`msb_intMin_umod_neg_of_msb_true`, `msb_neg_umod_neg_of_msb_true_of_msb_true`, `toInt_dvd_toInt_iff`, `toInt_dvd_toInt_iff_of_msb_true_msb_false`, `toInt_dvd_toInt_iff_of_msb_false_msb_true`, `neg_toInt_neg_umod_eq_of_msb_true_msb_true`, `toNat_pos_of_ne_zero`, `toInt_umod_neg_add`, `toInt_sub_neg_umod` and `BitVec.[lt_of_msb_false_of_msb_true, msb_umod_of_msb_false_of_ne_zero`, `neg_toInt_neg]`) co-authored with @tobiasgrosser --------- Co-authored-by: Tobias Grosser <tobias@grosser.es> Co-authored-by: Tobias Grosser <github@grosser.es> Co-authored-by: kuhnsa <151550049+salinhkuhn@users.noreply.github.com> Co-authored-by: Siddharth <siddu.druid@gmail.com> |
||
|---|---|---|
| .github | ||
| doc | ||
| images | ||
| nix | ||
| releases_drafts | ||
| script | ||
| src | ||
| stage0 | ||
| tests | ||
| .gitattributes | ||
| .gitignore | ||
| .gitpod.Dockerfile | ||
| .gitpod.yml | ||
| .ignore | ||
| CMakeLists.txt | ||
| CMakePresets.json | ||
| CODEOWNERS | ||
| CONTRIBUTING.md | ||
| 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
- Documentation Overview
- Language Reference
- Release notes starting at v4.0.0-m3
- Examples
- External Contribution Guidelines
Installation
See Setting Up Lean.
Contributing
Please read our Contribution Guidelines first.
Building from Source
See Building Lean.