Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
Find a file
Mac Malone e2407589ff
fix: lake: cache clean should succeed w/ no cache dir (#12532)
This PR fixes a bug with `cache clean` where it would fail if the cache
directory does not exist.

This introduces a `removeDirAllIfExists` utility which is also now used
in `lake clean`. While `lake clean` did previously check for a
nonexistent build directory, this version should be more robust to
racing runs of `lake clean` as well.
2026-02-17 19:06:37 +00:00
.claude doc: add test suite documentation to .claude/CLAUDE.md (#12421) 2026-02-10 21:42:06 +00:00
.github fix: nightly revision date logic and mathlib trigger auth (#12463) 2026-02-13 06:03:15 +00:00
doc fix: auto-update ProofWidgets4 pin in mathlib4 during releases (#12503) 2026-02-16 22:39:22 +00:00
images
releases_drafts
script feat: add Lean name demangler and profiling pipeline (#12517) 2026-02-17 03:27:58 +00:00
src fix: lake: cache clean should succeed w/ no cache dir (#12532) 2026-02-17 19:06:37 +00:00
stage0 chore: update stage0 2026-02-17 12:18:17 +00:00
tests fix: lake: cache clean should succeed w/ no cache dir (#12532) 2026-02-17 19:06:37 +00:00
.gitattributes
.gitignore
.gitpod.Dockerfile
.gitpod.yml
.ignore
CMakeLists.txt
CMakePresets.json
CODEOWNERS
CONTRIBUTING.md
flake.lock chore: update to c++20 (#12117) 2026-02-11 01:17:40 +00:00
flake.nix chore: update to c++20 (#12117) 2026-02-11 01:17:40 +00:00
lean-toolchain
lean.code-workspace
LICENSE
LICENSES
README.md
RELEASES.md

This is the repository for Lean 4.

About

Installation

See Install Lean.

Contributing

Please read our Contribution Guidelines first.

Building from Source

See Building Lean.