Leonardo de Moura
4f3ce09b57
fix(library/type_context,library/lazy_abstraction): bug in lazy_abstraction, and handle lazy_abstraction in type inference
2016-06-25 14:47:30 -07:00
Leonardo de Moura
989dbcb265
chore(tests): fix some C++ unit tests
2016-06-10 18:29:41 -07:00
Leonardo de Moura
d302514933
chore(frontends/lean): remove tactic notation
2016-06-10 18:29:41 -07:00
Leonardo de Moura
83f64ef8b3
chore(util): remove dead code
2016-06-02 18:38:07 -07:00
Lev Nachmanson
c2d795e46a
dev(lp): integrate with z3
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-06-02 11:51:07 -07:00
Leonardo de Moura
53811822d4
chore(*): style
2016-05-25 18:10:15 -07:00
Leonardo de Moura
7641b602ca
chore(util): fun_array ==> parray
2016-05-10 16:05:41 -07:00
Leonardo de Moura
6cb8e82fef
feat(util/fun_array): add functional array
2016-05-09 17:40:26 -07:00
Leonardo de Moura
4728b03f20
refactor(kernel/type_checker): do not use definitional depth in the kernel type checker
2016-04-11 14:53:02 -07:00
Leonardo de Moura
a6b112d3b2
fix(tests/library/occurs): compilation error
2016-03-25 14:10:07 -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
c8e5907b70
feat(util/rb_tree,util/rb_map): add back_find_if
2016-03-05 13:29:34 -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
82fb38b440
feat(util/rb_tree): add for_each_greater
2016-03-01 15:42:27 -08:00
Leonardo de Moura
3c878ecd01
feat(kernel): add let-expressions to the kernel
...
The frontend is still using the old "let-expression macros".
We will use the new let-expressions to implement the new tactic framework.
2016-02-29 16:40:17 -08:00
Lev Nachmanson
23079a75a7
dev(lp): fix build for clang, avoid clang-3.3 bug, cleanup permutation_matrix
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-26 16:07:16 -08:00
Leonardo de Moura
7d61f640f6
refactor(*): add abstract_type_context class
2016-02-26 14:17:34 -08:00
Leonardo de Moura
c9e9fee76a
refactor(*): remove name_generator and use simpler mk_fresh_name
2016-02-11 18:05:57 -08:00
Leonardo de Moura
9cbda49297
chore(frontends/lean): remove script blocks
2016-02-11 17:26:44 -08:00
Leonardo de Moura
f67181baf3
chore(*): remove support for Lua
2016-02-11 17:17:55 -08:00
Leonardo de Moura
6c1c6cbbdd
fix(util/lp,tests/util/lp): warning msgs on OSX
2016-02-05 11:51:20 -08:00
Leonardo de Moura
e785827688
fix(tests/util/lp/CMakeFiles): disable lp test that fails when executing ctest
...
This test need input parameters.
2016-02-05 10:17:48 -08:00
Lev Nachmanson
a7e3befd21
dev(lp): speed up primal with sorted list
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:36 -08:00
Lev Nachmanson
fbe4f56aea
chore(lp): remove warnings
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:35 -08:00
Leonardo de Moura
739f9e5486
fix(tests/util/lp/lp): use regular C arrays
2016-02-05 10:04:35 -08:00
Lev Nachmanson
504c603af4
chore(lp): use std::ostream for printing routines
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:35 -08:00
Lev Nachmanson
28bf891b7f
dev(lp): port to windows (msys2)
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:35 -08:00
Leonardo de Moura
8fbf66d01a
chore(util/lp): no "using", indentation
2016-02-05 10:04:34 -08:00
Leonardo de Moura
1841d17544
refactor(lp): NDEBUG ==> LEAN_DEBUG
2016-02-05 10:04:34 -08:00
Lev Nachmanson
fbb3ed8911
feat(lp): add LP solver and incremental LU factorization
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:34 -08:00
Leonardo de Moura
999f23cbc0
feat(kernel/expr_eq_fn): take names into account when CompareBinderInfo is true
...
This is the correct fix for the id declaration pretty printing
discrepancy reported by Daniel.
TODO: decide whether we need another eq-mode where names are ignored.
For example, in blast, it makes sense to increase sharing by ignoring
binder names.
2015-12-13 14:47:11 -08:00
Leonardo de Moura
a2ef818ff3
chore(*): remove old tracing framework
2015-12-08 09:06:10 -08:00
Leonardo de Moura
4bb58a04db
fix(CMakeLists): remove tests for dead module, fixes #883
2015-11-19 07:59:57 -08:00
Leonardo de Moura
a446c54b87
fix(tests/kernel/max_sharing): max_sharing on OSX
2015-10-03 12:12:21 -07:00
Leonardo de Moura
88739f0199
fix(tests/shared/env): memory leaks in test program
2015-09-09 10:02:18 -07:00
Leonardo de Moura
f452cabc34
feat(api/exception): add lean_exception_get_detailed_message
2015-09-08 18:00:23 -07:00
Leonardo de Moura
eec3780c6d
feat(api): add API (lean_exception_to_pp_string) for pretty printing exceptions
2015-09-08 17:46:07 -07:00
Leonardo de Moura
36d2c63ad0
feat(api): add APIs for parsing files, commands and expressions
2015-09-08 16:44:33 -07:00
Leonardo de Moura
3c50a9cff8
fix(util/thread): LEAN_AUTO_THREAD_FINALIZATION on OSX
2015-09-03 14:18:31 -07:00
Leonardo de Moura
6f88e06472
fix(tests/shared/CMakeLists): typos in test scripts
2015-09-02 12:49:43 -07:00
Leonardo de Moura
524e507022
fix(util/thread): make sure threads are finalized when using the Lean C API and threads are created by the host system
2015-09-02 12:23:10 -07:00
Leonardo de Moura
1299e6ab24
test(tests/shared/env): add inductive types test
2015-08-25 03:46:28 -07:00
Leonardo de Moura
3c4b3c1ad6
test(tests/shared/env): add total order simple tests
2015-08-23 19:55:45 -07:00
Leonardo de Moura
8c30067f8c
fix(util/stackinfo): lazy thread initialization
...
We also add a multithread example for the C API.
This example reproduces a problem reported by Joe Hendrix.
2015-08-23 19:08:02 -07:00
Leonardo de Moura
38b0a6e22c
test(tests/shared/env): add type checker tests
2015-08-23 09:49:33 -07:00
Leonardo de Moura
2926b41e9f
fix(tests/shared/env): memory leak
2015-08-23 09:24:05 -07:00
Leonardo de Moura
b42e561bb1
feat(api): expose lean_expr pretty printing function
2015-08-23 09:09:17 -07:00
Leonardo de Moura
3798493d99
test(tests/shared/env): add import module test
2015-08-23 08:54:11 -07:00