Commit graph

13774 commits

Author SHA1 Message Date
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
Leonardo de Moura
b3c725c142 perf(library/equations_compiler/util): lemma generation performance when ite is used to compile equations 2016-11-23 15:48:12 -08:00
Leonardo de Moura
b75e8b99f5 fix(library/equations_compiler/structural_rec): missing case: reflexive inductive type eliminating into Prop
see #1199
2016-11-23 13:56:01 -08:00
Leonardo de Moura
21bad7cb97 feat(library/init/meta/comp_value_tactics): add support for char/string/fin at comp_val tactic 2016-11-23 13:19:54 -08:00
Leonardo de Moura
98fbe76f30 feat(library/comp_val): add mk_string_val_ne_proof 2016-11-23 13:19:24 -08:00
Leonardo de Moura
ffe9b3c5d6 fix(frontends/lean/pp): char literals 2016-11-23 11:58:11 -08:00
Leonardo de Moura
01bc4dfcd2 feat(library/init/meta/tactic): add dec_trivial notation 2016-11-23 11:42:57 -08:00
Leonardo de Moura
6f0d8cb258 refactor(library/init/string): do not mark string as reducible 2016-11-23 11:28:20 -08:00
Leonardo de Moura
11ef0b14fd feat(library/data): add decidable_eq instances for bitvec and tuple 2016-11-23 11:09:24 -08:00
Leonardo de Moura
0d2d595c31 chore(library/init): remove unnecessary space 2016-11-23 10:53:19 -08:00
Leonardo de Moura
680bab8bb8 feat(library/comp_val): add mk_fin_val_ne_proof and mk_char_val_ne_proof 2016-11-23 10:25:04 -08:00
Leonardo de Moura
edaf03ae98 feat(library/init): add more lemmas and define ordered_ring 2016-11-22 20:50:21 -08:00
Leonardo de Moura
8966146a3d fix(library/init): list of authors 2016-11-22 19:03:16 -08:00
Leonardo de Moura
242ad1bd65 feat(library/init/meta/comp_value_tactics): add comp_val tactic for testing 2016-11-22 17:03:21 -08:00
Leonardo de Moura
357b9adefc chore(library/comp_val): remove unnecessary branches 2016-11-22 16:59:49 -08:00
Leonardo de Moura
79000e9c50 fix(library/init/nat_lemmas): missing theorem used by comp_val.cpp 2016-11-22 16:59:31 -08:00
Leonardo de Moura
d3d10edbf0 fix(library/comp_val): missing case 2016-11-22 16:50:11 -08:00
Leonardo de Moura
1ebc37f513 fix(library/comp_val): missing return value 2016-11-22 16:43:35 -08:00