Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
Find a file
Leonardo de Moura 25c9727a92 feat: add TermInfo for LVal
@Vtec234 Added the missing info.
Given
```lean
def f3 (s : Nat × Array (Array Nat)) : Array Nat :=
  s.2[1].push s.1
```
We produce the following `InfoTree` for the body (originally at line 30)
```
Array.push (Array.getOp s.snd 1) s.fst : Array Nat @ ⟨30, 2⟩-⟨30, 17⟩
  s : Nat × Array (Array Nat) @ ⟨30, 2⟩-⟨30, 3⟩
  Prod.snd : {α β : Type} → α × β → β @ ⟨30, 4⟩-⟨30, 5⟩
  Array.getOp : {α : Type} → [inst : Inhabited α] → Array α → Nat → α @ ⟨30, 5⟩-⟨30, 6⟩
  1 : Nat @ ⟨30, 6⟩-⟨30, 7⟩
  Array.push : {α : Type} → Array α → α → Array α @ ⟨30, 9⟩-⟨30, 13⟩
  s.fst : Nat @ ⟨30, 14⟩-⟨30, 17⟩
    s : Nat × Array (Array Nat) @ ⟨30, 14⟩-⟨30, 15⟩
    Prod.fst : {α β : Type} → α × β → α @ ⟨30, 16⟩-⟨30, 17⟩
```
2021-01-14 12:19:21 -08:00
.github chore: CI: don't schedule nightlies on forks 2021-01-14 15:04:45 +01:00
doc chore: typos 2021-01-10 22:42:54 +01:00
images chore(CMakeLists.txt): move Lean logo to make sure we can test leanemacs without installing Lean 2015-01-31 17:38:49 -08:00
lean4-mode feat: lean4-mode: allow setting lean4-rootdir after initialization 2021-01-13 16:39:00 +01:00
nix fix: Nix: I still forget how to handle argument quoting in bash 2021-01-13 16:39:00 +01:00
script chore: nightly releases 2021-01-04 13:46:20 +01:00
src feat: add TermInfo for LVal 2021-01-14 12:19:21 -08:00
stage0 chore: update stage0 2021-01-13 18:43:16 -08:00
tests feat: add TermInfo for LVal 2021-01-14 12:19:21 -08: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: update mdBook to mitigate CVE-2020-26297 2021-01-04 22:11:42 +01:00
flake.nix feat: Nix: integrate vscode-lean4 2021-01-03 19:58:46 +01:00
LICENSE Add LICENSE file 2013-07-15 18:55:48 -07:00
README.md doc: contribution guidelines & README update 2021-01-12 14:38:36 -08:00
shell.nix fix: CI: Linux release job 2020-11-24 19:16:27 +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.