lean4-htt/src
Leonardo de Moura 56dba5b98a fix(frontends/lean/elaborator): fixes #1930
@kha the following idiom is not safe
```
   while (is_pi(t)) {
      t = whnf(binding_body(t));
   }
```
`whnf(e)` assumes that `e` does not have dangling deBruijn variables.
We should use (the more expensive):
```
   while (is_pi(t)) {
      t = whnf(instantiate(binding_body(t), locals.push_local_from_binding(t)));
   }
```
BTW, this problem is not related to the assertion violation at #1930
I just stumbled on it when fixing the violation.
2018-02-19 08:51:26 -08:00
..
api chore(api): remove unneeded #include 2018-02-16 12:19:20 -08:00
checker feat(kernel/expr): allow metavariables to have user-facing names 2017-07-16 07:16:41 -07:00
cmake feat(build): add preliminary MSVC support 2018-02-06 10:11:09 -08:00
frontends/lean fix(frontends/lean/elaborator): fixes #1930 2018-02-19 08:51:26 -08:00
init chore(library/native): remove dead code 2018-02-07 17:29:25 -08:00
kernel feat(msvc): further work on MSVC compatibility 2018-02-06 10:11:09 -08:00
library fix(library/compiler/erase_irrelevant): erase_type 2018-02-19 07:55:43 -08:00
shared fix(shared/init): shared library initialization 2016-12-05 16:48:29 -08:00
shell chore(library/native): remove dead code 2018-02-07 17:29:25 -08:00
tests chore(unicode): use utf8 chars directly in strings 2018-02-13 10:42:08 -08:00
util chore(util/parser_exception): avoid thread local storage 2018-02-16 12:12:56 -08:00
CMakeLists.txt fix(warnings): fix warnings on VS. its now /W2 clean 2018-02-13 10:42:08 -08:00
CTestConfig.cmake
CTestCustom.cmake.in
Doxyfile
githash.h.in fix(library): store and validate Lean version of .olean files 2018-01-23 11:14:18 -08:00
memcheck.supp
version.h.in