Commit graph

9217 commits

Author SHA1 Message Date
Leonardo de Moura
de0ae18dd1 feat(library/tactic/subst_tactic): add low-level subst tactic for internal use 2016-07-14 18:00:29 -04:00
Leonardo de Moura
d9fb21ecc8 feat(library/tactic/cases_tactic): clear auxiliary indices 2016-07-14 16:54:04 -04:00
Leonardo de Moura
95a103b98b feat(library/tactic/cases_tactic): use 'induction' tactic to implement easy case of 'cases' tactic 2016-07-14 16:04:27 -04:00
Leonardo de Moura
af9114d7c9 refactor(library/tactic/induction_tactic): low level induction tactic for internal use 2016-07-14 16:04:05 -04:00
Leonardo de Moura
d49ab7d220 feat(library/tactic/induction_tactic): new flavor of intron 2016-07-14 14:51:45 -04:00
Leonardo de Moura
04fe48539f feat(library/tactic/revert_tactic): low level version of 'revert' tactic 2016-07-14 14:42:56 -04:00
Leonardo de Moura
a5307a34bc feat(library/tactic): add 'cases' tactic skeleton 2016-07-12 14:05:03 -04:00
Leonardo de Moura
394995dff0 fix(library/local_context): missing 'const' 2016-07-12 13:41:42 -04:00
Leonardo de Moura
558b9153e2 chore(library/type_context): remove redundant method 2016-07-12 13:02:42 -04:00
Leonardo de Moura
5f2591b3a3 feat(library/init/meta/backward): expose back_lemmas (index)
Motivation: the user can create the index once and use it many times.
2016-07-10 17:11:24 -07:00
Leonardo de Moura
1c878468ce chore(library/tactic/backward/backward_chaining): fix style 2016-07-10 16:26:50 -07:00
Leonardo de Moura
e48fa15b71 feat(library/tactic/backward/backward_chaining): add 'pre_tactic' to backward_chaining_core 2016-07-10 16:11:13 -07:00
Leonardo de Moura
20de45e9d1 chore(library/blast/backward): remove dead code 2016-07-10 13:50:51 -07:00
Leonardo de Moura
7c8d0f444f feat(library/tactic/backward): finish backward chaining tactic 2016-07-10 13:49:28 -07:00
Leonardo de Moura
af9c7148b3 feat(library/tactic/backward): add backward_chaining skeleton tactic 2016-07-10 11:45:25 -07:00
Leonardo de Moura
bc9a0701f8 refactor(library/tactic/apply_tactic): expose 'apply' tactic for internal use 2016-07-10 10:41:02 -07:00
Leonardo de Moura
f79e46a8a0 fix(frontends/lean/old_elaborator): remove "old" [intro] 2016-07-10 10:39:34 -07:00
Leonardo de Moura
df113de725 fix(library/congr_lemma): compilation error in debug mode 2016-07-10 10:37:27 -07:00
Leonardo de Moura
2ae516ebe0 refactor(library): move backward lemmas to tactic 2016-07-10 10:17:56 -07:00
Leonardo de Moura
142f7da03c refactor(library): move gexpr to tactic folder 2016-07-10 09:21:05 -07:00
Leonardo de Moura
aacd812cc8 feat(library/init/meta/tactic): add 'by_contradiction' tactic 2016-07-09 19:14:36 -07:00
Leonardo de Moura
f81daab596 feat(library/init): add 'has_andthen' type class, and ';' notation 2016-07-09 18:39:27 -07:00
Leonardo de Moura
6b30b89c89 feat(library/init/meta/tactic): add 'simp_at' tactics 2016-07-09 17:23:45 -07:00
Leonardo de Moura
26bc1602a7 refactor(library): move 'filter' to init folder 2016-07-09 17:23:28 -07:00
Leonardo de Moura
69cc58dbda fix(library/tactic/clear_tactic): fail if hypothesis has dependecies 2016-07-09 17:19:49 -07:00
Leonardo de Moura
d5a648a12a feat(library/init/meta/tactic): add 'simp_using' and 'simp_using_hs', add 'try triv' after 'simp' 2016-07-09 16:37:55 -07:00
Leonardo de Moura
021347b757 chore(library/init/reserved_notation): add <= and >= 2016-07-09 14:03:05 -07:00
Daniel Selsam
010c81f8aa chore(simplifier): remove duplicate include statement 2016-07-09 10:15:07 -07:00
Daniel Selsam
0742b65183 fix(library/metavar_context): comment out problematic assertion 2016-07-09 10:14:45 -07:00
Daniel Selsam
237ff5dbf6 fix(simplifier): need scope_trace_env when pp-ing exprs with tmp-metavariables
Conflicts:
	src/library/tactic/simplifier/simplifier.cpp
