Commit graph

2296 commits

Author SHA1 Message Date
Leonardo de Moura
b21a3376e0 feat(library/init/meta/tactic): add 'focus' and 'all_goals' tacticals 2016-06-17 16:11:40 -07:00
Leonardo de Moura
6371a8db38 fix(library/tactic/tactic_state): consume solved goals 2016-06-17 15:19:50 -07:00
Leonardo de Moura
0b2ed21561 feat(library/init/meta/tactic): add rotate_left and rotate_right tactics 2016-06-17 15:11:08 -07:00
Leonardo de Moura
eef3debcf5 fix(library/type_context): bug in revert with let-decls 2016-06-17 14:50:01 -07:00
Leonardo de Moura
c5f92f08b8 feat(library/tactic): add 'assert' tactic
Remark: the new assert tactic does have the problem described in issue #621
2016-06-17 14:42:28 -07:00
Leonardo de Moura
46cf91c969 chore(frontends/lean): remove 'assert' keyword
In Lean3, `assert` was just an alias for `have`.
2016-06-17 14:20:26 -07:00
Leonardo de Moura
1f49d126ed feat(library/init/meta/tactic): add dsimp 2016-06-17 14:04:11 -07:00
Leonardo de Moura
d0afe0aa99 feat(library/tactic): add 'change' tactic 2016-06-17 13:21:52 -07:00
Leonardo de Moura
2d6742b091 feat(library/tactic): add tactic.defeq_simp 2016-06-17 11:20:15 -07:00
Leonardo de Moura
f4695c4a1d chore(frontends/lean): remove #defeq_simplify command 2016-06-17 10:16:53 -07:00
Leonardo de Moura
7f810d3db5 chore(tests/lean): fix tests output 2016-06-17 09:56:57 -07:00
Leonardo de Moura
b24795b2b1 feat(library/init/meta/expr): mark expr.app as a coercion 2016-06-17 08:50:06 -07:00
Leonardo de Moura
27085c3d16 feat(library/tactic/tactic_state): add tactic.mk_instance 2016-06-17 08:39:18 -07:00
Leonardo de Moura
687746a0f2 chore(tests/lean): fix tests 2016-06-16 18:47:23 -07:00
Leonardo de Moura
84e33f6ae2 feat(library/init/meta/contradiction_tactic): improve contradiction tactic 2016-06-16 18:32:08 -07:00
Leonardo de Moura
586baa4118 feat(library,frontends/lean): support for quoted expressions in the VM, compiler and frontend
TODO: invoke elaborator at tactic.to_expr
2016-06-15 16:06:39 -07:00
Leonardo de Moura
0eb42190f0 fix(tests/lean): tests 2016-06-14 21:52:52 -07:00
Leonardo de Moura
5b8ac6ba30 feat(library/tactic): add 'exact' tactic 2016-06-14 21:30:58 -07:00
Leonardo de Moura
c5ec35ac65 chore(library/init/meta/name): change notation for mk_str_name 2016-06-14 21:09:24 -07:00
Leonardo de Moura
cb9b5650b7 feat(library/tactic): add 'subst' tactic 2016-06-14 21:01:57 -07:00
Daniel Selsam
214e960574 fix(frontends/lean/elaborator): incorrect assertion
Conflicts:
	src/frontends/lean/elaborator.cpp
