Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
Find a file
Kyle Miller acb1b09fbf
fix: expression tree elaborator for relations now localizes error messages to the LHS or RHS (#3442)
Added `withRef` when processing the LHS or RHS. Without this, in an
expression such as `true = ()` the entire expression would be
highlighted with "type mismatch, `()` has type `Unit` but is expected to
have type `Bool`". Now the error is localized to `()`.

This behavior was pointed out [on
Zulip](https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/error.20location.20bug/near/422665805).
2024-03-04 00:53:32 +00:00
.github fix: clean build after update-stage0 (#3491) 2024-02-24 15:54:50 +00:00
doc doc: correct typo "can calls" (#3446) 2024-02-21 22:31:02 +00:00
images
nix fix: split libInit_shared out of libleanshared (#3421) 2024-02-22 19:16:32 +00:00
script fix: C++ exceptions across shared libraries on Linux (#3500) 2024-02-26 10:35:11 +00:00
src fix: expression tree elaborator for relations now localizes error messages to the LHS or RHS (#3442) 2024-03-04 00:53:32 +00:00
stage0 chore: use match_expr in omega (#3577) 2024-03-03 22:22:28 +00:00
tests fix: expression tree elaborator for relations now localizes error messages to the LHS or RHS (#3442) 2024-03-04 00:53:32 +00:00
.gitattributes
.gitignore
.ignore
CMakeLists.txt
CODEOWNERS chore: remove noisy root code owners 2024-02-19 17:30:21 +01:00
CONTRIBUTING.md
default.nix
flake.lock
flake.nix
lean-toolchain
lean.code-workspace
LICENSE
LICENSES
README.md doc: remove nightly and other outdated references (#3027) 2024-01-25 13:53:36 +00:00
RELEASES.md doc: update RELEASES.md for #3552 (#3561) 2024-03-02 00:27:21 +00:00
shell.nix

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.