Lean 4 fork for HoTT-compatible kernel extensions (Path types, transport, HITs). Maintained against upstream leanprover/lean4.
Find a file
Leonardo de Moura 9c79b361dc fix(library/type_context): non deterministic failure at bitwise.lean
We were getting the following error non deterministically:

```
library/init/data/nat/bitwise.lean:131:6: error: exact tactic failed, type mismatch, given expression has type
  z = f ff 0 z
but is expected to have type
  eq.rec z e = f ff 0 (binary_rec f z 0)
state:
C : ℕ → Sort u,
f : Π (b : bool) (n : ℕ), C n → C (bit b n),
z : C 0,
h : f ff 0 z = z,
b : bool,
n : ℕ,
b0 : bit b n = 0,
bf : bodd 0 = b,
n0 : shiftr 0 1 = n,
e : 0 = bit ff 0
⊢ eq.rec z e = f ff 0 (binary_rec f z 0)
```

This error was happening because of the type_context.unfold_lemmas new
flag. The type context thread local cache must be flushed whenever the
value of type_context.unfold_lemmas has changed.
2017-06-01 13:39:12 -07:00
bin chore(bin/lean-gdb): pretty-print lean::optional 2017-05-09 16:02:41 -07:00
doc chore(doc/make/osx): add build instructions to mac OS 2017-05-25 17:03:15 -07:00
extras chore(extra/latex/*): update to changes in syntax 2017-01-03 11:22:04 -08: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
leanpkg fix(leanpkg): keep timeout value when updating the manifest 2017-05-31 20:35:59 +02:00
library refactor(library/init/meta/has_reflect): get rid of unchecked_cast 2017-06-01 10:59:09 +02:00
script chore(script/test_registry): use absolute path to leanpkg 2017-05-31 10:10:48 -07:00
src fix(library/type_context): non deterministic failure at bitwise.lean 2017-06-01 13:39:12 -07:00
tests fix(frontends/lean/structure_cmd): use collect_implicit_locals to catch more context locals 2017-06-01 07:38:30 -07:00
tmp feat(frontends/lean,library/equations_compiler): store tactics for generating well founded relation and decreasing proofs 2017-05-23 15:00:29 -07:00
.appveyor.yml chore(.appveyor.yml,.travis.yml): invoke ctest with --output-on-failure 2017-03-27 13:42:08 -07:00
.appveyor.yml.in chore(.appveyor.yml,.travis.yml): invoke ctest with --output-on-failure 2017-03-27 13:42:08 -07:00
.clang-format feat(library/vm/process): add basic process support 2017-03-28 18:08:06 -07:00
.codecov.yml feat(.travis.yml): add codecov 2016-12-02 17:01:58 -08:00
.gitignore chore(.gitignore): ignore VSCode config file 2016-12-18 12:35:25 -08:00
.travis.yml chore(script/test_registry): use absolute path to leanpkg 2017-05-31 10:10:48 -07:00
.travis.yml.in chore(script/test_registry): use absolute path to leanpkg 2017-05-31 10:10:48 -07:00
LICENSE Add LICENSE file 2013-07-15 18:55:48 -07:00
README.md chore(README): add "wish list" 2017-05-26 14:43:01 -07:00

logo

LicenseWindowsLinux / macOSTest CoverageChat
Codecov Join the gitter chat

About

Requirements

Build Instructions

Miscellaneous

Roadmap