Commit graph

11891 commits

Author SHA1 Message Date
Gabriel Ebner
14f8093181 chore(tests/lean): get tests working again 2016-11-29 11:12:44 -08:00
Gabriel Ebner
df635b56af fix(frontends/lean/definition_cmds): correctly copy _refl_lemma attributes 2016-11-29 11:12:44 -08:00
Gabriel Ebner
f756e9ed92 fix(shell/lean): set global ios 2016-11-29 11:12:44 -08:00
Gabriel Ebner
d8ee8d6ea7 fix(tests/util/exception): adapt to changed superclass of interrupted 2016-11-29 11:12:44 -08:00
Gabriel Ebner
3ecfddcbd5 fix(*): fix build 2016-11-29 11:12:43 -08:00
Gabriel Ebner
7ff2a77d67 feat(library/vm/vm_task): expose task_result objects to VM 2016-11-29 11:12:43 -08:00
Gabriel Ebner
e448e4e129 refactor(util/task_queue): merge module_task into task and cancel by position 2016-11-29 11:12:43 -08:00
Gabriel Ebner
aa03dc03b4 refactor(library/tactic/simp_lemmas): mark rfl-lemmas with a _refl_lemma attribute 2016-11-29 11:12:43 -08:00
Gabriel Ebner
b668844afe chore(*): fix style errors 2016-11-29 11:12:43 -08:00
Gabriel Ebner
e1cb1a8cd2 feat(util/task_queue,library/versioned_msg_buf): rudimentary support for task interruption 2016-11-29 11:12:43 -08:00
Gabriel Ebner
f69164d621 fix(library/aux_definition): type-check auxiliary definitions immediately 2016-11-29 11:12:43 -08:00
Gabriel Ebner
56f895d6d8 feat(kernel/type_checker): option to disable delayed proof-checking 2016-11-29 11:12:43 -08:00
Gabriel Ebner
26b0138771 refactor(kernel/type_checker): factor out part for definition checking 2016-11-29 11:12:43 -08:00
Gabriel Ebner
4ace7a6328 fix(kernel/type_checker): do not wait for proof 2016-11-29 11:12:43 -08:00
Gabriel Ebner
3a06a9c15e feat(util/task_queue): make task_result accesses lock-free 2016-11-29 11:12:43 -08:00
Leonardo de Moura
78608a37e9 fix(frontends/lean/definition_cmds): implicit universe theorem parameters bug
See discussion at #1178
2016-11-29 11:12:43 -08:00
Leonardo de Moura
0b2867d939 fix(shell/server): gcc compilation error 2016-11-29 11:12:43 -08:00
Gabriel Ebner
7d6e71aa59 fix(frontend/lean/print_cmd): make print work with incorrect proofs 2016-11-29 11:12:43 -08:00
Gabriel Ebner
b6a866addf fix(kernel/type_checker): fix dangling reference that lead to segfault 2016-11-29 11:12:43 -08:00
Gabriel Ebner
b5113976aa fix(util/mt_task_queue): fix segfault 2016-11-29 11:12:43 -08:00
Gabriel Ebner
385ea13688 feat(kernel/declaration,*): all theorems are delayed, and are revealed on delta-reduction 2016-11-29 11:12:43 -08:00
Gabriel Ebner
339ade623d chore(shell/lean): clean up command-line arguments 2016-11-29 11:12:43 -08:00
Gabriel Ebner
a8df381d20 feat(*): parallel compilation 2016-11-29 11:12:40 -08:00
Leonardo de Moura
bd70e29926 chore(shell/leandoc): fix style 2016-11-29 10:38:22 -08:00
Leonardo de Moura
398af80584 feat(shell/leandoc): add support for "brief" description
This feature is similar to the one available in doxygen.
2016-11-27 21:42:05 -08:00
Leonardo de Moura
c3424f4058 chore(library/documentation): remove leftover 2016-11-27 20:52:24 -08:00
Leonardo de Moura
5fe0068301 feat(shell/lean): error if leandoc is used with smt2 files 2016-11-27 20:40:17 -08:00
Leonardo de Moura
fcef94200f feat(library/documentation): add lean suffix to code blocks 2016-11-27 19:08:35 -08:00
Leonardo de Moura
002c62b49c feat(frontends/lean): basic leandoc tool 2016-11-27 14:31:31 -08:00
Leonardo de Moura
94c882f4d5 feat(library/documentation, frontends/lean): add /-! -/ doc string module block 2016-11-27 12:23:53 -08:00
Leonardo de Moura
6978906a78 chore(frontends/lean): remove namespace documentation
We will add module level doc strings /-! -/
2016-11-27 11:57:03 -08:00
Leonardo de Moura
5daf1986e7 feat(library/init/nat): add nat.zero = zero (rfl) lemma 2016-11-26 10:54:28 -08:00
Leonardo de Moura
abc84452bc fix(library/init/group): add group lemmas and use transport 2016-11-26 10:46:02 -08:00
Leonardo de Moura
338a46c225 fix(library/documentation): do not store doc strings for namespaces and declarations in the same name_map 2016-11-26 09:41:07 -08:00
Leonardo de Moura
b38810ffc3 feat(library/documentation): postprocess doc strings 2016-11-26 09:18:38 -08:00
Leonardo de Moura
ef34ab0148 feat(library/init): add lemmas for norm_num 2016-11-25 19:11:07 -08:00
Leonardo de Moura
4a31d541c9 feat(library/init/ring): add comm_ring, integral_domain 2016-11-25 18:53:03 -08:00
Leonardo de Moura
e9f8f9e5d7 refactor(library/nat): rename nat.le to nat.less_than
Motivation: avoid overload when we use `open nat`.

