Leonardo de Moura
|
1e8a975daa
|
feat(frontends/lean): extend parser: rewrite "fold" step
|
2015-02-06 15:22:34 -08:00 |
|
Leonardo de Moura
|
aa70334f8d
|
feat(library/tactic/rewrite_tactic): add "fold" step
|
2015-02-06 15:21:49 -08:00 |
|
Leonardo de Moura
|
47bd5e53e2
|
fix(library/tactic/rewrite_tactic): memory leak
|
2015-02-06 14:24:10 -08:00 |
|
Leonardo de Moura
|
04f8278c90
|
test(tests/lean/run): add rewrite tactic test
|
2015-02-06 14:14:42 -08:00 |
|
Leonardo de Moura
|
5b25da8c43
|
feat(frontends/lean): add esimp tactic based on rewrite tactic
closes #358
|
2015-02-06 14:13:32 -08:00 |
|
Leonardo de Moura
|
7aac9f1fdb
|
feat(library/tactic/rewrite_tactic): use expensive convertability checker at reduce_to steps and trivial goal
|
2015-02-06 13:53:03 -08:00 |
|
Leonardo de Moura
|
5b2a9dacc2
|
fix(library/tactic/rewrite_tactic): matcher should unfold only reducible constants
|
2015-02-06 13:44:04 -08:00 |
|
Leonardo de Moura
|
b4139627e5
|
feat(library/tactic/rewrite_tactic): add option to prevent any kind of constant unfolding when perfoming pattern matching in the rewrite tactic
|
2015-02-06 13:27:33 -08:00 |
|
Leonardo de Moura
|
62daf73dd0
|
chore(library/normalize): fix style
|
2015-02-06 13:27:10 -08:00 |
|
Leonardo de Moura
|
ba9557bb94
|
fix(library/tactic/rewrite_tactic): incorrect assertion
|
2015-02-06 13:02:50 -08:00 |
|
Leonardo de Moura
|
78bde6c9e6
|
test(tests/lean/run): add more rewrite tactic tests
|
2015-02-06 12:57:42 -08:00 |
|
Leonardo de Moura
|
979d6494e9
|
feat(emacs/lean-syntax): add syntax-highlight for unfold-c hint attribute
|
2015-02-06 12:57:11 -08:00 |
|
Leonardo de Moura
|
bc95f09828
|
feat(frontends/lean/decl_cmds): allow user to specify unfold-c hint
|
2015-02-06 12:56:52 -08:00 |
|
Leonardo de Moura
|
ba641d7c58
|
feat(library/normalize): validate unfold-c hints
|
2015-02-06 12:42:53 -08:00 |
|
Leonardo de Moura
|
7205382f8c
|
feat(library/definitional/projection): add "unfold-c" hint to projections
|
2015-02-06 12:39:57 -08:00 |
|
Leonardo de Moura
|
1bd1f94542
|
feat(library/normalize): add "unfold-c" hint to normalizer
This hint will also be used in the simplifier
|
2015-02-06 12:39:49 -08:00 |
|
Leonardo de Moura
|
39446a7215
|
refactor(library/projection): move is_constructor_app to util
|
2015-02-06 12:12:25 -08:00 |
|
Leonardo de Moura
|
1043cc8b48
|
feat(library/normalize): add templates for serializing optional types
|
2015-02-06 11:59:30 -08:00 |
|
Leonardo de Moura
|
2e626b29fb
|
feat(library/tactic/rewrite_tactic): allow many constants to be provided in a single rewrite unfold step
|
2015-02-06 11:03:36 -08:00 |
|
Leonardo de Moura
|
56a46ae61e
|
feat(frontends/lean/parse_tactic_location): make rewrite notation more uniform
|
2015-02-06 10:31:50 -08:00 |
|
Leonardo de Moura
|
264cedb3a6
|
fix(frontends/lean/rewrite_tactic): incorrect assertion
|
2015-02-05 20:02:49 -08:00 |
|
Leonardo de Moura
|
e17ba27596
|
fix(library/tactic/rewrite_tactic): adjust the behavior of class resolution in rewriter
The solution is not very satisfactory. I should investigate it more.
|
2015-02-05 19:08:47 -08:00 |
|
Leonardo de Moura
|
96c161a659
|
feat(library/algebra/ring): simplify ring theorems using rewrite tactic
|
2015-02-05 18:48:02 -08:00 |
|
Leonardo de Moura
|
0ae6e2b3e4
|
feat(library/algebra/group): use rewrite tactic in the algebraic hierarchy
|
2015-02-05 18:03:02 -08:00 |
|
Leonardo de Moura
|
e097977bac
|
test(tests/lean/run): add more rewrite tactic tests
|
2015-02-05 14:09:07 -08:00 |
|
Leonardo de Moura
|
ffe0d1186e
|
feat(library/tactic/rewrite_tactic): add "reduce_to" step at rewrite tactic
|
2015-02-05 13:59:55 -08:00 |
|
Leonardo de Moura
|
116c65bff5
|
feat(library/tactic/rewrite_tactic): add reduction step to rewrite tactic
|
2015-02-05 13:42:50 -08:00 |
|
Leonardo de Moura
|
38ab4e7b3a
|
feat(frontends/lean/parse_rewrite_tactic): extend rewrite tactic parser
Add support for reduction steps.
|
2015-02-05 13:24:37 -08:00 |
|
Leonardo de Moura
|
7cdc88701d
|
feat(library/tactic/rewrite_tactic): add "reduction" step to rewrite tactic
|
2015-02-05 13:16:05 -08:00 |
|
Leonardo de Moura
|
808521223b
|
feat(library/tactic/rewrite_tactic): support constant unfolding in rewrite tactic
|
2015-02-05 12:58:30 -08:00 |
|
Leonardo de Moura
|
5443609845
|
fix(frontends/lean/parse_rewrite_tactic): take namespaces into account when parsing constant to unfold
|
2015-02-05 12:41:11 -08:00 |
|
Leonardo de Moura
|
1b73764ad3
|
fix(tests/lean/run/elim2): adjust test to reflect recent changes
|
2015-02-05 10:54:00 -08:00 |
|
Leonardo de Moura
|
d6958be7e7
|
fix(library/tactic/location): replace cache must not be used when only a subset of all occurrences should be replaced at replace_occurrences
|
2015-02-05 10:50:40 -08:00 |
|
Leonardo de Moura
|
bc8bb1dbd3
|
feat(kernel/replace_fn): add use_cache flag to replace function
|
2015-02-05 10:49:18 -08:00 |
|
Leonardo de Moura
|
2ffdbba8b0
|
feat(library): replace same 'calc' proofs with 'rewrite'
|
2015-02-05 10:39:25 -08:00 |
|
Leonardo de Moura
|
b6dd1269b9
|
feat(frontends/lean/builtin_exprs): make 'obtain' arguments visible by default
|
2015-02-05 10:38:45 -08:00 |
|
Leonardo de Moura
|
dfad24e3f5
|
feat(frontends/lean): polish rewrite tactic notation
|
2015-02-05 10:15:58 -08:00 |
|
Leonardo de Moura
|
941b493835
|
chore(library/tactic/rewrite_tactic): modify param name
|
2015-02-05 10:04:03 -08:00 |
|
Leonardo de Moura
|
0abfa30ead
|
fix(library/tactic/rewrite_tactic): elaboration bug in the rewrite tactic steps/elements
|
2015-02-05 10:01:18 -08:00 |
|
Leonardo de Moura
|
15efadfbdc
|
feat(frontends/lean/parse_rewrite_tactic): cleanup rewrite tactic notation
Make a rewrite command sequence explicit.
|
2015-02-04 20:16:24 -08:00 |
|
Leonardo de Moura
|
14c72e82f6
|
feat(library/tactic/rewrite_tactic): add support for rewriting hypotheses
|
2015-02-04 20:04:19 -08:00 |
|
Leonardo de Moura
|
90eb5c8ca5
|
test(tests/lean/hott): add test for rewriter in the HoTT version
|
2015-02-04 19:33:08 -08:00 |
|
Leonardo de Moura
|
61a029d9df
|
fix(tests/lean/rewrite_loop): notation
|
2015-02-04 19:21:26 -08:00 |
|
Leonardo de Moura
|
d0171ffe7a
|
test(tests/lean/run): add more rewrite tactic examples
|
2015-02-04 19:19:46 -08:00 |
|
Leonardo de Moura
|
08dcc9e2fc
|
feat(frontends/lean/parse_rewrite_tactic): polish rewrite tactic notation
|
2015-02-04 19:19:19 -08:00 |
|
Leonardo de Moura
|
55fb678db2
|
fix(library/tactic/location): clang++ 3.3 compilation problem
|
2015-02-04 18:48:23 -08:00 |
|
Leonardo de Moura
|
42c2f7eb11
|
fix(library/tactic/rewrite_tactic): memory leak
|
2015-02-04 18:40:11 -08:00 |
|
Leonardo de Moura
|
89fde9d829
|
feat(library/tactic/rewrite_tactic): add maximum number of iterations threshold to rewrite tactic
The idea is to avoid nontermination.
|
2015-02-04 16:13:15 -08:00 |
|
Soonho Kong
|
ca16381892
|
feat(bin): add linja.in and LEAN_BIN_DEP cmake option
see the discussion in issue #422
|
2015-02-04 15:46:08 -08:00 |
|
Leonardo de Moura
|
dc297865d4
|
chore(library/tactic/rewrite_tactic): fix compilation warnings
|
2015-02-04 15:34:02 -08:00 |
|