Gabriel Ebner
1a6629ce3b
feat(frontends/lean/parser): keep list of tasks that have to succeed
2017-01-17 15:31:17 -08:00
Leonardo de Moura
7a210a9b62
chore(library/util): style
2017-01-16 22:59:17 -08:00
Leonardo de Moura
fc00275636
fix(library/compiler/elim_recursors): it was assuming that recursive arguments occur after non recursive ones
2017-01-16 22:59:17 -08:00
Leonardo de Moura
70b7a35cfe
fix(library/constructions/has_sizeof): it was assuming that recursive arguments occur after non recursive ones
2017-01-16 22:59:17 -08:00
Leonardo de Moura
29b7001bff
fix(library/equations_compiler/elim_match): avoid nasty inferred types in auxiliary declarations produced by the equation compiler
2017-01-16 22:55:12 -08:00
Leonardo de Moura
cce6e4d58c
fix(library/equations_compiler/compiler): fix #1315
2017-01-16 20:01:25 -08:00
Leonardo de Moura
eabbc5bb68
chore(library/module_mgr): comment unreachable_code assertion
...
@gebner, could you please take a look a check whether there is a better fix.
2017-01-15 23:18:44 +01:00
Leonardo de Moura
67226269b4
feat(library/tactic/simp_lemmas): convenient way of adding equational lemmas of a definition to a simp set
2017-01-14 22:16:16 -08:00
Leonardo de Moura
6a5d3ed0e5
feat(library/vm/vm_string): use check_system to avoid stack overflow
2017-01-13 17:06:24 -08:00
Leonardo de Moura
05d86e49ca
feat(library/init/meta/smt): add intros variants for smt_tactic
2017-01-13 16:13:37 -08:00
Leonardo de Moura
db646dda89
fix(library/tactic/smt/smt_state): forgot to set zeta option
2017-01-13 13:33:47 -08:00
Scott Morrison
6f8fc0fe06
fix(library/scoped_ext): typo in error message
2017-01-13 11:33:17 -08:00
Sebastian Ullrich
b180c54c0e
feat(shell): move lean.js to server mode
2017-01-13 07:34:54 -08:00
Leonardo de Moura
c1ecaf4edd
feat(library/tactic/smt/smt_state): do not apply intros automatically in begin[smt]...end blocks
2017-01-12 21:49:17 -08:00
Gabriel Ebner
fcc559a7f0
feat(library/init/util): add trace_call_stack function
2017-01-12 21:47:46 +01:00
Leonardo de Moura
3967cd28fa
fix(library/vm/vm): curr_fn() may not be available
2017-01-12 11:47:45 -08:00
Leonardo de Moura
ad8c241129
perf(library/compiler/eta_expansion): conservative eta_expansion
...
We only eta_expand where needed (e.g., partial constructor/projection/recursor applications).
2017-01-12 11:18:16 -08:00
Leonardo de Moura
1977b4ff3f
fix(library/compiler/vm_compiler): bytecode generation error
...
This bug was introduced by commit 2bd400964c
when we decided to store arguments in reverse order.
2017-01-12 11:18:16 -08:00
Leonardo de Moura
1f2b8745dc
fix(library/compiler): prevent let-expressions from being expanded
2017-01-12 11:18:16 -08:00
Leonardo de Moura
1bfc2f0009
fix(library/type_context): remove hack from use_zeta
2017-01-12 11:18:16 -08:00
Gabriel Ebner
db81e4b5b8
feat(frontends/lean/parser): gracefully handle scanner exceptions in imports
2017-01-11 23:49:44 -08:00
Gabriel Ebner
7319000c98
fix(library/module_mgr): set up message handling outside of exception handler
2017-01-11 23:49:44 -08:00
Gabriel Ebner
130f80efff
fix(library/module_mgr): gracefully handle exceptions during dependency discovery
2017-01-11 23:49:44 -08:00
Leonardo de Moura
df91ae3738
fix(library/string,library/init/data/to_string): handle ASCII control characters
2017-01-11 23:44:33 -08:00
Leonardo de Moura
acef1efb86
fix(frontends/lean/pp,library/equations_compiler,library/tactic/smt/congruence_closure): bug at to_char function
2017-01-11 23:44:25 -08:00
Leonardo de Moura
1bb5b2ec01
feat(library/tactic/simp_lemmas): do not pretty print bizarre "perm" flag
2017-01-11 13:48:11 -08:00
Leonardo de Moura
2df280431a
fix(library/compiler/comp_irrelevant): fix #1302
2017-01-11 11:10:17 -08:00
Leonardo de Moura
19e20f7e1a
fix(frontends/lean/elaborator): universe elaboration issue
2017-01-10 22:35:12 -08:00
Leonardo de Moura
e96bbaee3f
fix(library/type_context): fix #1295
2017-01-10 11:54:38 -08:00
Leonardo de Moura
cd947e263a
fix(library/tactic/smt/congruence_closure): nat numerals do not have a canonical representation
2017-01-10 11:26:50 -08:00
Leonardo de Moura
d987df3db9
feat(library/tactic/smt): allow propositions without universal quantifiers to be tagged as hinst_lemmas
2017-01-10 11:24:27 -08:00
Leonardo de Moura
80d0b8d5f5
chore(library,shell): fix style
2017-01-10 09:00:17 -08:00
Sebastian Ullrich
cc3126e944
feat(frontends/lean,library/scoped_ext,shell): complete namespaces
2017-01-10 12:25:33 +01:00
Leonardo de Moura
c726f19d32
fix(library/tactic/smt/ematch): warning
2017-01-09 19:28:36 -08:00
Leonardo de Moura
3acdcaef2c
fix(library/tactic/smt/smt_state): ematch_using should not fail when a ground fact was added but no instance
2017-01-09 19:24:13 -08:00
Leonardo de Moura
5d750ba0a4
fix(library/tactic/tactic_state): closes #1293
2017-01-09 16:23:02 -08:00
Leonardo de Moura
b526e30c55
fix(library/compiler/cse): common subexpressions inside common subexpressions were not being eliminated
2017-01-09 11:11:55 -08:00
Leonardo de Moura
694bb5c7b8
feat(library/tactic/smt/ematch): skeleton for AC support
2017-01-08 23:53:57 -08:00
Leonardo de Moura
0a6a09fb3a
fix(library/tactic/smt/hinst_lemmas): pattern normalization issue
2017-01-08 23:35:39 -08:00
Leonardo de Moura
5ba414700f
fix(library/tactic/smt/smt_state): canonize at intros
2017-01-08 19:31:04 -08:00
Leonardo de Moura
7ff91ec1ef
feat(library/defeq_canonizer): add trace.defeq_canonizer
2017-01-08 19:31:04 -08:00
Leonardo de Moura
26949db4f1
fix(library/tactic/smt/smt_state): remove auxiliary hypotheses added by the equation compiler
2017-01-08 10:36:38 -08:00
Leonardo de Moura
9d273d924f
fix(library/tactic/smt/congruence_closure): must check whether constructors have the same type or not
2017-01-08 00:36:57 -08:00
Leonardo de Moura
8a12c834ca
fix(library/tactic/smt/ematch): ematch should not use app_builder since its type_context is already in tmp_mode
2017-01-07 17:06:12 -08:00
Leonardo de Moura
de60233ef1
fix(library/tactic/smt/congruence_closure): subsingleton propagation was introducing non canonical instances
2017-01-07 16:16:36 -08:00
Leonardo de Moura
0c4c41ae54
feat(library/init/meta): produce nicer error message for overloaded simp/ematch lemma
2017-01-07 14:13:46 -08:00
Leonardo de Moura
8e315c61e3
fix(library/util): is_eq was returning true for partially applied terms
...
This commit also cleanups many of the is_* predicates
2017-01-07 13:35:53 -08:00
Leonardo de Moura
8069872861
fix(library/tactic/backward/backward_chaining): bug in back_chaining tactic
2017-01-07 11:19:03 -08:00
Leonardo de Moura
94f16d1e44
refactor(library/tactic): move defeq_canonizer::state to tactic_state
...
It was being stored in the environment before. This was very hackish,
and it was producing a series of unnecessary environment updates, and
thread local caches invalidations.
The new test tests/lean/run/heap.lean is 5x-6x faster after this commit.
2017-01-07 10:17:51 -08:00
Leonardo de Moura
da945e34de
perf(library/equations_compiler/util, library/local_context): preserve instance fingerprint and avoid flushing the cache
2017-01-07 00:17:09 -08:00