3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 19:35:50 +00:00
Commit graph

733 commits

Author SHA1 Message Date
Nikolaj Bjorner
a884201d62 remove using insert_if_not_there2
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-25 15:08:51 -07:00
Lev Nachmanson
8c5993d9a6 max term
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-23 18:40:16 -07:00
Lev Nachmanson
8921ed56b5 fix a bug in Horner heuristic
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-23 15:58:53 -07:00
Nikolaj Bjorner
f94abf6512 fix #3978
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-22 13:55:10 -07:00
Nikolaj Bjorner
f76c6424f2 another memory managment leak fix. Relates to different leak exposed by #3997
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-19 12:58:42 -07:00
Nikolaj Bjorner
76735476d4 fix #3999
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-18 19:46:30 -07:00
Lev Nachmanson
1f23ae8aae fix the test build
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-16 12:58:39 -07:00
Lev Nachmanson
95cb828324 make lar_solver pretty printer const on the solver
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-16 12:58:39 -07:00
Lev Nachmanson
5208b64a6b expose only necessary methods of lar_solver
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-16 12:58:39 -07:00
Lev Nachmanson
6d8e5400fd return an empty model when the status of the solver is neither FEASIBLE nor OPTIMAL
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-16 12:58:39 -07:00
Nikolaj Bjorner
3845e0859c fix #3878
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-15 12:23:18 -07:00
Lev Nachmanson
7caae3f5d2 small improvements in tableau in rows and bound propagation
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-13 16:04:25 -07:00
Lev Nachmanson
90793931b1 small changes in one_iteration_tableau_rows
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-13 16:04:25 -07:00
Nikolaj Bjorner
9b609af8fc fix #3924
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-12 16:19:54 -07:00
Lev Nachmanson
087354995d roll back in find_beneficial_column_in_row_tableau_rows
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-11 12:24:22 -07:00
Lev Nachmanson
38c73090d8 avoid big pivots
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-11 11:49:58 -07:00
Nikolaj Bjorner
03e411c22d fix #3868
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-11 02:28:38 -07:00
Nikolaj Bjorner
21a31fcd26 add missing fixed propagations on negated integer inequalities
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-11 02:28:38 -07:00
Lev Nachmanson
5d3b00b5ea build fix
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-09 11:47:32 -07:00
Lev Nachmanson
57f622acc1 fixes in random_update()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-09 11:47:32 -07:00
Lev Nachmanson
21b7dc627e create a more precize lemma for the empty intersection case
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-09 10:26:37 -07:00
Lev Nachmanson
c5e08f0444 add dependencies lost in case of an empty intersection
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-08 15:47:15 -07:00
Lev Nachmanson
4621767968 handle the empty intersection in nla_intervals
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-08 15:47:15 -07:00
Lev Nachmanson
5c9fd90031 work on random_updates
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-07 19:50:50 -07:00
Lev Nachmanson
ae8c6acc1a fill columns to fill in random update as in theory_arith_aux.h
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-07 19:50:50 -07:00
Lev Nachmanson
29a857e258 fix the build
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-06 17:31:56 -07:00
Lev Nachmanson
c846902285 simplify patch_blocker()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-06 17:31:56 -07:00
Lev Nachmanson
e90ff4b992 fix the patch of real vars
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-06 17:31:56 -07:00
Nikolaj Bjorner
d702f48f9e change lar_terms to use column indices
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-06 12:13:59 -07:00
Nikolaj Bjorner
c2e5cd78c8 change lar_terms to use column indices
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-06 12:13:59 -07:00
Nikolaj Bjorner
b889b110ee bool_vector, some spacer tidy
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-05 12:59:04 -07:00
Nikolaj Bjorner
080dbb13b0 tv alignment, code review comments
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-05 03:35:19 -07:00
Nikolaj Bjorner
fddbac0f52 use tv for interfacing on get_term
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-05 02:42:00 -07:00
Nikolaj Bjorner
8d59355b88 fix #3750
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-04 14:37:51 -07:00
Nikolaj Bjorner
0735491557 path fix #3747, this patches incoherent behavior of terms / ival from lar_solver. The variables occurring in terms are mapped to columns and not as original variables/terms. theory_lra has to interact with the column_corresponds_to_term test instead of relying on the terms themselves carrying the relevant information
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-04 14:27:56 -07:00
Nikolaj Bjorner
031b3a55ef fix #3733 persist uninterpreted atoms across calls to incremental sat solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-04 13:11:39 -07:00
Lev Nachmanson
9d58fccd41 fix in random_update()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-03 12:43:20 -07:00
Lev Nachmanson
7890555455 fix in random_update()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-03 12:37:57 -07:00
Lev Nachmanson
7fe46de266 trace random update
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-03 12:00:19 -07:00
Lev Nachmanson
afce09efe4 assert that the sdi is infinite by default
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-02 15:58:46 -07:00
Lev Nachmanson
b45311cc7c use only scoped intervals
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-02 15:58:46 -07:00
Lev Nachmanson
cf3f06ee26 use scoped interval
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-02 15:58:46 -07:00
Lev Nachmanson
55329ea935 more fixes in patching of monomials
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-02 14:47:06 -07:00
Lev Nachmanson
0dc5bad6e4 fix in patching of monics
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-01 12:58:34 -07:00
Lev Nachmanson
5e2927aa96 Merge branch 'master' of https://github.com/z3prover/z3 2020-04-01 12:31:49 -07:00
Lev Nachmanson
ec1f449d34 avoid patching vars in powers
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-01 12:31:32 -07:00
Nikolaj Bjorner
c6b4641050 fix #3649
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-01 10:56:27 -07:00
Lev Nachmanson
c4416f822e add an assert
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-01 10:44:15 -07:00
Nikolaj Bjorner
65b2037ba2 add code review comments, add assertions (disabled for now)
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-01 04:07:59 -07:00
Nikolaj Bjorner
cc394f0fe9 na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-01 03:42:13 -07:00