Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
### Preliminary PRs: - [x] #4597 - [x] #4599 - [x] #4600 - [x] #4602 - [x] #4603 - [x] #4604 - [x] #4605 - [x] #4607 - [x] #4627 - [x] #4629 ### Quick overview over API/naming changes compared to `Lean.HashMap` and `Batteries.HashMap`: #### Lean * `find?` -> `get?`/`getElem?` * `find!` -> `get!`/`gtetElem!` * `findD` -> `getD` * `findEntry?` -> not implemented for now * `insert'` -> `containsThenInsert` (order reversed in result) * `insertIfNew` -> `getThenInsertIfNew?` (order reversed in result) * `numBuckets` -> `Internal.numBuckets` * `ofListWith` -> not implemented for now * `Array.groupByKey` -> not implemented for now * `merge` -> not implemented for now, but you can use `insertMany` #### Batteries * `modify` -> not implemented for now * `mergeWith` -> not implemented for now * `mergeWithM` -> not implemented for now |
||
|---|---|---|
| .github | ||
| doc | ||
| images | ||
| nix | ||
| releases_drafts | ||
| script | ||
| src | ||
| stage0 | ||
| tests | ||
| .gitattributes | ||
| .gitignore | ||
| .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
- 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).