Commit graph

683 commits

Author SHA1 Message Date
Leonardo de Moura
da27454c8c chore(util): remove dead code 2016-09-23 14:29:13 -07:00
Leonardo de Moura
165e2d5b97 chore(*): fix compilation warnings 2016-09-19 17:36:28 -07:00
Gabriel Ebner
4dac796337 feat(library/local_context): make get_unused_name O(log(n)) 2016-09-19 16:38:03 -07:00
Daniel Selsam
52f87760d8 feat(src/library/inductive_compiler): support for nested inductive types 2016-09-16 12:50:59 -07:00
Leonardo de Moura
803c956d18 feat(util/sexpr/option_declarations): allow options to be registered after initialization 2016-08-19 16:58:30 -07:00
Leonardo de Moura
2899f909a6 feat(util/fresh_name): API for detecting whether a name was created using mk_fresh_name 2016-08-05 19:02:31 -07:00
Leonardo de Moura
1b528ba327 chore(util/name): remove assertion
The procedure get_tagged_name_suffix violates the assertion.
Alternative solution: change return type of get_tagged_name_suffix to
optional<std::string> since it is only used for pretty printing.
2016-07-30 19:53:58 -07:00
Leonardo de Moura
8b533a54c2 feat(frontends/lean/pp): improve purify_metavars 2016-07-30 15:31:06 -07:00
Sebastian Ullrich
3974d798c8 chore(util/name): remove confusing precondition comment 2016-07-29 23:44:22 -04:00
Sebastian Ullrich
6f4a6c39f3 fix(util/lp): fix compilation error 2016-07-29 23:44:22 -04:00
Sebastian Ullrich
661fafc940 refactor(frontends/lean): replace different attribute classes with single scoped_ext 2016-07-29 18:51:23 -04:00
Leonardo de Moura
01283512a6 feat(frontends/lean/elaborator): add code for deciding which function application elaboration procedure should be used 2016-07-25 12:55:28 -07:00
Leonardo de Moura
35888fae2c refactor(util/list): remove coercion from T -> list<T> 2016-06-22 10:00:07 -07:00
Leonardo de Moura
62905152f9 feat(kernel/environment): add is_eqp for environment 2016-06-14 12:28:59 -07:00
Leonardo de Moura
0e7f95e4d0 perf(util/rb_tree,until/rb_map): reduce object size 2016-06-07 08:33:31 -07:00
Leonardo de Moura
83f64ef8b3 chore(util): remove dead code 2016-06-02 18:38:07 -07:00
Soonho Kong
b95bc8ff5b feat(util/memory.cpp): use COMP_HAS_SIZED_DEALLOCATION macro
To conditionally include sized deallocation definitions.

Related issue #1044
2016-06-02 11:53:08 -07:00
Sebastian Ullrich
ac4efdf660 fix(util/memory): add C++14 sized delete operators
Fixes #1044
2016-06-02 11:52:51 -07:00
Lev Nachmanson
5f565cfbe5 dev(lp): fix column_info initialization in lp_solver
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-06-02 11:51:52 -07:00
Lev Nachmanson
2aea6066fa dev(lp): refactor the lar_core_solver parameters into a separate struct
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-06-02 11:51:45 -07:00
Lev Nachmanson
9680081376 dev(lp): move some dummy field from lar_solver to lar_core_solver
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-06-02 11:51:37 -07:00
Lev Nachmanson
1f9ef61839 dev(lp): simplify the design of lar_solver
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-06-02 11:51:29 -07:00
Lev Nachmanson
96824e375b dev(lp): add a file
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-06-02 11:51:18 -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
11b63b0fcd fix(util/small_object_allocator): warning 2016-05-13 15:20:32 -07:00
Leonardo de Moura
92bc367c5c feat(util): add small object allocator 2016-05-13 14:41:31 -07:00
Leonardo de Moura
5189a83f57 feat(library/vm): pretty print bytecode 2016-05-11 16:57:56 -07:00
Leonardo de Moura
906c4f86f1 feat(library/vm): add vm_decl(s) 2016-05-10 21:11:07 -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
889bdec2f7 feat(util/rb_tree): add unsigned_rev_cmp 2016-05-01 19:30:51 -07: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
c8e5907b70 feat(util/rb_tree,util/rb_map): add back_find_if 2016-03-05 13:29:34 -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
2982db6f80 feat(library/local_context): add new local context type 2016-03-01 13:40:37 -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
9b15c4c669 feat(util/rb_map): add find_if 2016-02-24 16:02:16 -08:00
Soonho Kong
431ce6ff2d fix(util/lp): instantiate missing functions
close #1005
2016-02-22 16:19:28 -05: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
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
1c8d8da9cf chore(util/lp/lp_primal_core_solver): fix warning 2016-02-05 10:08:32 -08:00
Lev Nachmanson
0e4f98dc47 dev(lp): remove a warning
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:08:24 -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
ff8213a6a9 dev(lp): diminish the number of pivots of primal by sorting the columns
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:35 -08:00
Lev Nachmanson
61eaef0183 dev(lp): improve the dual perormance
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:35 -08:00
Lev Nachmanson
9482d508df dev(lp): fix bugs in the dual simplex high loop
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2016-02-05 10:04:35 -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
40d4623219 fix(util/lp/lp_settings): replace fabs with std::abs 2016-02-05 10:04:35 -08:00