Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
Find a file
Leonardo de Moura 05022cc80b fix: disable implicit lambda insertion at _, ?h, and by ...
@Kha This commit addresses an issue reported by Kevin. Holes and tactic
blocks represent a discontinuity in the elaboration process.
By introducing inaccessible variables (or "things" as Kevin calls
them), we create error message that are harder to understand (see
affected test), and goals where we didn't allow the user to select the
variable name and/or eagerly unfolded a definition.

BTW, I first considered using "reducible" setting when deciding
whether to insert implicit lambdas or not. This is a bad idea.
See `monotone.lean` test. The decision should not depend on
reducibility status, but whether there is "discontinuity" on the
elaboration process or not. As Kevin pointed out,
"introducing implicits work great if you finish the job".
2021-03-25 16:13:15 -07:00
.github chore: CI: fix 2021-02-12 22:55:22 +01:00
doc fix: doc 2021-03-24 10:59:11 -07:00
images
lean4-mode fix: lean4-mode: void-variable 2021-03-24 15:25:35 +01:00
nix chore: Nix: update vscode-lean4 2021-03-25 18:53:44 +01:00
script chore: link lean using leanc 2021-03-06 10:17:50 +01:00
src fix: disable implicit lambda insertion at _, ?h, and by ... 2021-03-25 16:13:15 -07:00
stage0 chore: update stage0 2021-03-25 12:23:14 -07:00
tests fix: disable implicit lambda insertion at _, ?h, and by ... 2021-03-25 16:13:15 -07:00
tmp chore: remove tactic framework dependency 2020-11-10 14:32:58 -08:00
.gitattributes chore: restore marking stage0/ as binary files, which we lost at some point 2020-08-14 11:12:13 +02:00
.gitignore chore: ignore result files from nix build 2020-11-24 19:16:27 +01:00
CMakeLists.txt chore: use standard release build for stage 0 2020-10-12 10:34:48 +02:00
CONTRIBUTING.md doc: contribution guidelines & README update 2021-01-12 14:38:36 -08:00
default.nix doc: setup 2021-01-03 13:21:58 +01:00
flake.lock chore: Nix: update Nix client to resolve https://github.com/NixOS/nix/issues/4469 2021-01-26 18:01:39 +01:00
flake.nix chore: Nix: stage0debug 2021-01-20 16:48:50 +01:00
LICENSE
README.md doc: contribution guidelines & README update 2021-01-12 14:38:36 -08:00
shell.nix doc: update dev setup editor instructions 2021-02-02 17:30:51 +01:00

This is the repository for Lean 4, which is currently being released as milestone releases towards a first stable release. Lean 3 is still the latest stable release.

About

Installation

See Setting Up Lean.

Contributing

Please read our Contribution Guidelines first.

Building from Source

See Building Lean.