Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
- State was not used linearly. - `TraceState` must be non-backtrackable. That is, we should never use `TraceT (ExceptT E m A)`. Thus, we add a new instance for lifting MonadTracer. - Avoid `Thunk`. Pending issues: - API is too expensive. a) We need to create closure. b) We eagerly create `Message`s even when tracing is disabled. - `Message` collides with structure defined at `Messages.lean` - Need convenient way of writing new `MonadTracer` instances. - `traceRoot` requires a `Position` and a class. Thus, only modules that have access to `Position` may turn on tracing. The module `TypeContext` will not have access to position information, but we want to generate trace messages. |
||
|---|---|---|
| .github | ||
| bin | ||
| doc | ||
| images | ||
| lean4-mode | ||
| library | ||
| nix | ||
| script | ||
| src | ||
| tests | ||
| tmp/new-frontend | ||
| .appveyor.yml | ||
| .clang-format | ||
| .codecov.yml | ||
| .gitattributes | ||
| .gitignore | ||
| .travis.yml | ||
| azure-pipelines.yml | ||
| 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.