Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
This is used to uniquely identify InteractiveGoals and InteractiveHypotheses. This makes it easier to do contextual suggestions: eg the infoview can send a message saying "the user clicked on subexpression 5 in hypothesis N in goal G" where N and G are unique identifiers for a goal rather than pretty names which may be non-unique or indices which may be difficult to compute (eg in infoview there is a mode where hypotheses are reversed or filtered). While adding these I also refactored the InteractiveGoal generating function. I unwrapped a fold in to a for/in loop with mutating variables which is a little easier to read. |
||
|---|---|---|
| .github | ||
| .vscode | ||
| doc | ||
| images | ||
| nix | ||
| script | ||
| src | ||
| stage0 | ||
| tests | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| .ignore | ||
| CMakeLists.txt | ||
| CONTRIBUTING.md | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| LICENSES | ||
| README.md | ||
| RELEASES.md | ||
| shell.nix | ||
This is the repository for Lean 4, which is currently being released as milestone releases towards a first stable release. Lean 3 is still the latest stable release.
About
- Quickstart
- Homepage
- Theorem Proving Tutorial
- Functional Programming in Lean first chapter is available!
- Manual
- Release notes starting at v4.0.0-m3
- Examples
- FAQ
Installation
See Setting Up Lean.
Contributing
Please read our Contribution Guidelines first.
Building from Source
See Building Lean.