lean4-htt/src
Leonardo de Moura 3193acecfa fix: flush the CoreM and MetaM caches at modifyEnv
This fix may impact performance. Note that we don't need to flush the
cache if we are "adding" stuff to the environment. We only need to
flush the caches if the change is not monotonic. BTW, most of the
changes are monotonic. I think this is why we did not hit this bug before.

We may also move all these caches to an environment extension. It is
an easy way to make sure we preserve the cache when extending the
environment.

I tried a few benchmarks and did not notice a significant difference.

cc @kha @gebner

fixes #1051
2022-03-17 16:02:30 -07:00
..
bin chore: lean-gdb: fix RC printing 2021-12-15 15:58:31 +01:00
cmake chore: delete more CMake cruft 2020-10-14 19:08:06 +02:00
include/lean fix: wait on tasks before Lean program exit 2021-12-15 15:58:24 +01:00
Init fix: forward start and stop in Array.allM 2022-03-17 10:08:40 +01:00
initialize fix: dllexport functions not already annotated in header 2021-09-20 18:41:46 +02:00
kernel perf: efficient unsigned hash(expr const & e) 2022-03-15 07:15:00 -07:00
lake@e3a04023f2 chore: update Lake 2022-02-15 19:19:19 +01:00
Lean fix: flush the CoreM and MetaM caches at modifyEnv 2022-03-17 16:02:30 -07:00
library refactor: move consume_type_annotations declaration to expr.h 2022-03-10 08:00:39 -08:00
runtime chore: revise non-GMP interface 2022-03-16 17:32:51 -07:00
shell test: reimplement package tests using Lake 2022-02-09 12:21:11 -08:00
Std feat: add HasConstCache 2022-03-15 08:39:48 -07:00
util feat: add -i cli option 2022-01-14 09:18:57 +01:00
CMakeLists.txt fix: symlinking src/ into build directory 2022-02-05 18:52:40 +01:00
config.h.in chore: document simplified object header and remove obsolete cmake options 2021-07-20 10:42:28 -07:00
githash.h.in
Init.lean chore: link orphan file 2022-03-07 10:59:49 +01:00
Lean.lean feat: expose --load-dynlib functionality to Lean code 2021-12-15 08:26:48 +00:00
lean.mk.in feat: build .ilean files next to .olean files 2022-01-14 09:18:57 +01:00
Leanc.lean chore: fix codebase after removing auto pure 2022-02-03 18:08:14 -08:00
Std.lean chore: remove Nondet.lean 2021-09-07 17:36:20 -07:00
stdlib.make.in chore: remove leanpkg 2022-02-04 19:03:40 +01:00
stdlib_flags.h Revert "chore: prefer native" 2021-10-26 20:19:27 +02:00
version.h.in feat: version information API 2020-12-29 14:42:48 -08:00