Leonardo de Moura
|
a30232b99a
|
fix(library/module): race condition on m_imported
|
2014-10-14 15:19:50 -07:00 |
|
Leonardo de Moura
|
7231aa0d73
|
fix(library/module): allow multiple calls to import_modules with the same modules
The idea is to store a set of already imported files.
This feature is useful when using the import_modules API directly (e.g.,
from javascript).
|
2014-10-14 08:13:41 -07:00 |
|
Soonho Kong
|
2cf6cf19c0
|
feat(src): add LEAN_VERSION_PATCH
|
2014-10-07 12:30:38 -07:00 |
|
Leonardo de Moura
|
0d6d746d98
|
feat(frontends/lean): check modification time of imported files
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-29 15:17:27 -07:00 |
|
Leonardo de Moura
|
531046626a
|
refactor(*): explicit initialization/finalization for environment extensions
|
2014-09-22 17:30:29 -07:00 |
|
Leonardo de Moura
|
1fbb554a16
|
feat(library/module): provide predicate module::is_definition
|
2014-09-17 16:32:00 -07:00 |
|
Leonardo de Moura
|
4cf3d32e0c
|
chore(*): create alias for std::pair
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-20 16:46:19 -07:00 |
|
Leonardo de Moura
|
3d8477f7de
|
fix(library/module): ignore multiple declarations of 'sorry', fixes #59
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-17 15:55:58 -07:00 |
|
Leonardo de Moura
|
0d97fff280
|
feat(library/module): include name of corrupted .olean file
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-14 11:28:44 -07:00 |
|
Leonardo de Moura
|
2dca68e645
|
chore(util/list): add inline functions for commonly used patterns in list processing code
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-03 13:51:38 -07:00 |
|
Leonardo de Moura
|
4b030c5d5f
|
feat(library/module): relative module path
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-02 19:47:55 -07:00 |
|
Leonardo de Moura
|
de657e8df0
|
fix(util/rc): reference counter memory_order flags
See discussion at
http://www.chaoticmind.net/~hcb/projects/boost.atomic/doc/atomic/usage_examples.html#boost_atomic.usage_examples.example_reference_counters
http://stackoverflow.com/questions/10268737/c11-atomics-and-intrusive-shared-pointer-reference-count
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-21 08:23:01 -07:00 |
|
Leonardo de Moura
|
cff6bf8c6d
|
fix(library/module): sign error is circular module dependency is detected
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-20 19:21:54 -07:00 |
|
Leonardo de Moura
|
55db3aaaa1
|
fix(library/module): module index assignment
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-20 00:19:31 +01:00 |
|
Leonardo de Moura
|
9be1a4ab46
|
fix(library/module): module index assignment
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-05 23:32:18 -07:00 |
|
Leonardo de Moura
|
a52c9f4e2b
|
feat(library/unifier): add option 'unifier.unfold_opaque', remove option 'unifier.use_exceptions' (the user should not be able to change this)
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-05 09:43:16 -07:00 |
|
Leonardo de Moura
|
6891f48c67
|
fix(library/module): do not store full path of imported modules
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-29 10:48:57 -07:00 |
|
Leonardo de Moura
|
7075f6e94a
|
fix(library/module): make sure decls from imported modules have module_idx > 0
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-28 08:36:54 -07:00 |
|
Leonardo de Moura
|
0779db7ae9
|
fix(kernel): set module_idx on theorems, otherwise we are not able to import theorems that use opaque definitions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-16 16:56:11 -07:00 |
|
Leonardo de Moura
|
5aca452439
|
feat(library/aliases): add 'exceptions' and support for universes to add_aliases procedure, add for_each_universe method to environment
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-13 08:26:05 -07:00 |
|
Leonardo de Moura
|
a914345d29
|
feat(library): new scoping framework
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-12 19:33:02 -07:00 |
|
Leonardo de Moura
|
7124866a4f
|
fix(library/module): potential deadlock when child thread threw an exception
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-07 20:34:18 -07:00 |
|
Leonardo de Moura
|
33bbcd9526
|
chore(kernel/declaration): rename declaration::get_params to declaration::get_univ_params
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-02 16:20:34 -07:00 |
|
Leonardo de Moura
|
6e113206b6
|
feat(library/scope): add support for inductive datatypes in sections
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-06-02 10:28:07 -07:00 |
|
Leonardo de Moura
|
f7b3061a66
|
feat(library/module): improve 'import module' error messages
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-31 12:52:06 -07:00 |
|
Leonardo de Moura
|
7bd10c2d2d
|
feat(library/module): export global universe level declarations
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-31 12:12:41 -07:00 |
|
Leonardo de Moura
|
13f9db26b7
|
refactor(library): add module namespace
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-29 13:58:47 -07:00 |
|
Leonardo de Moura
|
ade5d99023
|
feat(library/modules): add option for discarding the proof of imported theorems (after checking them)
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-29 10:56:28 -07:00 |
|
Leonardo de Moura
|
28b9d17a14
|
perf(library/module): do not use multiple threads when skipping type checking, add flag to disable/enable type checking theorems asynchronously
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-28 10:04:42 -07:00 |
|
Leonardo de Moura
|
eca906b074
|
feat(library/module): add inductive decls to .olean files
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-26 15:38:09 -07:00 |
|
Leonardo de Moura
|
1cff37a084
|
feat(library/module): use io_state to report warning messages
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-24 14:08:15 -07:00 |
|
Leonardo de Moura
|
f8255ddac6
|
fix(library/module): deadlock
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-23 16:46:53 -07:00 |
|
Leonardo de Moura
|
d30c600eb2
|
fix(library/module): bug in module import
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-23 16:23:47 -07:00 |
|
Leonardo de Moura
|
879572ee7e
|
fix(kernel/module): non-termination
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-23 15:12:47 -07:00 |
|
Leonardo de Moura
|
902b6160fa
|
fix(kernel/module): deadlock
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-23 14:43:03 -07:00 |
|
Leonardo de Moura
|
a3b0200d32
|
feat(library/module): do not use threads when lean is not compiled with LEAN_MULTI_THREAD
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-23 11:32:24 -07:00 |
|
Leonardo de Moura
|
be96dc2ddf
|
fix(library/module): bug in next_task method
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-23 11:13:38 -07:00 |
|
Leonardo de Moura
|
61b662151e
|
fix(library/module): bug in export_module procedure
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-23 10:57:11 -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
|
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
|
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
|
8ffe66dc4f
|
feat(library): add module system API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-05-20 18:35:59 -07:00 |
|