3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00
Commit graph

19440 commits

Author SHA1 Message Date
Jakob Rath
4f96249570 Repropagate the conflict clause 2023-03-05 18:13:45 +01:00
Jakob Rath
666c937b06 Remove unsound bvshl lemma 2023-03-05 15:38:07 +01:00
Jakob Rath
9ed6bc66ce Merge remote-tracking branch 'origin/polysat' into polysat 2023-03-05 13:13:56 +01:00
Jakob Rath
01d0df0a4f remove debug output 2023-03-05 13:09:51 +01:00
Jakob Rath
1ef01c5042 Add vector::erase_if
(ended up unused but I didn't want to throw it away)
2023-03-05 13:02:51 +01:00
Jakob Rath
e0db58c998 viable: detect eval/bool conflicts with side conditions 2023-03-05 13:02:51 +01:00
Jakob Rath
5067707a9c fix eval_invariant 2023-03-05 12:42:02 +01:00
Jakob Rath
0433f81f78 Update eval_invariant 2023-03-05 07:55:06 +01:00
Jakob Rath
2285ed90fb move comment 2023-03-05 07:45:56 +01:00
Jakob Rath
3116b2c8d5 Clean up replay 2023-03-05 07:44:18 +01:00
Jakob Rath
1b17fe79f8 Replay is needed for evaluated literals 2023-03-05 07:41:33 +01:00
Nikolaj Bjorner
827374952b fix test for non-val node
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-03-04 10:47:05 -08:00
Jakob Rath
235c465ae2 extract_bilinear_form: handle case where top variable is different on LHS and RHS 2023-03-04 17:19:58 +01:00
Lev Nachmanson
92fe8c5968 restore the previous state
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2023-03-03 18:30:17 -08:00
Lev Nachmanson
ff1dc0424c rm lp_solver 2023-03-03 16:32:49 -08:00
Lev Nachmanson
5e4bca3d26 small removals 2023-03-03 15:58:25 -08:00
Lev Nachmanson
2dd30fa350 rm lp_primal_simplex 2023-03-03 15:44:50 -08:00
Lev Nachmanson
8989e10e71 rm lp_dual_simplex 2023-03-03 15:41:30 -08:00
Lev Nachmanson
d2e8297d41 remove includes of lp_dual_simplex 2023-03-03 15:38:47 -08:00
Lev Nachmanson
2ec09944d7 removals 2023-03-03 15:32:44 -08:00
Lev Nachmanson
a44772424c more removals 2023-03-03 15:30:15 -08:00
Lev Nachmanson
8db2f1409b lp_dual_simplex.cpp removed from CMakeLists.txt 2023-03-03 15:27:57 -08:00
Lev Nachmanson
cd24c99739 remove a lp_primal_simplex.cpp from CMakeLists 2023-03-03 15:26:06 -08:00
Lev Nachmanson
f986ac6a75 remove mps_reader 2023-03-03 14:50:10 -08:00
Hari Govind V K
55d45e0c0c
bug fix. Prevent resetting gg stats #6062 (#6618) 2023-03-03 12:32:23 -08:00
Nikolaj Bjorner
b82d177276 fix build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-03-03 11:26:13 -08:00
Nikolaj Bjorner
d5271df888 fix assert
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-03-02 09:01:55 -08:00
Nikolaj Bjorner
de6fea95f6 use symbolic coefficients for y
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-03-02 08:34:13 -08:00
Nikolaj Bjorner
b823d486e8 Merge branch 'polysat' of https://github.com/z3prover/z3 into polysat 2023-03-02 08:22:06 -08:00
Nikolaj Bjorner
287a536d40 make work for variables
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-03-02 08:22:02 -08:00
Jakob Rath
60de8f165e debug output 2023-03-02 16:06:26 +01:00
Jakob Rath
5a901e31fd verify 2023-03-02 16:03:55 +01:00
Jakob Rath
d8c6ab3488 split repropagate_units 2023-03-02 16:01:57 +01:00
Jakob Rath
8249a075e1 repropagate outside pop_levels 2023-03-02 15:52:58 +01:00
Jakob Rath
f6b8c8da21 disable replay 2023-03-02 12:24:26 +01:00
Nikolaj Bjorner
aa75ba8a6b remove parenthesis 2023-03-01 21:03:41 -08:00
Nikolaj Bjorner
fd97be0e3e move sat.smt.proof.check_rup into solver.proof.check_rup #6616 2023-03-01 21:03:27 -08:00
Nikolaj Bjorner
94b79eefea add back max_occs parameter dependency to solve-eqs 2023-03-01 20:40:22 -08:00
Nikolaj Bjorner
acd2eaa390 add (disabled) code path to enable nested conjunctions
for experiments with disabling flat-and-or dependency
2023-03-01 20:39:39 -08:00
Nikolaj Bjorner
46d37b6e30 fix #6615
make rewriting exception safe (for cancelation).
The state during restart in smt_context is not exception safe.
2023-03-01 17:30:07 -08:00
Nikolaj Bjorner
027770930e fix bug in quasi macro identification: require quantifiers 2023-03-01 17:03:15 -08:00
Nikolaj Bjorner
25d45a3500 fixes and tests for arith-sls 2023-02-28 17:40:09 -08:00
Nikolaj Bjorner
e87fa1c299 remove stale file 2023-02-28 17:40:08 -08:00
Nikolaj Bjorner
79d47eb302 add preprocessor parameter whether to use bound simplifier 2023-02-28 17:40:08 -08:00
Nikolaj Bjorner
76aad689c6 Update smt_context_pp.cpp
print units in statistics
2023-02-28 17:40:08 -08:00
Nikolaj Bjorner
5974a2dc58 remove m_b from lar_core_solver
the column vector is pure overhead for the way the lar solver uses lp.
Some other solver modules use column vectors b and integrate with the lp_core_solver_base. The interaction model should be reviewed.
Unused solvers should be removed to make it easier to maintain this code.
2023-02-28 17:40:08 -08:00
Kevin Phoenix
1a9990a92f
Use sys.getdefaultencoding() instead of sys.stdout.encoding (#6612) 2023-02-28 11:46:10 -08:00
Julian Parsert
6e7d80633d
Documentation on how to add z3 to CMake project using FetchContent and documentation to recdef function. (#6613)
* Added overloaded versions of context::recfun in the c++ api that allow for the declaration of recursive functions where the domain is given by a z3::sort_vector instead of an arity and sort*

* added documentation to recdef function

* added a section in the README-CMake.md that explains how z3 can be added to a CMake project as a dependency

---------

Co-authored-by: Julian Parsert <julian.parsert@uibk.ac.at>
2023-02-28 11:44:21 -08:00
Nikolaj Bjorner
6450ad82f4 fixup proof logging
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-02-27 14:46:26 -08:00
Clemens Eisenhofer
4cf24fb5fc Weaken precondition for overflow narrow 2023-02-25 14:51:26 +01:00