Commit graph

2473 commits

Author SHA1 Message Date
Leonardo de Moura
bd18516ddd fix(library/local_context): typo 2016-05-01 19:01:30 -07:00
Leonardo de Moura
d86772e986 fix(library/type_context): compilation errors in debug mode 2016-05-01 12:05:42 -07:00
Leonardo de Moura
d64a8d24f9 fix(library/replace_visitor): remove replace_visitor_closed, it does not handle nested let-expr correctly 2016-05-01 12:04:28 -07:00
Leonardo de Moura
0b3e23892b refactor(library/replace_visitor): add replace_visitor_closed 2016-04-28 17:09:02 -07:00
Leonardo de Moura
5fc90adf6b feat(kernel): add whnf_cond to kernel type_checker 2016-04-28 16:08:03 -07:00
Leonardo de Moura
0b812bc91d fix(kernel/declaration): typo and restoring trusted flag for constants 2016-04-28 15:59:09 -07:00
Leonardo de Moura
c14bee0bbd feat(library/type_context): add whnf_pred helper method 2016-04-28 15:33:20 -07:00
Leonardo de Moura
54f68226f4 chore(frontends/lean): disable old tactic framework and blast 2016-04-25 16:22:15 -07:00
Leonardo de Moura
a29eaf0067 feat(kernel): add 'trusted' flag for definitions 2016-04-11 15:49:29 -07:00
Leonardo de Moura
59278b3911 chore(library/type_context): add trace 2016-03-27 15:37:24 -07:00
Leonardo de Moura
7ddf1ef7a7 feat(library/type_context): add on_is_def_eq_failure 2016-03-27 15:20:38 -07:00
Leonardo de Moura
c538269b47 feat(library/type_context): type class resolution 2016-03-27 14:41:18 -07:00
Leonardo de Moura
ee27480210 feat(library/type_context): initialize type class resolution 2016-03-27 13:41:07 -07:00
Leonardo de Moura
c5122223e1 feat(library/type_context): add is_class predicate 2016-03-27 10:20:32 -07:00
Leonardo de Moura
f6e3521b8e chore(library/type_context): add trace 2016-03-27 09:58:06 -07:00
Leonardo de Moura
067f608732 feat(library/type_context): unification hints 2016-03-25 16:51:51 -07:00
Leonardo de Moura
7cca77c97c dev(library/type_context): improve is_productive, add better tracing 2016-03-25 15:38:04 -07:00
Leonardo de Moura
02d2da38a7 dev(library/type_context): is_def_eq 2016-03-25 14:08:53 -07:00
Leonardo de Moura
bd3efca5e9 chore(library/CMakeFiles): make clear which files should be deleted after refactoring 2016-03-22 09:57:31 -07:00
Leonardo de Moura
2a38ddb124 refactor(library): merge util and occurs 2016-03-22 09:51:06 -07:00
Leonardo de Moura
f72d06c31e refactor(library): remove resolve_macro 2016-03-21 18:04:43 -07:00
Leonardo de Moura
384e8bf7bf refactor(library): remove unifier_plugin 2016-03-21 17:57:53 -07:00
Leonardo de Moura
c98f1bfd24 refactor(library): remove type_util module and implement get_num_args using abstract_type_context 2016-03-21 16:30:08 -07:00
Leonardo de Moura
9564758965 refactor(library/definitional/no_confusion): use new type_checker to derive no_confusion 2016-03-21 15:40:58 -07:00
Leonardo de Moura
7365c575cd refactor(library/util): use type_checker at to_telescope
The to_telescope abstraction is not very useful for
abstract_type_context.
Reason: Fun/Pi (kernel) procedures are not compatible with abstract_type_context.
2016-03-21 15:34:02 -07:00
Leonardo de Moura
539c31fe5a refactor(library/definitional): use new type_checker 2016-03-21 15:01:29 -07:00
Leonardo de Moura
9cf995fae8 refactor(library/util): move more procedures from old_util to util 2016-03-21 14:25:40 -07:00
Leonardo de Moura
8dde1489f9 refactor(library/util): isolate util procedures that depend on old_type_checker 2016-03-21 13:36:08 -07:00
Leonardo de Moura
4f9ebd1cfb chore(library/num): remove unnecessary include 2016-03-21 11:50:21 -07:00
Leonardo de Moura
128d6cdec2 refactor(library/tactic): remove tactics whnf and beta 2016-03-21 11:48:36 -07:00
Leonardo de Moura
29ad781ec2 refactor(kernel): remove converter class
This abstraction is not useful after refactoring.
2016-03-19 15:58:15 -07:00
Leonardo de Moura
856889a08d refactor(kernel): remove dead code from type_checker 2016-03-19 15:28:19 -07:00
Leonardo de Moura
487a1e7f89 refactor(kernel): remove extension_context
We replaced it with abstract_type_context
2016-03-19 15:15:39 -07:00
Leonardo de Moura
63d8a0ed45 refactor(kernel): move justification/constraint/metavar to library
These files will be eventually deleted
2016-03-19 14:39:15 -07:00
Leonardo de Moura
e7f1f409c4 refactor(kernel): simplify kernel type_checker
TODO: cleanup, move justification/metavar/constraints to library
2016-03-18 16:28:42 -07:00
Leonardo de Moura
d8079aa16a refactor(library): create copy of the kernel type_checker in library
Motivation: it will allow us to simplify the kernel type_checker and
make sure it implements the same API provided by type_context
2016-03-18 14:34:10 -07:00
Leonardo de Moura
8d92d7bb46 fix(library): compilation errors in debug mode 2016-03-18 14:26:21 -07:00
Leonardo de Moura
9bc2fe04d2 dev(library/type_context): add mk_lambda and mk_pi for type_context 2016-03-15 13:31:08 -07:00
Leonardo de Moura
8038ca5f0c refactor(metavar_context): metavar_decl contains a local_context instead of local_decls
Motivations:
- A goal is essentially a metavar_decl
- We need the local_context to implement restrict_metavars_context method
2016-03-15 12:52:30 -07:00
Leonardo de Moura
5ba3086a3e dev(library/type_context): add process_assignment 2016-03-13 15:42:16 -07:00
Leonardo de Moura
9ecd4a2c85 dec(library/type_context): basic backtracking support 2016-03-13 13:22:48 -07:00
Leonardo de Moura
35efbd94ab dev(library/type_context): minor changes 2016-03-10 16:55:43 -08:00
Leonardo de Moura
b69314a308 feat(library/type_context): infer 2016-03-10 16:25:54 -08:00
Leonardo de Moura
a937672b0f feat(library/type_context): use metavar_util 2016-03-10 14:16:54 -08:00
Leonardo de Moura
011b388247 feat(library): add metavar_util template to avoid code duplication 2016-03-10 14:07:57 -08:00
Leonardo de Moura
ea2d3de71b dev(library/type_context): is_def_eq for universes 2016-03-10 12:13:32 -08:00
Leonardo de Moura
1d32f13b08 dev(library/type_context): basic normalization 2016-03-10 12:10:22 -08:00
Leonardo de Moura
6caca44e41 fix(library/unification_hint): unification hint pp 2016-03-09 12:52:28 -08:00
Leonardo de Moura
a823b0e6ec feat(library/type_context): pop_local for type_context 2016-03-09 10:22:48 -08:00
Leonardo de Moura
c679c3a8d4 dev(kernel/abstract_type_context): extend abstract_type_context API 2016-03-08 11:40:36 -08:00