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
Leonardo de Moura
d7de521126
refactor(library/class): remove attribute [multiple_instances] and old type class resolution procedure
2016-03-03 13:58:22 -08:00
Leonardo de Moura
4a43e33d45
chore(*): disable big chunk of the standard library and tests
2016-03-03 13:43:08 -08:00
Leonardo de Moura
f0158ba20c
chore(CMakeLists): disable HoTT library and tests
2016-03-03 12:51:10 -08:00
Floris van Doorn
5cacebcf86
feat(hott): replace assert by have and merge namespace equiv.ops into equiv
...
The coercion A ≃ B -> (A -> B) is now in namespace equiv. The notation ⁻¹ for symmetry of equivalences is not supported anymore. Use ⁻¹ᵉ
2016-03-03 10:13:21 -08:00
Floris van Doorn
058000f61d
feat(homotopy/homotopy_group): add theorems in section 8.3 of the HoTT book
2016-03-03 10:13:21 -08:00
Floris van Doorn
1903601ba5
refactor(trunc): rename namespace is_trunc.trunc_index to trunc_index
2016-03-03 10:13:20 -08:00
Floris van Doorn
e2b31a9b33
feat(hott): remove multiple_instances attribute
2016-03-03 10:13:20 -08:00
Floris van Doorn
af4ba3d2fb
feat(hott): prove that the (n+1)-sphere is n-connected
2016-03-03 10:13:20 -08:00
Floris van Doorn
e515875464
feat(hott): various additions
2016-03-03 10:13:20 -08:00
Floris van Doorn
c6e628da12
feat(hott): more computation rules for trunc_index and use nats for Lemma 8.6.2
2016-03-03 10:13:20 -08:00
Floris van Doorn
e5d5ef9d55
feat(hott/library): various changes and additions.
...
Most notably:
Give le.refl the attribute [refl]. This simplifies tactic proofs in various places.
Redefine the order of trunc_index, and instantiate it as weak order.
Add more about pointed equivalences.
2016-03-03 10:13:20 -08:00
Floris van Doorn
65b367ddff
feat(fin): port more parts of fin from the standard library
2016-03-03 10:13:20 -08:00