2016-06-14 18:05:39 -07:00
Daniel Selsam
aabdabdb17 fix(src/frontends/lean/structure_cmd): fixes #1036 2016-06-14 17:52:31 -07:00
Daniel Selsam
4fdf608c36 fix(src/frontends/lean/structure_cmd): check if indices are provided 2016-06-14 17:52:19 -07:00
Leonardo de Moura
50b6f9517a feat(library/tactic/app_builder_tactics): add tactic.mk_mapp 2016-06-14 17:33:32 -07:00
Leonardo de Moura
9fad884dd8 feat(library/tactic): add tactic.mk_app for using app_builder 2016-06-14 17:13:10 -07:00
Leonardo de Moura
48fa99163a feat(init): add <$>, <*> and >>= notation 2016-06-14 16:07:37 -07:00
Leonardo de Moura
944ae3dfbb chore(tests/lean): fix tests output 2016-06-14 11:56:44 -07:00
Daniel Selsam
70c189d683 fix(tests/lean/eta_decls): fix broken test 2016-06-14 11:51:47 -07:00
Daniel Selsam
aff7ceadee feat(src/frontends/lean/pp): look at pp.proofs when pp-ing coercions 2016-06-14 11:51:34 -07:00
Daniel Selsam
1d6de3412d fix(src/frontends/lean/pp): pp coercions that take arguments 2016-06-14 11:51:19 -07:00
Daniel Selsam
4d77f5ab2d feat(src/frontends/lean/pp): option to print theorem statements instead of proof terms
Conflicts:
	src/frontends/lean/pp.cpp
	src/library/pp_options.cpp
2016-06-14 11:50:53 -07:00
Daniel Selsam
533d1ab130 fix(frontends/lean/inductive_cmd): remove universe placeholder from parameters 2016-06-14 11:36:34 -07:00
Daniel Selsam
a4692671e2 fix(src/library/defeq_simplifier): incorrect assertion 2016-06-14 11:31:46 -07:00
Leonardo de Moura
179f23b64c fix(library/lazy_abstraction): representation 2016-06-14 11:09:43 -07:00
Leonardo de Moura
a16e3343a0 chore(library,frontends/lean): disable modules that need to be refactored 2016-06-14 10:02:11 -07:00
Leonardo de Moura
c64e4267d9 chore(tests/lean): remove tests for command that will be deleted 2016-06-14 08:58:35 -07:00
Leonardo de Moura
5a50102e92 fix(tests/lean): test 2016-06-13 15:28:33 -07:00
Leonardo de Moura
9bcb4e05db feat(library/tactic): store tactic_state at failure 2016-06-13 15:25:55 -07:00
Leonardo de Moura
a9cae34a75 fix(library/type_context): unification hints 2016-06-13 14:53:02 -07:00
Leonardo de Moura
6d78d0cc98 feat(frontends/lean/old_elaborator): interface old_elaborator with new tactic framework
The interface is not efficient, but it is sufficient for testing
purposes. We will replace the elaborator with a new one.
2016-06-13 13:59:01 -07:00
Leonardo de Moura
21bf883fa5 feat(library/tactic/tactic_state,library/init/meta): add helper tactics (context, num_goals, repeat, repeat_at_most, repeat_exactly), rename main_type ==> target 2016-06-11 21:15:00 -07:00
Leonardo de Moura
7058a2ccc8 test(tests/lean/run/meta_tac6): add test for 'clear' tactic 2016-06-11 20:31:35 -07:00
Leonardo de Moura
6829c81f18 feat(library/tactic): add 'rename' tactic 2016-06-11 19:18:25 -07:00
Leonardo de Moura
a732e8ec30 feat(library/tactic/tactic_state): add 'unify_core' where user can specify transparency mode 2016-06-11 19:14:23 -07:00
Leonardo de Moura
5245a25f89 feat(library/tactic/tactic_state): add basic tactics for inferring types, unifying terms, etc 2016-06-11 10:51:33 -07:00
Leonardo de Moura
94169fb8d6 test(tests/lean/run): missing tests 2016-06-11 10:25:16 -07:00
Leonardo de Moura
0ef4bea86b chore(tests/lean): disable tests 2016-06-10 18:29:41 -07:00
Leonardo de Moura
4b022fea01 chore(tests/lean): fix/disable tests 2016-06-10 18:29:41 -07:00
Leonardo de Moura
f51868240f chore(tests/lean/run): disable/fix tests 2016-06-10 18:29:41 -07:00
Leonardo de Moura
0a6cc0ab5a feat(library/tactic): assumption tactic 2016-06-10 18:29:41 -07:00