Unfortunately, we currently do not allow users to mark inductive datatype
declarations as protected.
2016-11-25 18:53:03 -08:00
Leonardo de Moura
efa760fc74 feat(library/init/nat_lemmas): add extra instances for short circuiting type class resolution 2016-11-25 18:53:03 -08:00
Leonardo de Moura
97dd2f34d5 feat(library,frontends/lean): add basic doc string support 2016-11-25 18:52:56 -08:00
Leonardo de Moura
a009541b6e test(tests/lean/run): add test for issue #1089
See #1089
2016-11-24 14:51:45 -08:00
Leonardo de Moura
4d36effe85 feat(library/init/ordered_ring): add linear_ordered_ring 2016-11-24 14:34:49 -08:00
Leonardo de Moura
baed136148 feat(library/init/ordered_ring): add ordered_ring -> ordered_semiring instance 2016-11-24 14:30:28 -08:00
Leonardo de Moura
2135d49957 feat(library/init/ordered_group): add more aux lemmas 2016-11-24 14:23:00 -08:00
Leonardo de Moura
25639f0b72 feat(library/init/meta): add 'pose' tactic 2016-11-24 13:48:16 -08:00
Leonardo de Moura
50f350f832 feat(library/init/ring): add ring -> semiring instance 2016-11-24 12:27:50 -08:00
Leonardo de Moura
0554fd5997 fix(frontends/lean): name resolution at tactic execution time
This commit also adds a new tactic: tactic.resolve_name

closes #1201
2016-11-24 10:55:39 -08:00
Leonardo de Moura
a4f491a3ad feat(library/init/meta/interactive): add rename tactic to interactive mode 2016-11-24 09:54:55 -08:00
Leonardo de Moura
701fa0d1f4 fix(frontends/lean/builtin_cmds): make sure declarations generated by run_command get line/col info 2016-11-24 09:21:49 -08:00
Leonardo de Moura
3b09865684 feat(library/init/meta/simp_tactic): add tactics for validating simp lemmas 2016-11-23 17:43:55 -08:00