Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
@kha @dselsam Suppose we are trying to retrieve the global instances for `(Monad (StateM Nat))`. During retrieval, we reducde `StateM Nat` into `fun x => StateT Nat Id x` However, the `DiscrTree` contains an entry for `Monad (StateT * *)`. Thus, we fail to retrieve any instance. I fixed the particular issue by using eta reduction. Not sure we will encounter other definitional-equality related problems . |
||
|---|---|---|
| .github | ||
| bin | ||
| doc | ||
| images | ||
| lean4-mode | ||
| nix | ||
| script | ||
| src | ||
| stage0 | ||
| tests | ||
| tmp/new-frontend | ||
| .clang-format | ||
| .codecov.yml | ||
| .gitattributes | ||
| .gitignore | ||
| default.nix | ||
| LICENSE | ||
| README.md | ||
| shell.nix | ||
We are currently developing Lean 4. Lean 3 is still the latest official release. This repository contains work in progress.
Important. Unless you are one of our collaborators
- We strongly suggest you use Lean 3.
- Pull requests are not welcome.
- New issues are not welcome, and will be closed without any feedback.