Commit graph

6479 commits

Author SHA1 Message Date
Leonardo de Moura
34fc12eda0 feat(library/tactic/intro_tactic): improve low-level intron 2016-07-05 13:50:21 -07:00
Leonardo de Moura
07388479e6 feat(library/local_context): helper functions 2016-07-05 09:08:11 -07:00
Leonardo de Moura
c1b06fe49a feat(library/tactic/intro_tactic): add low-level intron procedures 2016-07-05 09:08:04 -07:00
Leonardo de Moura
e9ec52c122 chore(emacs/lean-syntax): add register_simp_ext to list of keywords 2016-07-04 17:32:22 -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
Leonardo de Moura
cda867b124 fix(library/defeq_canonizer): bugs found by Daniel
This is a cleanup of
10d23f0075
2016-07-04 17:22:37 -07:00
Daniel Selsam
d3cfd39278 chore(tactic/simplifier/simplifier): remove old todos 2016-07-04 17:14:30 -07:00
Daniel Selsam
f03df9196b chore(simplifier/simp_extensions): remove commented block 2016-07-04 17:14:22 -07:00
Daniel Selsam
044a61d350 feat(simplifier): try synthesized congruence lemmas 2016-07-04 17:14:03 -07:00
Daniel Selsam
562151d6b5 doc(simplifier): remove old comment 2016-07-04 17:13:51 -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
34d23764fd feat(library/tactic/ac_tactics): expose flat_assoc in the C++ API 2016-07-03 21:31:02 +01:00
Leonardo de Moura
945faefd78 feat(library/tactic): add 'flat_assoc' tactic 2016-07-03 21:27:05 +01:00
Leonardo de Moura
9740515be1 chore(frontends/lean/builtin_exprs): remove '#tactic' 2016-07-02 11:15:46 +01:00
Leonardo de Moura
6cb63d5f9a feat(frontends/lean/builtin_exprs): simplify '@' and '@@' 2016-07-02 11:08:18 +01:00
Leonardo de Moura
90d920b7c9 chore(frontends/lean,library/explicit): remove dead code 2016-07-02 01:57:43 +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
58569b82d3 refactor(frontends/lean,library,library/tactic): move type_context_cache_helper to type_context module 2016-06-30 12:03:40 +01:00
Leonardo de Moura
1a5756661f refactor(frontends/lean,library): move scope_pos_info_provider to library 2016-06-30 10:19:35 +01:00
Leonardo de Moura
bb70fbbd48 refactor(frontends/lean): simplify elaborator_context 2016-06-29 16:56:19 +01:00
Leonardo de Moura
ccc65c6171 refactor(frontends/lean): add thread local parser_pos_provider 2016-06-29 16:09:06 +01:00
Leonardo de Moura
6234d0d830 fix(frontends/lean/decl_cmds): the function name does not need to be atomic 2016-06-29 07:55:11 +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
1c2804256e fix(library/tactic/tactic_state): do not assume combinator.K is in the environment 2016-06-28 16:48:53 +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
bd69aacfa8 chore(frontends/lean): remove old '#simplify' command
We can use the new tactic framework for testing the simplifier.
2016-06-28 11:55:02 +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
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
4d32a8a4f8 feat(library/init/meta): add helper functions 2016-06-27 17:19:22 +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
23565ff43c fix(library/tactic/match_tactic): check whether all meta-variables have been assigned 2016-06-27 14:53:42 +01:00
Leonardo de Moura
afffd31a7b feat(library/tactic): add match_pattern tactic 2016-06-27 14:26:31 +01:00
Leonardo de Moura
f3803c6ee4 refactor(frontends/lean/elaborator_context): remove io_state from elaborator_context 2016-06-27 06:29:54 +01:00
Leonardo de Moura
2ea8b26c4f refactor(library/io_state): move get_global_ios to io_state module 2016-06-25 20:59:52 -07:00
Leonardo de Moura
7e759e6773 refactor(library/io_state_stream): avoid references in io_state_stream object 2016-06-25 20:16:58 -07:00
Leonardo de Moura
4f3ce09b57 fix(library/type_context,library/lazy_abstraction): bug in lazy_abstraction, and handle lazy_abstraction in type inference 2016-06-25 14:47:30 -07:00
Leonardo de Moura
6f032dc35f chore(src/emacs/lean-input): make sure '\l' default is the left arrow 2016-06-25 13:54:50 -07:00
Leonardo de Moura
2b35b0056a chore(library/metavar_closure): remove dead code 2016-06-25 13:29:59 -07:00
Leonardo de Moura
fb836d2d75 chore(library/old_tactic/tactic): remove old tactics that have already been ported to new tactic framework 2016-06-25 13:21:07 -07:00
Leonardo de Moura
1590807762 chore(src/runtime/cpp): remove cpp runtime, we are going to use library/vm instead 2016-06-25 13:15:40 -07:00
Leonardo de Moura
51a449e3c4 chore(library): remove dead code 2016-06-25 13:12:24 -07:00
Leonardo de Moura
59f2b9e8c2 refactor(library/type_context): "metavar_context & m_mctx" ==> "metavar_context m_mctx" 2016-06-25 13:08:03 -07:00
Leonardo de Moura
77286e6abb fix(frontends/lean): replay exported decls in imported files 2016-06-25 12:13:36 -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