Leonardo de Moura
|
6bbb9d3667
|
feat(library/kernel_bindings): declarations added with the function add_decl are automatically registered in the to-export list
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-23 10:52:47 -07:00 |
|
Leonardo de Moura
|
1a663afda4
|
feat(library/module): add extra function for adding uncertified declarations when trust_lvl > LEAN_BELIEVER_TRUST_LEVEL
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-23 10:50:34 -07:00 |
|
Leonardo de Moura
|
a0a70bcea7
|
feat(library/kernel_bindings): expose import/export functions in the Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-23 09:35:32 -07:00 |
|
Leonardo de Moura
|
21905289fa
|
feat(library/module): add module import procedure
The modules are processed in parallel.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-22 18:15:44 -07:00 |
|
Leonardo de Moura
|
76177d7765
|
feat(library/kernel_bindings): improve type_checker:check Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-22 14:10:25 -07:00 |
|
Leonardo de Moura
|
e39feabb72
|
feat(library/module): add declaration reader
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-21 11:54:29 -07:00 |
|
Leonardo de Moura
|
9f4bae6856
|
feat(library/kernel_bindings): add hott_environment Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-21 11:49:30 -07:00 |
|
Leonardo de Moura
|
4d1fecb21d
|
refactor(library/kernel_bindings): rename empty_environment ==> bare_environment in the Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-21 11:24:24 -07:00 |
|
Leonardo de Moura
|
f08a852da8
|
feat(library/kernel_bindings): expose environment::add(declaration) method in the Lua API, and add example to demonstrate its usage
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-21 11:12:55 -07:00 |
|
Leonardo de Moura
|
8ffe66dc4f
|
feat(library): add module system API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-20 18:35:59 -07:00 |
|
Leonardo de Moura
|
dd3edcb19f
|
feat(library): add shared environment object
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-20 15:42:52 -07:00 |
|
Leonardo de Moura
|
11fc917102
|
test(lua): add tests for improving kernel_bindings coverage
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-20 12:16:12 -07:00 |
|
Leonardo de Moura
|
c5e8c10c9d
|
fix(library/normalize): bug in normalize
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-20 11:53:58 -07:00 |
|
Leonardo de Moura
|
8872d4a531
|
refactor(kernel): rename definition class to declaration
The name was misleading since not every declaration is a definition.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-20 10:41:38 -07:00 |
|
Leonardo de Moura
|
00b1a84051
|
feat(library/kernel_bindings): expose environment::for_each method in the Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-20 10:16:19 -07:00 |
|
Leonardo de Moura
|
8a8c5a2b84
|
feat(library/kernel_bindings): add normalize, whnf, type_check, infer_type methods to environment object Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-20 09:40:50 -07:00 |
|
Leonardo de Moura
|
11793e7998
|
feat(library): add simple normalization procedure
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-20 09:40:30 -07:00 |
|
Leonardo de Moura
|
4103c85ce3
|
feat(library/kernel_bindings): improve Fun/Pi Lua APIs
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-20 09:00:19 -07:00 |
|
Leonardo de Moura
|
bcb9965844
|
feat(library/kernel_bindings): improve Fun/Pi Lua APIs
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-19 17:07:20 -07:00 |
|
Leonardo de Moura
|
a7aacaa782
|
feat(library/kernel_bindings): improve list_level support in the Lua interface
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-19 15:18:48 -07:00 |
|
Leonardo de Moura
|
f3ed20a229
|
feat(kernel/inductive): add normalizer extension for inductive datatypes, add procedure for creating an standard (empty) Lean environment
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-19 12:52:25 -07:00 |
|
Leonardo de Moura
|
f7bc5ac514
|
fix(library/kernel_bindings): style
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-17 13:44:51 -07:00 |
|
Leonardo de Moura
|
d0e7c88ea8
|
feat(library/kernel_bindings): improve universe level Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-17 13:40:35 -07:00 |
|
Leonardo de Moura
|
5ce134e24e
|
chore(kernel): binder => binding where appropriate
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-17 11:37:27 -07:00 |
|
Leonardo de Moura
|
33ae79cd9e
|
refactor(kernel): move shallow copy function to library
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-17 11:20:24 -07:00 |
|
Leonardo de Moura
|
d625c9a26c
|
refactor(kernel): move max_sharing to library
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-17 11:15:08 -07:00 |
|
Leonardo de Moura
|
36b070cb5b
|
refactor(kernel/inductive): simplify inductive datatype API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-17 09:24:34 -07:00 |
|
Leonardo de Moura
|
4ec89e8561
|
feat(library/kernel_bindings): add sugar for level expressions in the Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-17 08:10:36 -07:00 |
|
Leonardo de Moura
|
5fc0f06a8d
|
feat(library/kernel_bindings): add Lua API for declaring datatypes
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-16 18:08:50 -07:00 |
|
Leonardo de Moura
|
69e72c278d
|
feat(kernel): add proof irrelevance for classes
We can use this feature to implement proof irrelevance for Identity types.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-16 15:30:32 -07:00 |
|
Leonardo de Moura
|
193aa4a83f
|
feat(library/kernel_bindings): improve Pi and Fun Lua APIs, and allow users to provide binder information
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-16 14:09:00 -07:00 |
|
Leonardo de Moura
|
862c5e354d
|
feat(kernel/expr): attach auxiliary name (for pretty printing) into local constants
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-16 13:08:09 -07:00 |
|
Leonardo de Moura
|
40b3129e7b
|
refactor(kernel): improve names
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-16 11:28:05 -07:00 |
|
Leonardo de Moura
|
d6d72ba80e
|
refactor(kernel): add binder structure
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-16 10:51:54 -07:00 |
|
Leonardo de Moura
|
c0d8a3195c
|
fix(library/kernel_serializer): style
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-15 18:00:09 -07:00 |
|
Leonardo de Moura
|
660b9299ad
|
refactor(kernel): (de)serialization procedures don't need to be in the kernel
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-15 17:23:36 -07:00 |
|
Leonardo de Moura
|
2e3ffea2ec
|
feat(library): add new coercion API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-15 16:50:12 -07:00 |
|
Leonardo de Moura
|
1be758e4ef
|
feat(library/resolve_macro.cpp): add macro to encode propositional resolution proofs compactly
This is also a test for the macro_definition infrastructure that we have in the kernel.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-15 13:53:11 -07:00 |
|
Leonardo de Moura
|
e644419463
|
feat(library/bin_app): add simpler is_bin_app predicate
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-15 13:53:11 -07:00 |
|
Leonardo de Moura
|
24d8092a73
|
feat(library): add goodies for binary functions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-15 13:53:10 -07:00 |
|
Leonardo de Moura
|
6f8f074f20
|
feat(library/kernel_bindings): make mk_arrow nary in the Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-15 13:53:10 -07:00 |
|
Leonardo de Moura
|
0edcea55de
|
fix(library/kernel_bindings): clang++ compilation error
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-14 17:48:04 -07:00 |
|
Leonardo de Moura
|
6e78256b87
|
feat(library/kernel_bindings): expose is_bi_equal predicate in the Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-14 17:24:49 -07:00 |
|
Leonardo de Moura
|
2e1a0bd50c
|
feat(kernel/expr): add is_contextual binder info
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-14 14:54:27 -07:00 |
|
Leonardo de Moura
|
ab1a89e24c
|
refactor(library): remove dead files
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-14 14:44:52 -07:00 |
|
Leonardo de Moura
|
956b775c48
|
feat(library/kernel_bindings): add let field accessors in the Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-14 14:17:30 -07:00 |
|
Leonardo de Moura
|
2bb537f3fb
|
feat(library/kernel_bindings): add sugar for creating Let expressions from Lua
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-14 12:28:10 -07:00 |
|
Leonardo de Moura
|
f903626b78
|
feat(library/kernel_bindings): allow a list of level params/globals to be provided to declarations (instead of a list of names)
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-14 09:45:48 -07:00 |
|
Leonardo de Moura
|
9ed700a5a6
|
feat(kernel/environment): add forget method
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-13 08:40:46 -07:00 |
|
Leonardo de Moura
|
c883c638d6
|
feat(library/kernel_bindings): expose expression tags in the Lua API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-12 16:50:43 -07:00 |
|