Commit graph

8990 commits

Author SHA1 Message Date
Leonardo de Moura
ded1fe74c5 refactor(library/init/meta/tactic): implement num_goals in Lean 2016-06-17 16:18:15 -07:00
Leonardo de Moura
ee888e9872 feat(library/init/meta/tactic): add 'now' tactic 2016-06-17 16:15:32 -07:00
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
514c09d7b8 chore(library/data/nat/div): move instances to top-level 2016-06-17 15:36:33 -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
87a5b88f66 fix(library/type_context): typo 2016-06-17 13:57:50 -07:00
Leonardo de Moura
d0afe0aa99 feat(library/tactic): add 'change' tactic 2016-06-17 13:21:52 -07:00
Leonardo de Moura
73b21b9e48 fix(library): assertion violations 2016-06-17 13:16:17 -07:00
Leonardo de Moura
e53ce1828a fix(library/defeq_simplifier): assertion 2016-06-17 12:30:09 -07:00
Leonardo de Moura
2d6742b091 feat(library/tactic): add tactic.defeq_simp 2016-06-17 11:20:15 -07:00
Leonardo de Moura
f36db4085e feat(library/trace): add helper constructor 2016-06-17 11:17:08 -07:00
Leonardo de Moura
1fb8cc0dfd feat(library/defeq_simplifier): move defeq simplifier to new type_context 2016-06-17 10:51:07 -07:00
Leonardo de Moura
8333500457 refactor(library): move try_eta to util 2016-06-17 10:29:02 -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
c8c43a866b feat(library/tactic): implement assumption tactic in Lean 2016-06-17 09:06:35 -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
469066bd00 feat(library/init/meta/contradiction_tactic): use whnf to be able to handle (a + 1 = 0) 2016-06-16 18:24:19 -07:00
Leonardo de Moura
7f03684d89 fix(library/tactic/tactic_state): forgot to register tactic.whnf 2016-06-16 18:23:57 -07:00
Leonardo de Moura
301f3f93aa feat(library/init/meta): add contradiction tactic 2016-06-16 18:17:14 -07:00
Leonardo de Moura
67aa755a94 feat(library/init/meta): add helper functions 2016-06-16 18:16:35 -07:00
Leonardo de Moura
7e15b114e6 refactor(library/init/list): move list notation to the top-level 2016-06-16 18:15:43 -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
3996f9db4d feat(frontends/lean): add ( token and remove token 2016-06-15 13:22:31 -07:00
Leonardo de Moura
8f7fa8d4e0 feat(CMakeLists): include shared object and all .h files in the installation package 2016-06-15 11:47:03 -07:00
Leonardo de Moura
579a5a4c71 chore(CMakeLists): bump version number 2016-06-15 09:33:33 -07:00
Leonardo de Moura
0eb42190f0 fix(tests/lean): tests 2016-06-14 21:52:52 -07:00
Leonardo de Moura
6a22c0f771 chore(frontends/lean/old_elaborator): improve error message 2016-06-14 21:47:29 -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
Leonardo de Moura
a136c2ec1e fix(library/tactic/revert_tactic): update output parameter 2016-06-14 17:56:12 -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
9235f62368 fix(library/type_context): invoking type class resolution when type_context is already in tmp_mode 2016-06-14 17:12:00 -07:00
Leonardo de Moura
bceb9aa4f7 refactor(library/app_builder): port app_builder to new type_context 2016-06-14 16:16:07 -07:00
Leonardo de Moura
48fa99163a feat(init): add <$>, <*> and >>= notation 2016-06-14 16:07:37 -07:00
Leonardo de Moura
23cd318b1e feat(library/data/option): add monad instance 2016-06-14 15:56:03 -07:00
Leonardo de Moura
62905152f9 feat(kernel/environment): add is_eqp for environment 2016-06-14 12:28:59 -07:00