3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-19 07:09:03 +00:00
Commit graph

13338 commits

Author SHA1 Message Date
Nikolaj Bjorner 0207878f5f fix #3183 - change relevancy propagation to ensure that div/mod axioms are picked up
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 1e9013fe6d cleanup in var_register
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 719603f185 register inner terms with null var
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson a0251ac745 do not register equality terms created in lar_solver
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 285ff9540d make sure that the term external index has not been used
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Nikolaj Bjorner f00c026272 fix #3173
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 19:43:55 -07:00
Nikolaj Bjorner 0f779c9c0d fix #3185 - move handling of to_real within def conversion
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson f636a481d3 fixes in bound setting in cube, and in lar_solver
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson a80eb13420 fixes in bound setting in cube, and in lar_solver
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 9cce01e632 fix in order lemma
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 6ea0bcb454 round the bound for columns and terms when it can be deduced that they are integral
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson b403b96d38 remove an assert
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 77ca63db90 fix in gomory: revert some changes
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson cbefa8d2b0 fix in gomory cut
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson fad08454c1 remove debug code
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 2b4de6ebbc add option branch_flip to lp_settings
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 59a82a4482 introduce a bug int theory_array.cpp - look for a counter example
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson bf885bf9b3 introduce a bug into theory_array - looking for a counterexample
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 28c057fd7b relax the literal check in theory_lra
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 2ad94026a0 do not produce proportional lemma for non-integral vars
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 0ee541204f fix in gomory: revert some changes
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson b8d7af59f4 fix in gomory cut
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 6396857ee2 remove debug code
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 87f80ce022 add option branch_flip to lp_settings
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 8e55a77ee7 introduce a bug int theory_array.cpp - look for a counter example
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 406bd98a39 introduce a bug into theory_array - looking for a counterexample
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 3e4720abbd relax the literal check in theory_lra
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 0229ab2811 remove debug code
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 66dd93a035 fix a bug in nla_intervals - add explanations when getting intervals from a term
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson ab92c20106 add option branch_flip to lp_settings
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson b9bfa950f6 introduce a bug int theory_array.cpp - look for a counter example
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 37c72b71f5 introduce a bug into theory_array - looking for a counterexample
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson c0b49e95c4 use lar_solver directly to compare variable values in assume_eqs()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 6549984dd4 call init_variable_values() from assume_eqs
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson c469ea2717 do not call get_model() from assume_eqs()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 0db112ef8f Update nla_core.cpp 2020-03-25 19:43:55 -07:00
Lev Nachmanson 697fd37d26 relax the literal check in theory_lra
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Lev Nachmanson 762f265616 merge with master
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-03-25 19:43:55 -07:00
Nikolaj Bjorner cf86e6ef73 disable dubious eq adapter code causing perf hit
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 16:41:01 -07:00
Nikolaj Bjorner 73d73e6c95 enhance rewriting for indexof based on #3516
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 13:29:36 -07:00
Nikolaj Bjorner f92050c7e5 fix #3515
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 13:21:02 -07:00
Nikolaj Bjorner 145ec8f248 pick up log configuration consistently #3513
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 10:51:55 -07:00
Nikolaj Bjorner e5e6f481f9 update bounds and assert values during initialization
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 04:05:58 -07:00
Nikolaj Bjorner 477fd3fba0 remove model initialization all-together because assumption literals are not connected with model
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 04:00:21 -07:00
Nikolaj Bjorner a7495876fd fix #3506 fix #3505
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 03:06:02 -07:00
Nikolaj Bjorner 504a7550b3 fix #3509
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 02:42:30 -07:00
Nikolaj Bjorner ea396a008a fix #3504
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 02:30:51 -07:00
Nikolaj Bjorner 0609408fd7 fix #3510
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 01:50:30 -07:00
Nikolaj Bjorner b8c25ac20b fix #2909
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-25 01:43:20 -07:00
Nikolaj Bjorner 41c68d64d4 avoid deref on null
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-24 17:06:06 -07:00