Commit graph

11891 commits

Author SHA1 Message Date
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
6406d7cf8b refactor(kernel): merge include files that are used only once 2016-03-19 15:20:12 -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
Leonardo de Moura
45cbb7c676 dev(library/type_context): add missing fields 2016-03-08 11:27:34 -08:00
Leonardo de Moura
99145073ef chore(library/type_context): fix style 2016-03-08 10:16:11 -08:00
Leonardo de Moura
c36cf16a11 feat(library/type_context): new type_context skeleton 2016-03-05 21:53:27 -08:00
Leonardo de Moura
fcf3e2e065 fix(library/local_context): typo 2016-03-05 16:57:15 -08:00
Leonardo de Moura
c0fc9e5479 feat(library/local_context, library/metavar_context): add new well_formed methods and procedures 2016-03-05 14:56:13 -08:00
Leonardo de Moura
fdbe8ee98a feat(library/local_context): add get_local_decl_from_user_name 2016-03-05 13:35:54 -08:00
Leonardo de Moura
c8e5907b70 feat(util/rb_tree,util/rb_map): add back_find_if 2016-03-05 13:29:34 -08:00
Leonardo de Moura
c3568e1ebb fix(library/local_context): typo in assertion 2016-03-05 13:28:33 -08:00
Leonardo de Moura
66d583d279 feat(library/local_context): add well_formed debugging methods 2016-03-05 13:09:36 -08:00
Leonardo de Moura
4543dc4a7f feat(library): add metavar_context 2016-03-05 12:53:45 -08:00
Leonardo de Moura
994c9298b5 feat(library/local_context): add local_decls (set), and freeze operation for local declarations 2016-03-04 13:59:11 -08:00
Leonardo de Moura
05f58547c5 chore(library/type_context): rename type_context to old_type_context
We are going to implement a new type_context object.
2016-03-04 10:51:04 -08:00
Leonardo de Moura
eaac6ba721 chore(library/type_context): rename default_type_context to legacy_type_context and move it to different file 2016-03-04 10:26:50 -08:00
Leonardo de Moura
e7f641ffc4 chore(library): cleanup proofs 2016-03-03 17:37:24 -08:00
Leonardo de Moura
9d0dfb8404 refactor(frontends/lean): remove calc_proof_elaborator 2016-03-03 17:22:45 -08:00
Leonardo de Moura
227b548341 refactor(frontends/lean/calc): no overloading in calc steps 2016-03-03 15:00:51 -08:00
Leonardo de Moura
2c70ca83a8 refactor(frontends/lean/calc): remove '{}' notation for eq.subst in calc mode 2016-03-03 14:18:20 -08:00