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

19955 commits

Author SHA1 Message Date
Nikolaj Bjorner
bd8bed1759 handle ac-op in legacy special relations procedure by adding warning
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-03 12:55:37 -08:00
Nikolaj Bjorner
1b1ebaa3b0 minor simplification during internalization 2023-12-03 12:43:39 -08:00
Nikolaj Bjorner
36725383d3 minor simplification of terms during internalization. 2023-12-03 12:43:14 -08:00
Nikolaj Bjorner
f06e07ad0a fix cone of influence computation for terms with nested variables
exposed by #7027, but generally missing. It is less likely to be exposed if input is normalized by distributing multiplication over addition.
2023-12-03 12:42:42 -08:00
Nikolaj Bjorner
25dd29907b refine no-effect predicate to include value of ret 2023-12-03 12:41:21 -08:00
Nikolaj Bjorner
9cc2ce42f7 #7027
fix lossy function declaration inclusion functionality exposed when fixing a bug for incomplete model generation.
2023-12-03 11:14:18 -08:00
Nikolaj Bjorner
a8f3396b24 #7033 2023-12-03 10:34:16 -08:00
Nikolaj Bjorner
965bee5801 fix build 2023-12-02 19:52:59 -08:00
Nikolaj Bjorner
1de25ed09c pending files 2023-12-02 19:43:51 -08:00
Nikolaj Bjorner
b22daa9816 missing header 2023-12-02 19:39:43 -08:00
Nikolaj Bjorner
362d299a5c #7027 2023-12-02 19:34:36 -08:00
Nikolaj Bjorner
ba8d8f0af7 Disable hoist entirely, it is bad on QF_LIA and does not help on other observed cases 2023-12-02 15:40:47 -08:00
Nikolaj Bjorner
585d027668 remove assert #7032
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-02 14:12:41 -08:00
Nikolaj Bjorner
331507c4cd #7027
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-02 12:05:06 -08:00
Nikolaj Bjorner
7eab26e3ef try with missed bounds 2023-12-02 10:48:40 -08:00
Nikolaj Bjorner
5c1e7f7112 fix #7029 2023-12-02 10:48:40 -08:00
Alexander Grund
ed5ab54ab6
CMake: Improve handling of git hash/describe (#7028)
Only check for and depend on the .git folder if requested.
Only warn about disabling when enabled.
Only add git hash to version if valid.
2023-12-02 09:47:57 -08:00
Nikolaj Bjorner
a15a7cee7b touch
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-01 14:13:05 -08:00
Nikolaj Bjorner
faf14012ba Regressions reported by Guido 2023-12-01 13:32:13 -08:00
Jakob Rath
02ff7efe25 Remove unused method 2023-12-01 15:51:53 +01:00
Jakob Rath
6ce63154d2 each overlapping variable needs to be explained only once 2023-12-01 15:49:39 +01:00
Jakob Rath
e1d23642bc Fix dependency tracking for viable_fallback
now takes into account explanations for overlapping variables
2023-12-01 15:45:23 +01:00
Jakob Rath
555ac49023 shortcut 2023-12-01 15:23:48 +01:00
Jakob Rath
878d4a2fd0 Collect relevant entries 2023-12-01 15:18:57 +01:00
Jakob Rath
7987ac4475 check for full intervals 2023-12-01 15:14:16 +01:00
Jakob Rath
a3bf994aa4 viable: store origin pvar in entry 2023-12-01 13:19:20 +01:00
Jakob Rath
828f74db73 slicing::explain_simple_overlap 2023-12-01 13:15:45 +01:00
Nikolaj Bjorner
99e2794a6d update output
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-30 17:20:43 -08:00
Nikolaj Bjorner
8a0dec1a4b fix build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-30 14:08:29 -08:00
Nikolaj Bjorner
b52fd8d954 add EUF plugin framework.
plugin setting allows adding equality saturation within the E-graph propagation without involving externalizing theory solver dispatch. It makes equality saturation independent of SAT integration.
Add a special relation operator to support ad-hoc AC symbols.
2023-11-30 13:58:30 -08:00
Lev Nachmanson
5784c2da79 remove an unnecessary if 2023-11-30 08:59:05 -10:00
Alper Altuntas
d540d881ef
Add __enter__ and __exit__ methods to Solver class (#7025)
To enable the usage of the with statement for the Solver class
instances, this commit adds __enter__ and __exit__ methods.
The with statement should offer a more concise and safer
alternative to explicit usage of push() and pop() methods.
2023-11-30 08:35:08 -08:00
Nikolaj Bjorner
26440ed3d8 deal with ubuntu/clang warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-29 15:45:19 -08:00
Nikolaj Bjorner
e9abdbb7a4 fix #7011
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-29 15:08:08 -08:00
Nikolaj Bjorner
9efe6f6afa fix regression in fix for #7006
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-29 14:54:54 -08:00
Nikolaj Bjorner
faa2d8ac6c re-enable delayed literal propagation 2023-11-29 14:00:37 -08:00
Nikolaj Bjorner
2f01b5b567 re-enable delayed literal propagation 2023-11-29 14:00:17 -08:00
Nikolaj Bjorner
4289cfac8d revert some fixes to euf
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-29 13:47:59 -08:00
Nikolaj Bjorner
41a3196c89 fix #7024 2023-11-29 13:35:30 -08:00
Nikolaj Bjorner
d469c1054e remove separate to_add_literal queue 2023-11-29 12:45:43 -08:00
Nikolaj Bjorner
e972eb33b2 #6523 - contains_ptr bug regarding etable reinserts 2023-11-29 10:44:36 -08:00
Jakob Rath
cf9b7bed0c imports 2023-11-29 16:03:47 +01:00
Jakob Rath
e76c6b0fdc fix test 2023-11-29 15:04:23 +01:00
Jakob Rath
872459170f viable fallback with overlaps 2023-11-29 15:04:23 +01:00
Jakob Rath
27bc858509 univariate solver: support constraints on lower bits 2023-11-29 15:04:23 +01:00
Jakob Rath
c29d04d431 fix compiler error (2) 2023-11-29 15:04:23 +01:00
Jakob Rath
923e4b4bd9 fix compile error 2023-11-29 15:04:23 +01:00
Jakob Rath
79d77bc690 exit conditions 2023-11-29 15:04:23 +01:00
Jakob Rath
590e9b0fb1 outer loop, to continue search after recursive call 2023-11-29 15:04:23 +01:00
Jakob Rath
5d3a5a94e8 update progress 2023-11-29 15:04:23 +01:00