3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 02:45:51 +00:00
Commit graph

17159 commits

Author SHA1 Message Date
Jakob Rath
f6fb9bf316 minor refactor 2023-08-01 16:08:42 +02:00
Jakob Rath
417dbf3354 fix 2023-08-01 16:03:17 +02:00
Jakob Rath
f2d1ed7b07 add parameter to control congruence terms in slicing 2023-08-01 14:13:59 +02:00
Jakob Rath
8b90a45233 remove unused variables 2023-08-01 13:48:13 +02:00
Jakob Rath
d943eb4787 fix polysat params 2023-08-01 13:40:31 +02:00
Nikolaj Bjorner
adad468cd7 allow copy within a user scope #6827
this will allow copying the solver state within a scope.
The new solver state has its state at level 0. It is not possible to pop scopes from the new solver (you can still pop scopes from the original solver). The reason for this semantics is the relative difficulty of implementing (getting it right) of a state copy that preserves scopes.
2023-07-31 19:46:08 -07:00
Nikolaj Bjorner
403340498c format 2023-07-31 19:41:11 -07:00
Nikolaj Bjorner
0606ca15d9 track lia conflicts as cuts
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-07-28 17:40:56 -07:00
Nikolaj Bjorner
de1cf30ea8 strengthen Tseitin checker to take true/false constants into account
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-07-28 16:54:33 -07:00
Nikolaj Bjorner
7135283135 update format and checker for implied-eq
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-07-27 13:23:17 -07:00
Nikolaj Bjorner
f0184c3fde update format and checker for implied-eq
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-07-27 13:21:45 -07:00
Jakob Rath
cd373527ff static_assert 2023-07-27 16:54:59 +02:00
Jakob Rath
8b9d9db77e compile 2023-07-27 15:49:50 +02:00
Jakob Rath
c09859fe63 store viable intervals in separate layers by bit-width 2023-07-27 15:41:50 +02:00
Jakob Rath
7a96853721 fix 2023-07-27 15:35:59 +02:00
Jakob Rath
9335b6eed6 refactor slicing dep 2023-07-27 15:35:59 +02:00
Jakob Rath
eb20b8971b slicing notes 2023-07-27 15:33:36 +02:00
Jakob Rath
fe03918f6d Add macro version of pointer tagging 2023-07-27 15:32:02 +02:00
Jakob Rath
305943a091 Add dll_elements 2023-07-27 15:31:06 +02:00
Nikolaj Bjorner
249f0de80b fix order for inequalities in arithmetic justifications such that implied bound literal is last. The self-checker uses this property to identify the implied bound
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-07-26 10:06:41 -07:00
Jakob Rath
edbe1087e3 one check in get_name is enough 2023-07-26 15:08:21 +02:00
Jakob Rath
1e528e264f collect_fixed 2023-07-26 15:07:53 +02:00
Jakob Rath
6cb84dc4cd collect_simple_overlaps 2023-07-26 14:39:46 +02:00
Jakob Rath
681293c23f use slicing conflict clause 2023-07-26 09:48:08 +02:00
Jakob Rath
19c1ba5158 update tests 2023-07-26 09:47:34 +02:00
Jakob Rath
8f314d4a7f reuse more slices for extractions 2023-07-26 09:44:17 +02:00
Jakob Rath
16188945ab better slicing conflict clauses 2023-07-26 09:41:52 +02:00
Jakob Rath
12e9356f0f pvar deps also need to track the slice they're coming from 2023-07-26 09:38:29 +02:00
Jakob Rath
2f0d74fca8 fix 2023-07-26 09:34:45 +02:00
Jakob Rath
e6e655f0eb clause_pp 2023-07-26 09:15:32 +02:00
Jakob Rath
1e5255508c fixes 2023-07-26 09:09:23 +02:00
Nikolaj Bjorner
c6aab89662 add rewrite for partially interpreted arithmetic functions 2023-07-25 14:57:27 -07:00
Nikolaj Bjorner
0f2fe6031a patching up trim
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-07-25 11:32:20 -07:00
Nikolaj Bjorner
6da4f6815e Merge branch 'master' of https://github.com/z3prover/z3 2023-07-25 09:47:09 -07:00
Nikolaj Bjorner
423a7b6888 also add separate cut rule
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-07-25 09:46:59 -07:00
Nikolaj Bjorner
68a437e615 revert to logging conflict to get EUF trim to work
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-07-25 09:45:35 -07:00
Jakob Rath
a75daf8681 replay mk_extract/mk_concat 2023-07-25 10:49:47 +02:00
Jakob Rath
2226f508e8 notes on gc 2023-07-24 10:53:57 +02:00
Jakob Rath
a369c1b810 for now, do saturation only for matching bit-widths 2023-07-24 10:26:38 +02:00
Jakob Rath
b51c634294 make concat work with value args 2023-07-24 10:25:44 +02:00
Bruce Mitchener
8cc6969510
Remove Z3_literals remnants. (#6829)
The bulk of the functionality using these was removed between
Z3 4.4.1 and 4.5.0, back in 2015.

Co-authored-by: Bruce Mitchener <bruce.mitchener@configura.com>
2023-07-23 19:38:57 -07:00
Nikolaj Bjorner
6c8b8609ee tweak control flow for empty clauses
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-07-23 18:16:00 -07:00
Nikolaj Bjorner
48deb4d3e0 fix proof generation for euf-solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-07-23 14:31:44 -07:00
Nikolaj Bjorner
e64bab4bb8 simplify code
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-07-22 13:19:03 -07:00
Nikolaj Bjorner
d0f2b00f96 fix build warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-07-22 12:24:30 -07:00
Nikolaj Bjorner
a0892c6669 rename antecedent utilities for clarity
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-07-22 11:30:34 -07:00
Jakob Rath
e45fed472d slicig notes 2023-07-22 06:16:32 +02:00
Nikolaj Bjorner
4d31ff7a38 remove unused variable
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-07-21 08:35:09 -07:00
Jakob Rath
6c2772c9da compile 2023-07-21 16:28:48 +02:00
Jakob Rath
4859858bba notes 2023-07-21 16:14:36 +02:00