Commit graph

1874 commits

Author SHA1 Message Date
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
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
02fb2c9c8a feat(library/init): add 'guard' and helper typeclasses 2016-07-07 00:52:52 -07:00
Leonardo de Moura
ab4e1548f2 refactor(library/algebra/group): cleanup using Sebastian's new feature 2016-07-05 19:37:34 -07:00
Leonardo de Moura
9e1c4b5c99 feat(library/init/meta): add helper functions, improve contradiction tactic 2016-07-05 18:34:48 -07:00
Leonardo de Moura
7bbd43ba5e chore(library/init/meta/tactic): cleanup mk_eq_simp_ext 2016-07-04 17:32:16 -07:00
Daniel Selsam
ba756eec4b chore(library/meta/tactic): remove duplicate todo 2016-07-04 17:14:14 -07:00
Daniel Selsam
ac57795871 feat(init/meta/tactic): mk_eq_simp_ext helper 2016-07-04 17:13:41 -07:00
Leonardo de Moura
6526a48c50 feat(library/tactic/ac_tactics): add 'perm_ac' tactic
TODO: add macro to postpone proof generation
2016-07-03 23:09:25 +01:00
Leonardo de Moura
945faefd78 feat(library/tactic): add 'flat_assoc' tactic 2016-07-03 21:27:05 +01:00
Leonardo de Moura
97719a4c5f refactor(frontends/lean): disable '!' operator, and adjust standard library 2016-07-02 01:41:46 +01:00
Leonardo de Moura
5be11a5738 chore(library/init/meta/constructor_tactic): cleanup 2016-06-30 11:44:00 +01:00
Leonardo de Moura
75eab6471d fix(library/init/meta/relation_tactics): typo 2016-06-29 07:25:58 +01:00
Leonardo de Moura
3963fa7cad feat(library/init/meta/base_tactic): rename repeat ==> foreach, add new repeat 2016-06-29 07:20:05 +01:00
Leonardo de Moura
3b6b487e43 feat(library/init/meta/tactic): add 'focus', 'first', 'solve' and LCF-style AND_THEN tactical 2016-06-29 01:07:41 +01:00
Daniel Selsam
f273ccb077 feat(meta/lean/tactic): dsimp_at 2016-06-28 23:52:45 +01:00
Leonardo de Moura
f64db53751 refactor(library/init/meta/tactic): simplify 'simp' tactic 2016-06-28 17:51:22 +01:00
Leonardo de Moura
9d7a75d0e2 refactor(library/init): move option (inhabited, decidable_eq and monad) instances to init 2016-06-28 16:37:10 +01:00
Leonardo de Moura
f1986b57e9 feat(library/init/meta/tactic): 'revert' tactic returns the number of actually reverted hypothesis 2016-06-28 15:36:50 +01:00
Leonardo de Moura
48d6319c1c feat(library/init/meta/tactic): add 'when_tracing' tactical 2016-06-28 11:29:39 +01:00
Leonardo de Moura
dbeb0fec16 feat(library/init/meta): export reducible and semireducible to tactic namespace 2016-06-28 10:31:01 +01:00
Leonardo de Moura
d524ab013f refactor(library/init/meta): make sure 'transparency' is the first argument 2016-06-28 10:25:38 +01:00
Leonardo de Moura
4d32a8a4f8 feat(library/init/meta): add helper functions 2016-06-27 17:19:22 +01:00
Leonardo de Moura
d487a59c23 chore(library/init/meta/match_tactic): document match_pattern tactic 2016-06-27 14:49:32 +01:00
Leonardo de Moura
669f8fc9df feat(library/init/meta/tactic): make sure to_format ==> to_tactic_format has higher priority 2016-06-27 14:34:55 +01:00
Leonardo de Moura
afffd31a7b feat(library/tactic): add match_pattern tactic 2016-06-27 14:26:31 +01:00
Leonardo de Moura
dea0374055 feat(library/init/meta/tactic): add has_to_tactic_format instance for list 2016-06-27 14:06:18 +01:00
Leonardo de Moura
ea51e77b4b refactor(library): format concatentation as instance of has_append instead of has_add 2016-06-27 08:12:26 +01:00
Leonardo de Moura
9aa6ac62ec refactor(library): add has_append type class, string concatenation is now an instance of has_append instead of has_add 2016-06-27 08:04:47 +01:00
Leonardo de Moura
583a55c7c3 refactor(library): move 'none', 'some', 'tt', 'ff' to top-level 2016-06-25 12:39:19 -07:00
Leonardo de Moura
aa1dbccf26 chore(library/init/meta/injection_tactic): cleanup 2016-06-25 12:03:14 -07:00
Leonardo de Moura
9e60d553e0 feat(library/init/meta): add match_eq and match_heq 2016-06-25 08:07:48 -07:00
Daniel Selsam
e1bc0a68e6 refactor(simplifier): port skeleton to new tactic framework
Conflicts:
	library/init/meta/tactic.lean
	src/library/tactic/tactic_state.cpp
2016-06-24 15:20:40 -07:00
Leonardo de Moura
085c52938e feat(library/tactic/defeq_simplifier): add transparency parameter to defeq_simp 2016-06-24 13:31:32 -07:00
Leonardo de Moura
c8c23adb4d feat(library/abstract_expr): add abstract_eq 2016-06-23 15:17:25 -07:00
Leonardo de Moura
3974a72a73 feat(library/abstract_expr): add abstract_weight 2016-06-23 14:50:23 -07:00
Leonardo de Moura
facdf99e86 feat(library): add abstract_hash 2016-06-23 14:25:29 -07:00
Leonardo de Moura
94905a5511 feat(library/vm/vm_expr): add expr.hash 2016-06-23 12:45:31 -07:00
Leonardo de Moura
8e68b1b34f refactor(library/init/meta/tactic): merge trace, trace_fmt and trace_expr 2016-06-23 09:29:42 -07:00
Leonardo de Moura
affd9d4557 refactor(library/init/meta/base_tactic): merge fail and fail_fmt 2016-06-23 09:12:57 -07:00
Leonardo de Moura
8b53e8000a reactor(library/init/meta/congr_lemma): add core tactics for congr_lemmas 2016-06-22 19:34:32 -07:00
Leonardo de Moura
7c1d603cdb refactor(library/init/meta/fun_info): add core tactics for fun_info 2016-06-22 19:26:35 -07:00
Leonardo de Moura
120c48b1b2 feat(library/tactic): expose congr_lemmas
This commit also adds several helper code, and fixes bugs in congr_lemma.cpp
2016-06-22 19:17:08 -07:00
Leonardo de Moura
a29e1b76d3 refactor(library/tactic/revert_tactic): revert take a local instead of a name 2016-06-22 15:20:02 -07:00
Leonardo de Moura
38810ad4c1 refactor(library/tactic/subst_tactic): subst take a local instead of a name 2016-06-22 15:13:49 -07:00
Leonardo de Moura
6bda901093 refactor(library/tactic/clear_tactic): clear take a local instead of a name 2016-06-22 15:00:00 -07:00
Leonardo de Moura
f0ec88c1d3 refactor(library/init/meta): free_var ==> local_const
Use the same names used in the C++ version
2016-06-22 14:48:09 -07:00
Leonardo de Moura
1e005e185a feat(library/init/meta/tactic): more general trace_fmt 2016-06-22 14:14:33 -07:00