2016-07-09 10:14:20 -07:00
Daniel Selsam
ea19bb40dd feat(simplifier): detect refl proofs from simp extensions 2016-07-09 10:11:58 -07:00
Daniel Selsam
a354973fee chore(simplifier): remove old TODO 2016-07-09 10:11:45 -07:00
Daniel Selsam
10773760bc fix(simplifier): need to instantiate mvars in results from simp extensions 2016-07-09 10:11:12 -07:00
Daniel Selsam
c3d44249bc feat(simplifier): take list of lemmas and tactic as args to simplify 2016-07-09 10:10:59 -07:00
Leonardo de Moura
c49f51dccc perf(library/tactic/simplifier/simplifier): minimize number of check_system invocations 2016-07-08 21:53:33 -07:00
Leonardo de Moura
ec4cd87172 perf(library/tactic/simplifier/simplifier): avoid instantiate, use 'for' instead of 'for_each' 2016-07-08 21:38:16 -07:00
Leonardo de Moura
8a24f06054 chore(library/type_context): remove dead code 2016-07-08 18:24:22 -07:00
Leonardo de Moura
1f71bc9798 feat(library/type_context): simplify on_is_def_eq_failure 2016-07-08 18:06:27 -07:00
Leonardo de Moura
519f47c9a7 fix(library/type_context): ignore assigned variables 2016-07-08 16:50:25 -07:00
Leonardo de Moura
e3df5e83b9 feat(library/type_context): cache on_is_def_eq_failure 2016-07-08 16:42:46 -07:00
Leonardo de Moura
ce9be907d9 perf(library/type_context): cache result of is_aux_recursor predicate 2016-07-08 09:25:45 -07:00
Leonardo de Moura
1ae6ce3f9c perf(library/type_context): use expr_struct_map for whnf_cache 2016-07-08 09:21:30 -07:00
Leonardo de Moura
f34e84dacb feat(frontends/lean/parser): cute binders 2016-07-08 07:50:58 -07:00
Leonardo de Moura
862b535c80 perf(library/type_context): cache whnf 2016-07-07 22:20:49 -07:00
Leonardo de Moura
d900a1b156 feat(library/type_context): faster find_unsynth_metavar
10% performance improvement on
../../tests/lean/perf/perm_ac_commring_50.lean
2016-07-07 07:39:26 -07:00
Leonardo de Moura
9565a464ea chore(tests/lean): fix tests 2016-07-07 07:39:26 -07:00
Leonardo de Moura
257252e831 chore(library): fix and cleanup 'import' commands 2016-07-07 07:39:26 -07:00
Leonardo de Moura
dce8776cfd refactor(library/fun_info): separate subsingleton information from general param_info 2016-07-07 07:39:26 -07:00
Leonardo de Moura
441c0d7434 fix(library/init/meta/fun_info): typo 2016-07-07 07:39:25 -07:00
Leonardo de Moura
9fb3e0d1e1 feat(library/type_context): use equiv_manager 2016-07-07 07:39:25 -07:00