Commit graph

9289 commits

Author SHA1 Message Date
Leonardo de Moura
39b93f3776 refactor(library/init/functor): better signature 2016-07-22 16:43:54 -07:00
Leonardo de Moura
2bcd5c8379 feat(library/init): add state monad and stateT monad transformer 2016-07-22 15:42:29 -07:00
Leonardo de Moura
62e6179106 feat(library/init/option): show that optionT is an instance of alternative 2016-07-22 15:39:03 -07:00
Leonardo de Moura
9aebb168a3 chore(library/init/option): remove bad comment 2016-07-22 11:36:33 -07:00
Leonardo de Moura
eb526be99f chore(tests/lean): adjust tests 2016-07-22 11:34:58 -07:00
Leonardo de Moura
989e20a5d3 feat(library/init/option): add optionT monad transformer 2016-07-22 11:34:04 -07:00
Leonardo de Moura
599916c352 fix(frontends/lean/builtin_exprs): position information 2016-07-22 11:22:37 -07:00
Leonardo de Moura
efedc3f0c5 chore(library/definitional/equations): remove recursive from error messages 2016-07-22 11:14:57 -07:00
Leonardo de Moura
9721757d87 fix(frontends/lean/builtin_exprs): position information when parsing do-notation 2016-07-22 11:14:33 -07:00
Leonardo de Moura
fa04e5f36f refactor(library/init/meta): move set/get option tactics to separate file 2016-07-21 17:10:38 -07:00
Leonardo de Moura
ada260309e refactor(library/init/meta): move defeq simplifier related tactics to separate file 2016-07-21 17:07:09 -07:00
Leonardo de Moura
d70bf2f04e refactor(library/init/meta): move simplifier related tactics to separate file 2016-07-21 17:03:19 -07:00
Leonardo de Moura
1b55507971 refactor(library/init/meta): rename C++ intro to intro_core, and define smarter intro in C++ 2016-07-21 16:54:23 -07:00
Leonardo de Moura
90eb79a295 feat(library/init/meta): add mk_inhabited_instance tactic 2016-07-20 21:01:50 -04:00
Leonardo de Moura
9beacebf33 doc(library/init/meta/mk_dec_eq_instance): missing documentation 2016-07-20 20:30:02 -04:00
Leonardo de Moura
0163c1aa5b feat(library/init): use mk_dec_eq_instance in the init folder
We cannot mk_dec_eq_instance everywhere in the init folder because some
dec_eq instances are used to define the tactic mk_dec_eq_instance.
2016-07-20 20:21:58 -04:00
Leonardo de Moura
40b3410ede feat(library/init/meta): add tactic mk_dec_eq_instance 2016-07-20 19:57:12 -04:00
Leonardo de Moura
a50cbf07ab fix(library/app_builder): do not try to instantiate type class instances that have been explicitly provided 2016-07-20 19:42:21 -04:00
Leonardo de Moura
31e0d9d183 fix(library/type_context): local instances were not being initialized 2016-07-20 19:41:45 -04:00
Leonardo de Moura
2580b40dc1 feat(library/init/meta/tactic): add helper tactic whnf_target 2016-07-20 19:29:22 -04:00
Leonardo de Moura
f0f927919d feat(library/init/meta/expr): add get_app_args 2016-07-20 19:28:36 -04:00
Leonardo de Moura
7f0b4b4573 feat(library/init/meta/environment): add is_recursive API 2016-07-20 19:27:43 -04:00
Leonardo de Moura
cda29ea107 fix(library/tactic/cases_tactic): incorrect mk_app 2016-07-20 09:32:12 -04:00
Leonardo de Moura
a66a1df3b0 feat(library/data/map): add map type and test new tactics 2016-07-20 00:09:17 -04:00
Leonardo de Moura
f576573466 fix(library/tactic/unfold_tactic): crash 2016-07-20 00:08:38 -04:00
Leonardo de Moura
4c3c2d6236 fix(library/tactic/rewrite_tactic): instantiate mvars in the type 2016-07-19 21:59:09 -04:00
Leonardo de Moura
3dccaa8e39 feat(library/init/string): add utf8_length 2016-07-19 14:22:37 -04:00
Leonardo de Moura
d8e6915366 fix(frontends/lean/builtin_cmds): fail if expression contain metavars 2016-07-19 13:22:10 -04:00
Leonardo de Moura
59ff0eef5c feat(frontends/lean/scanner): hexadecimal numerals 2016-07-19 13:04:27 -04:00
Leonardo de Moura
492c90ed1d feat(frontends/lean/scanner): hex scape in character literal 2016-07-19 12:38:20 -04:00
Leonardo de Moura
ed73dafa48 chore(library/tactic/unfold_tactic): fix style 2016-07-18 20:20:54 -04:00
Leonardo de Moura
ceba74f24e feat(library/tactic/unfold_tactic): improve fold failure detection 2016-07-18 20:17:40 -04:00
Leonardo de Moura
ff712dd78d test(tests/lean/run/unfold_crash): add Jared's repro 2016-07-18 20:00:30 -04:00
Leonardo de Moura
16ab639f56 fix(library/tactic/unfold_crash): crash when constant is not a definition 2016-07-18 19:59:17 -04:00
Leonardo de Moura
7597952bad fix(library/tactic/unfold_tactic): should use type_context locals 2016-07-18 19:08:31 -04:00
Leonardo de Moura
ff59fc39b9 fix(library/data/list/basic): broken proof 2016-07-18 18:48:25 -04:00
Leonardo de Moura
5a96237989 refactor(library/data/list): move dropn to init 2016-07-18 18:14:21 -04:00
Leonardo de Moura
a0bd27a91c chore(library/old_tactic/tactic): remove dead code 2016-07-18 16:05:30 -04:00
Leonardo de Moura
0d8213cf92 feat(library/tactic): add unfold tactic 2016-07-18 15:46:56 -04:00
Leonardo de Moura
98867d4ec0 feat(library/tactic/intro_tactic): use head_beta_reduce 2016-07-18 15:14:01 -04:00
Leonardo de Moura
dcd12cfe96 chore(library/old_tactic/tactic): remove dead code 2016-07-18 14:12:23 -04:00
Leonardo de Moura
3218f91e35 feat(frontends/lean): add support for character literals 2016-07-18 14:07:10 -04:00
Leonardo de Moura
a20abd61e8 feat(library/tactic): implement rewrite and kabstract using occurrences object 2016-07-18 10:10:37 -04:00
Leonardo de Moura
579f643d1d refactor(library): move kabstract to tactic folder 2016-07-18 09:57:02 -04:00
Leonardo de Moura
3e6b4577e2 feat(library/tactic): add occurrences object 2016-07-18 09:49:49 -04:00
Leonardo de Moura
7ffcee0cb8 fix(library/type_context): bug at complete_instance 2016-07-17 18:31:04 -04:00
Leonardo de Moura
1ae6ec2ce2 fix(tests/lean/rewrite1): add repeat 2016-07-17 18:19:42 -04:00
Leonardo de Moura
762104ef33 chore(library/old_tactic/tactic/rewrite_tactic): remove dead code 2016-07-17 16:11:18 -04:00
Leonardo de Moura
7f0276f592 feat(library/tactic): add 'rewrite' tactic and variants 2016-07-17 16:08:11 -04:00
Leonardo de Moura
b505bce801 feat(library/type_context): put on_is_def_eq_failure back 2016-07-17 15:52:36 -04:00