Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
Find a file
Leonardo de Moura 106adb09b9 fix: simplify allocator
Do not move segments between heaps.
We found yet another bug due to this "feature".
The crash is reported here:
https://gist.github.com/semorrison/490496060bbcfa8ea635f3d7be1ac824

@Kha summarized the "root of the evil" as:
using per-heap import lists while segments can be exchanged between heaps doesn't seem compatible.

This is the second bug due to this design decision.
We had fixed one here:
2283ebc5e9/src/runtime/alloc.cpp (L257-L269)

This commit fixes both issues by removing the segment exchange feature.
2021-10-05 16:58:20 -07:00
.github chore: CI: retry tests on Windows 2021-10-04 11:24:40 +02:00
.vscode feat: FromToJson for recursive inductives 2021-07-24 10:47:38 +02:00
doc doc: fix 2021-10-03 21:19:45 +02:00
images
lean4-mode chore: lean4-mode: support native elisp compilation 2021-09-21 16:23:52 +02:00
nix fix: Nix build 2021-09-30 10:24:45 +02:00
script Revert "Revert "feat: reintroduce libleanshared, link lean & leanpkg against it"" 2021-08-20 09:42:05 -07:00
src fix: simplify allocator 2021-10-05 16:58:20 -07:00
stage0 chore: update stage0 2021-10-03 17:17:51 -07:00
tests fix: WF should reject definitions that do not take any arguments 2021-10-04 13:24:30 -07: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 fix: UTF-8 file path support for lean on Windows 2021-09-22 12:21:52 +02:00
CMakeLists.txt Revert "Revert "feat: reintroduce libleanshared, link lean & leanpkg against it"" 2021-08-20 09:42:05 -07:00
CONTRIBUTING.md doc: more changes 2021-05-13 16:11:57 -07:00
default.nix doc: setup 2021-01-03 13:21:58 +01:00
flake.lock chore: update Nix 2021-09-30 13:34:26 +02:00
flake.nix fix: sanitized build 2021-09-08 17:24:31 +02:00
LICENSE
README.md chore: add link to "Theorem Proving in Lean 4" tutorial 2021-09-01 10:44:43 -07:00
shell.nix Revert "Revert "feat: reintroduce libleanshared, link lean & leanpkg against it"" 2021-08-20 09:42:05 -07: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.