Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
Find a file
Leonardo de Moura 6ea7869c6a chore: "fix" <|> notation declaration
The `infix` declaration was generating a delaborator, but it is
producing the invalid term
```
ConstantFunction.f myFun 3 <|> fun _ => ConstantFunction.f myFun 4
```
It is invalid because the `macro_rules` for `<|>` is based on
`binop_lazy%` which introduces the `fun _ =>` for us.

I tried to use
```
notation:20 a:21 " <|> " b:20 => HOrElse.hOrElse a fun _ : Unit => b
```
but the delaborator generator does not work for this case.
2021-09-07 17:29:27 -07:00
.github chore: CI: fix patching & copying dependent libs 2021-08-20 09:42:05 -07:00
.vscode feat: FromToJson for recursive inductives 2021-07-24 10:47:38 +02:00
doc doc: add basic perf documentation 2021-09-06 07:12:36 -07:00
images
lean4-mode doc: new way to install lean4-mode 2021-09-07 16:23:18 +02:00
nix chore: Nix: fix stage0 2021-08-20 09:42:05 -07:00
script Revert "Revert "feat: reintroduce libleanshared, link lean & leanpkg against it"" 2021-08-20 09:42:05 -07:00
src chore: "fix" <|> notation declaration 2021-09-07 17:29:27 -07:00
stage0 chore: update stage0 2021-09-07 17:08:16 -07:00
tests chore: "fix" <|> notation declaration 2021-09-07 17:29:27 -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: auto-insert newlines 2021-07-05 19:42:01 +02:00
CMakeLists.txt Revert "Revert "feat: reintroduce libleanshared, link lean & leanpkg against it"" 2021-08-20 09:42:05 -07:00
CONTRIBUTING.md doc: more changes 2021-05-13 16:11:57 -07:00
default.nix doc: setup 2021-01-03 13:21:58 +01:00
flake.lock chore: Nix: update inputs 2021-08-05 15:50:03 +02:00
flake.nix Revert "Revert "feat: reintroduce libleanshared, link lean & leanpkg against it"" 2021-08-20 09:42:05 -07:00
LICENSE
README.md chore: add link to "Theorem Proving in Lean 4" tutorial 2021-09-01 10:44:43 -07:00
shell.nix Revert "Revert "feat: reintroduce libleanshared, link lean & leanpkg against it"" 2021-08-20 09:42:05 -07: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.