Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
@Kha This is a hack to try to fix the build. It seems it is the circular dependency issue again. Remarks: - The problem doesn't happen on my Mac. - I managed to reproduce the Linux error on a virtual machine. /usr/bin/ld: ../lib/lean/libStd.a(ShareCommon.o): in function `l_Std_ShareCommonT_monadShareCommon___rarg': ShareCommon.c:(.text+0xc9): undefined reference to `lean_state_sharecommon' /usr/bin/ld: ../lib/lean/libStd.a(ShareCommon.o): in function `l_Std_PShareCommonT_monadShareCommon___rarg': ShareCommon.c:(.text+0x259): undefined reference to `lean_persistent_state_sharecommon' /usr/bin/ld: ../lib/lean/libStd.a(ShareCommon.o): in function `l_Std_ShareCommon_Object_hash___boxed': ShareCommon.c:(.text+0x59a): undefined reference to `lean_sharecommon_hash' /usr/bin/ld: ../lib/lean/libStd.a(ShareCommon.o): in function `l_Std_shareCommon___rarg': ShareCommon.c:(.text+0x6cf): undefined reference to `lean_state_sharecommon' /usr/bin/ld: ../lib/lean/libStd.a(ShareCommon.o): in function `l_Std_ShareCommon_Object_eq___boxed': ShareCommon.c:(.text+0x82d): undefined reference to `lean_sharecommon_eq' /usr/bin/ld: ../lib/lean/libStd.a(ShareCommon.o): in function `l_Std_PShareCommonT_withShareCommon___rarg': ShareCommon.c:(.text+0x956): undefined reference to `lean_persistent_state_sharecommon' /usr/bin/ld: ../lib/lean/libStd.a(ShareCommon.o): in function `l_Std_ShareCommonT_withShareCommon___rarg': ShareCommon.c:(.text+0xae6): undefined reference to `lean_state_sharecommon' / |
||
|---|---|---|
| .github | ||
| doc | ||
| images | ||
| lean4-mode | ||
| nix | ||
| script | ||
| src | ||
| stage0 | ||
| tests | ||
| tmp | ||
| .gitattributes | ||
| .gitignore | ||
| CMakeLists.txt | ||
| CONTRIBUTING.md | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
| shell.nix | ||
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.