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

19126 commits

Author SHA1 Message Date
Jakob Rath
f8c593edf9 remove unused ckind_t::smul_fl_t 2024-04-23 14:38:33 +02:00
Nikolaj Bjorner
2a4f0e785b tidy 2024-04-20 18:04:10 -04:00
Nikolaj Bjorner
cbef183ae5 type check equality injectivity axiom
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-04-20 14:57:04 -04:00
Nikolaj Bjorner
e184a9a711 fix translation of bvudiv 2024-04-20 07:32:52 -04:00
Nikolaj Bjorner
0368b52716 add missing expr
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-04-17 15:16:11 +02:00
Jakob Rath
69ea52407f refactor, update comment 2024-04-15 11:18:42 +02:00
Nikolaj Bjorner
2682c2ef2b sls updates
- add SINGLE_THREAD mode
- add interface to retrieve "best" model so far
2024-04-13 16:42:26 +02:00
Jakob Rath
06e5595e87 revert for now 2024-04-12 14:35:12 +02:00
Nikolaj Bjorner
43dd6a5436 include mutex
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-04-11 18:19:58 +02:00
Jakob Rath
183f96b481 explain_hole_overlap wip 2024-04-11 11:26:07 +02:00
Jakob Rath
138c90d52b explain_overlap, notes on case ebw < abw 2024-04-11 11:19:49 +02:00
Jakob Rath
adea39b92e dbg output 2024-04-11 11:12:49 +02:00
Jakob Rath
020a4d5d04 r_interval::contains 2024-04-11 11:11:02 +02:00
Nikolaj Bjorner
c0bdc7cdd6 enable concurrent sls with new solver core
allow using sls engine (for bit-vectors) with the new core.

Examples

z3 sat.smt=true tactic.default_tactic=smt /v:1 smt.sls.enable=true smt.bv.solver=0 /st C:\QF_BV_SAT\bench_10.smt2
z3 sat.smt=true tactic.default_tactic=smt /v:1 smt.sls.enable=true smt.bv.solver=2 /st C:\QF_BV_SAT\bench_10.smt2
z3 C:\QF_BV_SAT\bench_11100.smt2 sat.smt=true tactic.default_tactic=smt /v:1 smt.sls.enable=true smt.bv.solver=2 /st
2024-04-11 10:49:30 +02:00
Nikolaj Bjorner
510534dbd4 cleanup 2024-04-10 19:09:30 -07:00
Nikolaj Bjorner
974ea7b68d maintain ownership of dependency 2024-04-10 17:57:14 -07:00
Nikolaj Bjorner
7b8980f82d fix regression introduced when testing
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-04-09 11:17:03 -07:00
Nikolaj Bjorner
8d0e66b3e3 fix regression introduced when testing
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-04-09 11:16:34 -07:00
Nikolaj Bjorner
9a681b1a37 reorg sls
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-04-09 10:44:53 -07:00
Nikolaj Bjorner
bab7ca2b70 fixes to bv-sls 2024-04-07 14:24:13 -07:00
Jakob Rath
3f3b052933 move modification to the front 2024-04-04 10:28:08 +02:00
Jakob Rath
2b89767d1f ensure smaller layers are visited first 2024-04-03 18:25:18 +02:00
Jakob Rath
18eeb48b34 invalidated reference 2024-04-03 17:58:35 +02:00
Jakob Rath
b808dece15 always restart find_overlap at smallest size 2024-04-03 17:38:43 +02:00
Jakob Rath
583c40de1f check 2024-04-03 16:42:17 +02:00
Jakob Rath
4a51139bc8 fix marking for redundancy 2024-04-03 16:41:21 +02:00
Jakob Rath
017ae78c81 enable removal of redundant explanations 2024-04-03 15:38:33 +02:00
Jakob Rath
c5b02f8360 simplify side conditions on reduced intervals 2024-04-03 15:38:33 +02:00
Jakob Rath
d19de4b1d3 fixed_bits notes 2024-04-03 15:38:33 +02:00
Nikolaj Bjorner
d7c0e17f96 fixes to tighten-range 2024-04-02 21:12:09 -07:00
Nikolaj Bjorner
2ce202db75 add special handling of lshr, ashr 2024-04-02 21:09:18 -07:00
Jakob Rath
60422d2071 separate terminology (suffix vs. overlap) 2024-04-02 16:34:49 +02:00
Jakob Rath
17131983fe use loop instead of goto 2024-04-02 16:31:51 +02:00
Jakob Rath
88be5e6611 check hole_len 2024-04-02 16:28:45 +02:00
Jakob Rath
47f28c6857 find_overlap should stay on lower bit-width to find conflicts 2024-04-02 16:27:29 +02:00
Jakob Rath
f127d12e4c remove redundant intervals (disabled for now) 2024-04-02 15:10:12 +02:00
Nuno Lopes
918ac2b176 fix #7196: make the code C++23 compatible
Nikolaj is now more bleeding edge than I am...
I must be getting old? (˘・_・˘)
2024-04-01 17:25:50 +01:00
Nikolaj Bjorner
b07cb3dc54 use C++23 conventions in buffer.h
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-03-30 16:26:19 -07:00
Nikolaj Bjorner
84092cbd96 add engine-init to control model transfer
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-03-30 15:12:32 -07:00
Nikolaj Bjorner
51f1e2655c updates to sls
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-03-30 12:59:05 -07:00
Jakob Rath
287d772ff6 WIP: add missing conditions on size of "holes"
when combining intervals of different bit widths
2024-03-28 16:48:35 +01:00
Jakob Rath
0d3e88fd31 display_explain 2024-03-28 16:38:41 +01:00
Steven Moy
111fcb9366
Implement API to set exit action to exception (#7192)
* Implement API to set exit action to exception

* Turn on exit_action_to_throw_exception upon API context creation
2024-03-27 19:06:58 -07:00
Jakob Rath
a7c84da44d Fix monomials::parity 2024-03-27 10:49:02 +01:00
Jakob Rath
e22c86acb6 fixed_slice display 2024-03-25 14:34:06 +01:00
Jakob Rath
8a23523f20 fix crash on EBxzQox7raUO.smt2 2024-03-25 13:20:24 +01:00
Nikolaj Bjorner
c18a42cf5b change signed projection to include root object. 2024-03-23 16:14:24 -04:00
Christoph M. Wintersteiger
80642e5a7c
Add check for libatomic requirement to Python build system (#7184)
* Add check for libatomic requirement to Python build system

* More thorough check

* Fix typos
2024-03-23 11:38:14 -07:00
Nikolaj Bjorner
ac6554eb92 set C++ version to 20
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-03-21 10:59:31 -07:00
Nikolaj Bjorner
182979771f disable verbose
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-03-21 10:41:31 -07:00