Leonardo de Moura
47e6f8fa9e
fix(library/type_context): do not revert auxiliary local declarations introduced by the recursive equation notation
...
see #1258
2016-12-19 11:06:50 -08:00
Leonardo de Moura
0492436c42
chore(library/scoped_ext,tests/lean): fix issues raised by @kha
2016-12-19 10:03:16 -08:00
Leonardo de Moura
ffc9c75824
fix(frontends/lean/parser): do not clear local universes when switching to tactic mode and/or quoting
2016-12-19 09:21:54 -08:00
Leonardo de Moura
b65c774f5b
chore(library/init/meta): opened_namespaces ==> open_namespaces
2016-12-18 23:55:45 -08:00
Sebastian Ullrich
9a30a06321
fix(frontends/lean/elaborator): output full names for overloads
2016-12-18 23:49:11 -08:00
Sebastian Ullrich
d3f57c6497
fix(library/tactic/tactic_state): include implicitly opened namespaces in opened_namespaces
2016-12-18 23:49:00 -08:00
Sebastian Ullrich
00b8c2ca81
feat(frontends/lean/elaborator): save info on field of field expression
2016-12-18 23:48:50 -08:00
Sebastian Ullrich
aae15901ac
fix(emacs): make sure lean-server-sync is executed in the correct buffer
2016-12-18 23:48:15 -08:00
Leonardo de Moura
1cfef1c6d9
fix(frontends/lean/parser): save next_inst_idx in the parser snapshot
...
This fixes issues with anonymous instances in sections.
In Emacs, we would get spurious error messages such as:
invalid parameter/variable declaration, '_inst_1' has already been declared
This commit also adds a regression test for the problem.
2016-12-18 23:39:28 -08:00
Leonardo de Moura
d853136b82
chore(frontends/lean/builtin_cmds): leftover
2016-12-18 23:00:51 -08:00
Leonardo de Moura
aa0abd5cef
fix(library/equations_compiler/structural_rec): bug in decoder
2016-12-18 22:51:02 -08:00
Leonardo de Moura
6b416b4618
feat(library/vm): use native representation for int in the VM
2016-12-18 15:04:02 -08:00
Sebastian Ullrich
29ef580e43
fix(emacs/lean-server): try to reduce flickering of error list
2016-12-18 13:44:06 -08:00
Leonardo de Moura
060a554db1
feat(library/tactic): add norm_num_tactic
2016-12-17 16:48:40 -08:00
Leonardo de Moura
eda7870b38
fix(library/tactic/simp_lemmas): missing case
2016-12-17 12:53:39 -08:00
Leonardo de Moura
ac1af2dfda
feat(library/tactic/simplify): trace prove failures
2016-12-17 11:53:44 -08:00
Leonardo de Moura
8683ea4f60
feat(library/tactic/simp_lemmas): add simp_lemmas.pp
2016-12-17 11:53:02 -08:00
Leonardo de Moura
5572d7f3ec
perf(kernel,library/module): enable expr caching when deserializing .olean files
2016-12-16 18:33:46 -08:00
Gabriel Ebner
6ed538a705
fix(library/module_mgr): finally fix invalidation
2016-12-16 18:18:00 -08:00
Leonardo de Moura
b0d27d6d92
feat(library/tactic/simplify): simplify_core calls itself to discharge hypothese
2016-12-16 10:26:44 -08:00
Leonardo de Moura
f9ad1dbfc0
fix(frontends/lean/definition_cmds): bug at inline_new_defs
...
closes #1253
2016-12-15 20:32:06 -08:00
Leonardo de Moura
9119554835
feat(frontends/lean/structure_cmd): avoid unnecessary local_ref
2016-12-15 16:22:22 -08:00
Leonardo de Moura
6e57e70d04
fix(frontends/lean/pp): pretty print issue, and fix broken tests output
...
Remark: we do not allow user to access abstracted version anymore inside
of a section.
2016-12-15 15:42:54 -08:00
Leonardo de Moura
8bce559330
fix(frontends/lean/elaborator): another issue at resolve_names
...
see #1251
2016-12-15 15:11:24 -08:00
Leonardo de Moura
8b43314e23
feat(library/aliases,frontends/lean/parser): take local_ref's into account when defining new aliases; use get_local_ref at id_to_expr; use get_local_ref at resolve_local_name
...
see #1251
2016-12-15 14:10:44 -08:00
Leonardo de Moura
384cf04efd
refactor(library/aliases,frontends/lean/local_ref_info): merge aliases and local_ref_info modules
2016-12-15 13:24:30 -08:00
Gabriel Ebner
d89512b6fc
fix(util/task_queue): fix undefined behavior with null references
2016-12-15 09:48:57 -08:00
Sebastian Ullrich
b2d28f5ac5
fix(emacs): do not query user before exiting emacs >= 25
2016-12-15 09:48:02 -08:00
Leonardo de Moura
e248577e1c
feat(library/vm): allow vm bytecode to invoke native closures
2016-12-14 19:16:55 -08:00
Leonardo de Moura
bd2f9bce05
fix(library/compiler/erase_irrelevant): issue created by elim_unused_lets optimization
2016-12-14 18:51:53 -08:00
Leonardo de Moura
b0ce461fcd
feat(library/vm): native closures that do not depend on vm_state
...
Remark: native_closures are used in the C++ code generator.
2016-12-14 18:51:24 -08:00
Daniel Selsam
317989bf9e
feat(tactic/exact_tactic): exact_core that takes transparency
2016-12-13 08:27:21 -08:00
Leonardo de Moura
b2c1ea6fdb
fix(library/type_context): failure cache
...
The new regression test exposes the problem being fixed.
2016-12-13 07:50:03 -08:00
Daniel Selsam
fc7410633f
feat(library/type_context): cache failures at is_def_eq
2016-12-13 07:01:12 -08:00
Gabriel Ebner
0c8c41bd07
fix(library/module_mgr): make more robust
2016-12-12 12:40:40 -08:00
Gabriel Ebner
67e3c383ac
fix(library/module_mgr): fix invalidation
2016-12-12 12:40:40 -08:00
Gabriel Ebner
28705052bd
fix(emacs/lean-server): allow restarting dead server
2016-12-12 12:40:40 -08:00
Gabriel Ebner
1963c8650f
feat(shell/server): support regions of interest consisting of multiple files
2016-12-12 12:40:40 -08:00
Gabriel Ebner
d5bca10af8
feat(shell/server,emacs): show currently executing task if even from another file
2016-12-12 12:40:40 -08:00
Gabriel Ebner
902df5d134
feat(shell/server,emacs): show list of currently running tasks
2016-12-12 12:40:40 -08:00
Leonardo de Moura
6e3959de2f
feat(library/compiler): create declarations for nested values
2016-12-12 10:37:58 -08:00
Leonardo de Moura
fe3396e1ae
perf(library/vm/vm): cache the result of 0-ary vm_decls
2016-12-12 09:12:06 -08:00
Leonardo de Moura
502413d5dd
chore(library/compiler/elim_unused_lets): style
2016-12-12 08:32:42 -08:00
Gabriel Ebner
cf3f398753
fix(library/module_mgr): do not perform unnecessary copy
2016-12-12 08:25:32 -08:00
Leonardo de Moura
028bf36152
feat(library/compiler): eliminate unused let declarations
2016-12-12 08:23:37 -08:00
Leonardo de Moura
abfea1f388
feat(library/compiler/cse): ignore 0-ary macros during common subexpression elimination
2016-12-12 07:40:46 -08:00
Gabriel Ebner
a972c13ce9
refactor(library/task_queue): move task queue to util
2016-12-12 10:01:34 -05:00
Gabriel Ebner
02b4fe771f
fix(util/message_definitions): initialize version field
2016-12-12 09:45:07 -05:00
Gabriel Ebner
6c34d42025
refactor(library/task_queue): break dependency on message_buffer
2016-12-12 09:44:05 -05:00
Gabriel Ebner
f584d11072
refactor(library/task_queue): do not hardcode friendship to mt_task_queue
2016-12-12 09:32:13 -05:00