Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
Find a file
Cameron Zwarich 4ec5dad05f
fix: only mark single-alt cases discriminant as used if any param is used (#8683)
This PR adds an optimization to the LCNF simp pass where the
discriminant of a single-alt cases is only marked as used if any param
is used.
2025-06-08 06:20:38 +00:00
.github chore: CI: fix cache (#8579) 2025-06-02 08:00:42 +00:00
doc chore: revert mistaken deletion (#8404) 2025-05-19 12:14:09 +00:00
images
nix
releases_drafts
script feat: do not export def bodies by default (#8221) 2025-05-15 12:16:54 +00:00
src fix: only mark single-alt cases discriminant as used if any param is used (#8683) 2025-06-08 06:20:38 +00:00
stage0 chore: update stage0 2025-06-07 14:27:00 +00:00
tests fix: update maxHeartbeats in tests/lean/run/match_expr_perf.lean (#8676) 2025-06-07 23:27:16 +00:00
.gitattributes
.gitignore
.gitpod.Dockerfile
.gitpod.yml
.ignore
CMakeLists.txt fix: cadical distribution on Linux (#8201) 2025-05-02 18:25:16 +00:00
CMakePresets.json
CODEOWNERS chore: add @zwarich to the compiler CODEOWNERS (#8305) 2025-05-12 18:42:54 +00:00
CONTRIBUTING.md
flake.lock chore: robustify Nix shell (#8141) 2025-04-28 15:08:32 +00:00
flake.nix chore: robustify Nix shell (#8141) 2025-04-28 15:08:32 +00:00
lean-toolchain
lean.code-workspace
LICENSE
LICENSES
README.md chore: remove old documentation site (#7974) 2025-05-14 14:31:33 +00:00
RELEASES.md

This is the repository for Lean 4.

About

Installation

See Setting Up Lean.

Contributing

Please read our Contribution Guidelines first.

Building from Source

See Building Lean.