Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
Find a file
Leonardo de Moura 9d304df757 feat: heterogeneous Append experiment
@Kha This one required a bunch of manual fixes. The main issue is that
before we added the string interpolation feature, we created
`MessageData`s using `++` and coercions. For example, given
`(e : Expr)`, we would write
```
let msg : MessageData := "type: " ++ e
```
and rely on the coercions `String -> MessageData` and
`Expr -> MessageData`, and the instance `Append MessageData`.
However, heterogeneous operators "block" the expected type propagation downwards.
This kind of code is obsolete now since we can write a more compact
version using string interpolation
```
let msg := m!"type: {e}"
```
2020-12-01 16:32:41 -08:00
.github fix: Nix: don't try to push PRs 2020-11-24 19:16:27 +01:00
doc doc: Nix: more about nix develop 2020-12-01 15:55:41 +01:00
images
lean4-mode feat: nicer syntax for unification hints 2020-11-27 19:18:18 -08:00
nix chore: Nix: Lean shell quoting 2020-12-01 15:55:41 +01:00
script fix: gen_constants_cpp.py: mark constants as persistent 2020-11-29 18:59:39 +01:00
src feat: heterogeneous Append experiment 2020-12-01 16:32:41 -08:00
stage0 chore: update stage0 2020-12-01 15:09:07 -08:00
tests feat: heterogeneous Append experiment 2020-12-01 16:32:41 -08:00
tmp chore: remove tactic framework dependency 2020-11-10 14:32:58 -08:00
.gitattributes chore: restore marking stage0/ as binary files, which we lost at some point 2020-08-14 11:12:13 +02:00
.gitignore chore: ignore result files from nix build 2020-11-24 19:16:27 +01:00
CMakeLists.txt chore: use standard release build for stage 0 2020-10-12 10:34:48 +02:00
default.nix feat: Nix: compatibility default.nix 2020-11-24 19:16:27 +01:00
flake.lock chore: go back to LLVM 10 2020-11-30 12:32:53 +01:00
flake.nix feat: Nix: thread-sanitized build 2020-11-29 18:59:39 +01:00
LICENSE
README.md chore: add link to manual 2020-11-23 10:21:52 -08:00
shell.nix fix: CI: Linux release job 2020-11-24 19:16:27 +01:00

We are currently developing Lean 4. The Lean 4 manual (work in progress) will give you an overview of the language.

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.