Commit graph

12204 commits

Author SHA1 Message Date
Sebastian Ullrich
27c1d2f4fb fix(init/meta/interactive): simp: accept local refs as simp names 2017-05-14 19:19:22 -07:00
Sebastian Ullrich
14425bd2d3 fix(frontends/lean/decl_util): double-elaboration of include params 2017-05-14 19:19:22 -07:00
Sebastian Ullrich
818c041922 fix(frontends/lean/scanner): skip_to_pos was skipping bytes instead of chars 2017-05-14 19:19:22 -07:00
Sebastian Ullrich
eb60df4409 fix(init/meta/interactive): case didn't find some cases 2017-05-14 19:19:22 -07:00
Sebastian Ullrich
808ab73d93 refactor(init): use list for expr.macro args 2017-05-14 19:17:28 -07:00
Sebastian Ullrich
42eb0c680e feat(kernel/inductive,library/inductive_compiler): do not enforce positivity rule on meta inductives 2017-05-14 19:17:28 -07:00
Gabriel Ebner
85673cdd8d fix(frontends/lean/definition_cmds): examples in noncomputable theories 2017-05-13 09:04:07 +02:00
Sebastian Ullrich
171a96a8de refactor(library): remove all instances of `(...) 2017-05-12 19:13:48 +02:00
Gabriel Ebner
b3975c8fc1 chore(library/vm/vm_expr): fix compiler warning 2017-05-11 11:04:11 +02:00
Sebastian Ullrich
4b21b13649 refactor(init): replace has_quote class with reflected 2017-05-09 16:02:42 -07:00
Sebastian Ullrich
ead6318ee0 feat(frontends/lean/elaborator): substitute reflected locals into expr quotes 2017-05-09 16:02:41 -07:00
Sebastian Ullrich
8c0394b294 refactor(library,frontends/lean): separate expr and pexpr macros 2017-05-09 16:02:41 -07:00
Sebastian Ullrich
2825c5fbcc feat(frontends/lean/elaborator): elaborate ``(e) to type reflected e` if possible and add coercion reflected -> expr 2017-05-09 16:02:41 -07:00
Sebastian Ullrich
85cf1b7075 chore(bin/lean-gdb): pretty-print lean::optional 2017-05-09 16:02:41 -07:00
Sebastian Ullrich
aa601d3e51 chore(tests): move tests to correct dir 2017-05-09 16:02:41 -07:00
Leonardo de Moura
3f5bbfa0cf fix(library/parray): missing lock 2017-05-09 13:57:28 -07:00
Leonardo de Moura
a3679a43a1 fix(library/parray): unique_lock ==> lock_guard 2017-05-09 13:57:28 -07:00
Leonardo de Moura
0ef0a7f466 chore(library/parray): more assertions 2017-05-09 13:57:28 -07:00
Leonardo de Moura
8802f7cd19 chore(library/phashtable): unnecessary/incorrect annotations 2017-05-09 13:57:28 -07:00
Leonardo de Moura
00887ba3ec chore(library/parray): more assertions 2017-05-09 13:57:28 -07:00
Leonardo de Moura
2ddd413bef fix(library/parray): reroot split optimization is incorrect when ThreadSafe == true 2017-05-09 13:57:28 -07:00
Leonardo de Moura
970529a8e9 fix(library/parray): copy method must create a copy of the mutex too (when ThreadSafe == true) 2017-05-09 13:57:28 -07:00
Leonardo de Moura
afadf2b1e1 feat(library/phash_map): add name_hash_map 2017-05-09 13:57:28 -07:00
Leonardo de Moura
bea122bb22 fix(library/phash_map,library/phashtable): missing const and operator 2017-05-09 13:57:28 -07:00
Gabriel Ebner
d2b6b3f573 fix(frontends/lean/elaborator): fix segfault 2017-05-09 18:06:25 +02:00
Gabriel Ebner
8f7608433a fix(leanpkg,CMakeLists): fix installation 2017-05-09 17:17:10 +02:00
Joe Hendrix
216d619d90 chore(library/init/data/nat): Remove [simp] from nat.pow_succ 2017-05-08 10:15:43 -07:00
Gabriel Ebner
b536df3596 feat(library/type_context): add option to unfold lemmas 2017-05-08 10:14:47 -07:00
Gabriel Ebner
37bde20d07 chore(leanpkg): add readme 2017-05-08 15:28:45 +02:00
Gabriel Ebner
b4c73e562e fix(library/vm/vm_io): use correct memory layout for io.environment 2017-05-08 15:07:48 +02:00
Gabriel Ebner
40bf75cbff fix(library/equations_compiler/structural_rec): fix indices 2017-05-07 15:52:39 +02:00
Gabriel Ebner
02c744941e fix(util/lean_path): do not crash if HOME is not set 2017-05-07 13:29:29 +02:00
Leonardo de Moura
d21945fa86 feat(library/phash_map): add persistent hash_map based on phashtable 2017-05-05 12:36:13 -07:00
Leonardo de Moura
dcfef317f3 chore(leanpkg/leanpkg/main): performance problem is gone
It now takes extra 250ms to prove the equational lemmas.
I think it is reasonable.
2017-05-05 11:19:45 -07:00
Gabriel Ebner
4b22e2309c refactor(system/io): use spawn_args structure in all process functions 2017-05-04 16:41:11 -07:00
Gabriel Ebner
f0d22ed3e5 feat(library/process,system/io): set environment variables for spawned processes 2017-05-04 16:41:11 -07:00
Gabriel Ebner
c4aef89296 feat(system/io): add finally combinator 2017-05-04 16:41:11 -07:00
Gabriel Ebner
1b8533130b feat(system/io): add function to get environment variables 2017-05-04 16:41:11 -07:00
Daniel Selsam
b7d20a333f chore(src/library/constants): rm unused constants 2017-05-04 16:34:32 -07:00
Daniel Selsam
d727abeefc chore(library/inductive_compiler/nested.cpp): prove all theorems in C++ 2017-05-04 16:34:32 -07:00
Leonardo de Moura
4c9247d220 test(tests/library/phashtable): another perf test 2017-05-04 16:29:19 -07:00
Leonardo de Moura
9d5dacd554 test(tests/library/phashtable): add tests 2017-05-04 16:18:03 -07:00
Leonardo de Moura
bdf4d69702 feat(library): add persistent hashtable based on parray 2017-05-04 15:35:25 -07:00
Leonardo de Moura
39165ad66b feat(library/parray): add helper methods and exclusive_access helper class 2017-05-04 15:35:14 -07:00
Leonardo de Moura
ae96ebf6ee feat(library/parray): split "long" delta paths 2017-05-03 16:07:49 -07:00
Leonardo de Moura
90e434f78c refactor(library/parray): minor refactoring 2017-05-03 13:44:42 -07:00
Sebastian Ullrich
ad4f8cec73 chore(tests): forgot to commit test 2017-05-03 13:27:35 -07:00
Sebastian Ullrich
3c525bef6a fix(frontends/lean/pp): parenthesize Type u where necessary 2017-05-03 13:27:35 -07:00
Sebastian Ullrich
7eb04f0d44 fix(frontends/lean/elaborator): instantiate mvars in [reflected a] params
Fixes #1562
2017-05-03 13:27:35 -07:00
Sebastian Ullrich
b37b1fb7c6 refactor(library/type_context,frontends/lean/elaborator): move reflected code back into elaborator
Since we do not want recursive special handling of `reflected`, this seems to be
the simpler design.
2017-05-03 13:27:35 -07:00