Commit graph

7540 commits

Author SHA1 Message Date
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
97dd2f34d5 feat(library,frontends/lean): add basic doc string support 2016-11-25 18:52:56 -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
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
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
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
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
Leonardo de Moura
f4b1413cee feat(library/comp_val): add mk_nat_val_lt_proof and mk_nat_val_le_proof 2016-11-22 15:14:10 -08:00
Leonardo de Moura
62d6b88570 fix(library/compiler/preprocess): make sure let-expressions are not expanded in the compiler preprocessor 2016-11-22 10:24:13 -08:00
Leonardo de Moura
31e159b80c fix(library/vm/vm): bug at add_native 2016-11-21 16:58:22 -08:00
Leonardo de Moura
ac4cd3d733 feat(library/tactic/rewrite_tactic): disable pp.beta at rewrite error msg 2016-11-21 15:58:11 -08:00
Leonardo de Moura
9d52b6607d feat(library/tactic): use annotated_head_beta_reduce instead of head_beta_reduce in tactics 2016-11-21 15:40:12 -08:00
Leonardo de Moura
e17b3df16a fix(frontends/lean/elaborator): bad error message 2016-11-21 12:18:31 -08:00
Leonardo de Moura
227e16ea6b feat(library): add mk_nat_val_ne_proof
Procedure for building an efficient disequality proof for natural
number values encoded in binary.
2016-11-19 17:02:48 -08:00
Leonardo de Moura
ed2a507dd9 fix(frontends/lean/tactic_notation): assertion violation 2016-11-18 17:39:25 -08:00
Leonardo de Moura
f02de7e380 feat(frontends/lean/builtin_exprs): curly braces after show/have enter interactive mode 2016-11-18 17:00:08 -08:00
Leonardo de Moura
88d2f07567 feat(frontends/lean/tactic_notation): switch to proof-term mode when calc/suppose/assume/have/show occurs in a tactic block 2016-11-18 16:57:31 -08:00
Leonardo de Moura
2844df2279 feat(library/init/meta/tactic): add tactic.opened_namespaces 2016-11-18 14:25:54 -08:00
Leonardo de Moura
6d06f8bf29 feat(library/init/meta/name): add name.append 2016-11-18 14:25:30 -08:00
Leonardo de Moura
d59bf05f20 feat(frontends/lean/scanner): allow ' in the beginning of identifiers 2016-11-17 11:53:21 -08:00
Leonardo de Moura
b7a4f305d4 chore(emacs/lean-input): add shortcuts for alpha, beta and gamma 2016-11-17 11:46:26 -08:00
Leonardo de Moura
dfd2a23cd4 feat(frontends/lean): use #"c" instead of 'c' for character literals
The new notation is the same one used in Standard ML.
It will also allow us to use ' in the beginning of identifiers like Standard ML.
2016-11-17 11:35:54 -08:00
Leonardo de Moura
e16e9880f7 chore(library/system): enforce Lean naming conventions IO ==> io 2016-11-17 11:27:37 -08:00
Leonardo de Moura
761950bc3b chore(library/tactic/vm_monitor): remove "leftovers" 2016-11-16 14:23:55 -08:00
Leonardo de Moura
91c8ff746f feat(cli_debugger): add commands for traversing stack frames 2016-11-16 12:37:18 -08:00
Leonardo de Moura
b8e904094c feat(cli_debugger): add breakpoints 2016-11-16 10:05:36 -08:00
Leonardo de Moura
8068f3e80a feat(library/tactic/vm_monitor): add vm.get_env action 2016-11-16 09:09:25 -08:00
Leonardo de Moura
b0d6d171be feat(library/tactic/vm_monitor): add basic io support for VM monad 2016-11-15 18:42:14 -08:00
Leonardo de Moura
3628870121 feat(library/tactic/vm_monitor): extend VM introspection API 2016-11-15 15:05:46 -08:00
Leonardo de Moura
ba3303163d fix(library/vm/vm_nat): nat.has_decidable_eq has been renamed 2016-11-15 14:41:04 -08:00
Leonardo de Moura
d5aa92eaeb feat(library/tactic/tactic_state): add vm_obj introspection 2016-11-14 21:58:34 -08:00
Leonardo de Moura
82aade5185 feat(library/tactic/vm_monitor): add vm_decl introspection 2016-11-14 18:04:53 -08:00
Leonardo de Moura
f7fd8e4384 chore(library/tactic/vm_monitor): fix style 2016-11-14 17:33:56 -08:00
Leonardo de Moura
277ff818a1 feat(library/tactic/vm_monitor): add VM introspection API 2016-11-14 17:25:25 -08:00
Leonardo de Moura
8d64376797 chore(library/type_context): add more trace messages 2016-11-14 16:24:54 -08:00
Leonardo de Moura
fffe69fdf9 feat(library/vm,library/tactic/vm_monitor): use optionT to define vm monad 2016-11-14 16:13:56 -08:00
Leonardo de Moura
7232e3a076 feat(library/vm/vm): invoke debugger (aka vm_monitor) 2016-11-14 14:45:49 -08:00
Leonardo de Moura
7114326b9f fix(util/realpath): malloc/free mismatch
see #1190
2016-11-14 09:42:40 -08:00
Leonardo de Moura
5f55a7c0e1 fix(library/inductive_compiler/util): allow untrusted/meta declarations when checking intermediate steps
We need that when declaring meta inductive types with nested inductives.
2016-11-13 12:32:49 -08:00
Leonardo de Moura
a7344671e1 feat(library/vm/vm): add stack_info 2016-11-13 12:20:02 -08:00
Leonardo de Moura
381b2edaf7 feat(library/vm/vm): store .olean file name at vm_decl's 2016-11-11 16:19:19 -08:00