Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
System.FilePath.parent did not return the correct parent path in the case of absolute file paths Example of previous behavior ``` (FilePath.mk "/foo").parent -> some (FilePath.mk "") (System.FilePath.mk "/").parent -> some (FilePath.mk "") ``` The new behavior is based on rust's std::path::Path::parent function (as previously described in comment in System.FilePath) Example of updated behavior ``` (System.FilePath.mk "/foo").parent -> some (FilePath.mk "/") (System.FilePath.mk "/").parent -> none ``` Behavior for relative file paths is unchanged Closes #3618 |
||
|---|---|---|
| .github | ||
| doc | ||
| images | ||
| nix | ||
| script | ||
| src | ||
| stage0 | ||
| tests | ||
| .gitattributes | ||
| .gitignore | ||
| .ignore | ||
| CMakeLists.txt | ||
| CODEOWNERS | ||
| CONTRIBUTING.md | ||
| flake.lock | ||
| flake.nix | ||
| lean-toolchain | ||
| lean.code-workspace | ||
| LICENSE | ||
| LICENSES | ||
| README.md | ||
| RELEASES.md | ||
This is the repository for Lean 4.
About
- Quickstart
- Homepage
- Theorem Proving Tutorial
- Functional Programming in Lean
- Manual
- Release notes starting at v4.0.0-m3
- Examples
- External Contribution Guidelines
- FAQ
Installation
See Setting Up Lean.
Contributing
Please read our Contribution Guidelines first.
Building from Source
See Building Lean.