Commit graph

8974 commits

Author SHA1 Message Date
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
Leonardo de Moura
944ae3dfbb chore(tests/lean): fix tests output 2016-06-14 11:56:44 -07:00
Daniel Selsam
3ead9c1a59 doc(src/library/pp_options): improve description of pp.proofs option 2016-06-14 11:51:56 -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
Daniel Selsam
6435dad371 fix(src/frontends/lean/builtin_cmds): typo in error message 2016-06-14 11:29:03 -07:00
Leonardo de Moura
2279807baf chore(frontends/lean): remove #tactic command 2016-06-14 11:28:52 -07:00
Leonardo de Moura
179f23b64c fix(library/lazy_abstraction): representation 2016-06-14 11:09:43 -07:00
Leonardo de Moura
26c10c368a refactor(library): instantiate ==> instantiate_mvars
Motivation: avoid confusion with 'instantiate' procedure for variables
2016-06-14 10:29:47 -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
546033633b feat(frontends/lean/pp): add option for pretty printing lazy-abstractions 2016-06-14 09:24:51 -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