Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
Find a file
Leonardo de Moura 1ea4bdb9cd fix: add "band-aid" for #341
closes #341

This is another instance of a compiler bug.
It is in the code that is still written in C/C++.
We need to infer types in the compiler, and we reused the kernel type
checker for this.
However, the compiler performs transformations that may produce type
incorrect terms.
This happens in code that makes heavy use of dependent types (like the
new test).
This is just a workaround for this particular instance of the problem.
The definitive solution will only happen when we replace
this part of the compiler with Lean code, and implement a custom
`inferType` method for the compiler.
2021-03-10 08:11:41 -08:00
.github chore: CI: fix 2021-02-12 22:55:22 +01:00
doc doc: fix 2021-03-08 14:54:52 +01:00
images
lean4-mode feat: lean4-mode: use full range when selecting messages for info view 2021-03-10 17:09:41 +01:00
nix feat: lean4-mode: nicer info view using magit sections 2021-03-10 17:09:41 +01:00
script chore: link lean using leanc 2021-03-06 10:17:50 +01:00
src fix: add "band-aid" for #341 2021-03-10 08:11:41 -08:00
stage0 chore: update stage0 2021-03-09 19:25:40 -08:00
tests fix: add "band-aid" for #341 2021-03-10 08:11: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
CONTRIBUTING.md doc: contribution guidelines & README update 2021-01-12 14:38:36 -08:00
default.nix doc: setup 2021-01-03 13:21:58 +01:00
flake.lock chore: Nix: update Nix client to resolve https://github.com/NixOS/nix/issues/4469 2021-01-26 18:01:39 +01:00
flake.nix chore: Nix: stage0debug 2021-01-20 16:48:50 +01:00
LICENSE
README.md doc: contribution guidelines & README update 2021-01-12 14:38:36 -08:00
shell.nix doc: update dev setup editor instructions 2021-02-02 17:30:51 +01:00

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

Installation

See Setting Up Lean.

Contributing

Please read our Contribution Guidelines first.

Building from Source

See Building Lean.