Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
This incorporates many general Lake DSL changes from #2439 and adds some new related changes. * Rework configuration names (e.g., `package <name>`) * String literals ca now be used instead of identifiers for names. * The name syntax is now optional and can instead be set via the `name` field. * Avoid French quotes in `lake new` / `lake init` templates (except in `lean_lib` names). This is not done for `lean_lib` because it needs a proper identifier for its root. It could use a string and reparse it as an identifier, but this seems liable to produce confusion. * The `exe` templates now names it main module `Main` like the `std` template. * Improve `math` template error if `lean-toolchain` fails to download. * Lake now logs a warning rather than an error on unknown configuration fields. This increases the Lake DSL's cross-version compatibility. Closes #3385. |
||
|---|---|---|
| .github | ||
| doc | ||
| images | ||
| nix | ||
| releases_drafts | ||
| script | ||
| src | ||
| stage0 | ||
| tests | ||
| .gitattributes | ||
| .gitignore | ||
| .ignore | ||
| CMakeLists.txt | ||
| CMakePresets.json | ||
| 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 (documentation source: doc/make/index.md).