Leonardo de Moura
|
dbbe070060
|
feat(library/tactic): add 'induction' tactic
|
2016-07-05 19:13:23 -07:00 |
|
Leonardo de Moura
|
0e06942d49
|
chore(tests/lean/run/simp_ext1): cleanup
|
2016-07-04 17:34:47 -07:00 |
|
Leonardo de Moura
|
7bbd43ba5e
|
chore(library/init/meta/tactic): cleanup mk_eq_simp_ext
|
2016-07-04 17:32:16 -07:00 |
|
Leonardo de Moura
|
f47bd06630
|
feat(library/tactic/simplifier): canonize instances
This is a cleanup of
10d23f0075
|
2016-07-04 17:23:16 -07:00 |
|
Daniel Selsam
|
ac57795871
|
feat(init/meta/tactic): mk_eq_simp_ext helper
|
2016-07-04 17:13:41 -07:00 |
|
Daniel Selsam
|
f8816e3ccb
|
feat(library/tactic/simplifier): basic simplifier extensions
|
2016-07-04 17:13:30 -07:00 |
|
Daniel Selsam
|
9c3b7ad979
|
feat(simplifier/simp_extensions): basic bookkeeping
|
2016-07-04 17:13:19 -07:00 |
|
Leonardo de Moura
|
e4b028c596
|
feat(library/app_builder): add efficient mk_congr_arg
mk_congr_arg was a bottleneck at perm_ac tactic.
New tests are 10x faster after this commit.
|
2016-07-04 16:16:58 -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
|
6cb63d5f9a
|
feat(frontends/lean/builtin_exprs): simplify '@' and '@@'
|
2016-07-02 11:08:18 +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
|
e433417e49
|
feat(frontends/lean/decl_cmds): pattern variables must be atomic
|
2016-06-29 07:34:36 +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
|
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
|
e16dbac0db
|
feat(frontends/lean): add declare_trace command
It allows users to define their own tracing classes.
|
2016-06-28 11:45:56 +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
|
5d225b7056
|
feat(frontends/lean): 'example's don't need to be trusted
|
2016-06-28 10:06:15 +01:00 |
|
Leonardo de Moura
|
7e5681c9db
|
feat(tests/lean/run/match_pattern2): add another match_pattern test
|
2016-06-27 17:21:28 +01:00 |
|
Leonardo de Moura
|
9d8d62a983
|
test(tests/lean/run/do_match_else): improve test
|
2016-06-27 16:17:31 +01:00 |
|
Leonardo de Moura
|
fbec9053dc
|
feat(frontends/lean/builtin_exprs): add 'else case' for do-match notation
|
2016-06-27 15:28:17 +01:00 |
|
Leonardo de Moura
|
6893ddc11c
|
chore(tests/lean/interactive/alias): fix test expected output
|
2016-06-27 14:37:18 +01:00 |
|
Leonardo de Moura
|
afffd31a7b
|
feat(library/tactic): add match_pattern tactic
|
2016-06-27 14:26:31 +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
|
c624c2d932
|
feat(frontends/lean): allow patterns in 'do' notation
|
2016-06-24 19:28:48 -07:00 |
|
Leonardo de Moura
|
51b3ddb274
|
chore(frontends/lean/decl_cmds): use 'pattern' instead of recursive equation
|
2016-06-24 16:31:06 -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
|
490a116baa
|
refactor(library): remove abstract_expr and abstract_expr_manager modules
|
2016-06-24 15:16:57 -07:00 |
|
Leonardo de Moura
|
3912da372a
|
feat(library/tactic/defeq_simplifier): invoke defeq_canonize from defeq_simp
|
2016-06-24 14:46:43 -07:00 |
|
Leonardo de Moura
|
480c6f1584
|
feat(tests/lean/run/assoc_flat): add flattening tactic example
|
2016-06-23 17:05:29 -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
|
8e68b1b34f
|
refactor(library/init/meta/tactic): merge trace, trace_fmt and trace_expr
|
2016-06-23 09:29:42 -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 |
|
Leonardo de Moura
|
61de427699
|
feat(library/init/meta/fun_info): expose fun_info
|
2016-06-22 14:00:00 -07:00 |
|
Leonardo de Moura
|
09bd948045
|
feat(library/init/function): move '$' notation to the top-level
|
2016-06-21 18:02:45 -07:00 |
|
Leonardo de Moura
|
677b40f4b7
|
feat(tactic/init/meta/tactic): normalize assert, define tactic names
|
2016-06-21 17:50:30 -07:00 |
|
Leonardo de Moura
|
4f7f59e47f
|
chore(tests/lean): fix tests output
|
2016-06-20 11:18:16 -07:00 |
|