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

17159 commits

Author SHA1 Message Date
Nikolaj Bjorner
924c296704 add logging 2023-11-18 12:30:40 -08:00
Nikolaj Bjorner
5bec982cc5 chores in theory_lra 2023-11-18 10:05:26 -08:00
Nikolaj Bjorner
e40b8a2d13 household chores in legacy arithmetic solver 2023-11-18 09:56:06 -08:00
Nikolaj Bjorner
5ab1afe5c2 expose enode pp convenciences 2023-11-18 09:53:20 -08:00
Nikolaj Bjorner
1710fe4927 use iterator shortcut 2023-11-18 09:52:58 -08:00
Nikolaj Bjorner
a9f9d3ddf4 build fixes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-17 10:15:01 -08:00
Nikolaj Bjorner
b9455c3692 #6999 deal with implicit assumptions, more robust pattern matching
The code is making some assumptions that arrays are 1-dimensional. This is not generally true.
Introducing pattern matching to ensure the assumption is met.
Avoid get_arg(..) especially when there is an approach based on pattern matching recognizers.
2023-11-17 10:06:20 -08:00
Nikolaj Bjorner
6d6d6b8ed0 build issue
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-17 09:20:17 -08:00
Hari Govind V K
f94a475da3
Qel fixes (#6999)
* dont use qel for sequences. fix #6950

* handle negation of read-write. fix #6991

* handle neg-peq terms produced by distinct. fix #6889

* dbg print
2023-11-17 09:18:04 -08:00
Nikolaj Bjorner
1b6c7d6541 fix #6996 2023-11-16 18:58:24 -08:00
Christoph M. Wintersteiger
36382ccb57
Fix memory and concurrency issues in OCaml API (#6992)
* Fix memory and concurrency issues in OCaml API

* Undo locking changes
2023-11-16 18:28:12 -08:00
Nikolaj Bjorner
5b9fdcf462 fix #6997
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-15 18:08:48 -08:00
Nikolaj Bjorner
7ad8c6a6ce na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-15 17:56:45 -08:00
Nikolaj Bjorner
a76aca57f0 na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-15 17:03:41 -08:00
Nikolaj Bjorner
108275dcd9 n/a 2023-11-15 15:00:02 -08:00
Nikolaj Bjorner
f1a39b8884 add comment regarding usage model for flush_objects() to relate with pr #6992
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-15 11:54:59 -08:00
Nikolaj Bjorner
bf5e6936c0 updated AC simplification 2023-11-15 11:01:51 -08:00
Christoph M. Wintersteiger
3baaba5edd
Revert unsound NaN constraints in theory_fpa (#6993) 2023-11-14 14:28:30 -08:00
Nikolaj Bjorner
d5315e2283 prepare for subsumption
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-14 10:56:01 -08:00
Nikolaj Bjorner
37b283fab9 use python3 in nightly
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-14 08:54:10 -08:00
Nikolaj Bjorner
ad2107f079 fix #6978 2023-11-14 08:45:22 -08:00
Nikolaj Bjorner
4406011881 fix #6984 2023-11-14 07:40:32 -08:00
Nikolaj Bjorner
3c2e97ddb6 fix #6988 2023-11-14 07:30:32 -08:00
Nikolaj Bjorner
616d00409f updates to AC plugin, notes in BV plugin 2023-11-14 00:52:46 -08:00
Nikolaj Bjorner
c2610cb37c #6523
malformed models on giveup status
2023-11-13 14:32:53 -08:00
Nikolaj Bjorner
8a4e857294 #6523
regressions from changes inside math/lp/int_solver
2023-11-13 14:28:03 -08:00
Nikolaj Bjorner
54909f8755 use uint set to track superset of equations that are in simplified state 2023-11-13 01:15:37 -08:00
Nikolaj Bjorner
654dce3dc4 bug fixes 2023-11-12 17:35:42 -08:00
Nikolaj Bjorner
5c71824f2b adding unit test for arith_plugin 2023-11-12 16:48:10 -08:00
Nikolaj Bjorner
65a8c162f5 add E(T) functionality for bv and ac functions
Add an option to register EUF modulo theories,
The current theory with a unit test is BV.
The arithmetic theory plugs into an AC completion. It is partially finished, pending setting up testing and implementing handling of shared terms.
2023-11-12 15:39:56 -08:00
Nikolaj Bjorner
3de5af3cb0 fix bug in bound simplification in Gomory for mixed integer linear cuts, enable fixed variable redution after bugfix, add notes that rewriting bounds does not work
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-10 16:39:04 +01:00
EyalBrilling
aa9c7912dc
fixed possible undefined variable assigment (#6985) 2023-11-10 11:36:24 +01:00
Jakob Rath
9ce47ab460 fix recursion 2023-11-10 10:57:02 +01:00
Jakob Rath
115a82cd82 Fix helper function viable::find_value 2023-11-10 10:54:31 +01:00
Jakob Rath
5a03d13913 viable::test3 2023-11-10 10:53:15 +01:00
Jakob Rath
b7ee4b0d63 dtrim 2023-11-09 16:40:47 +01:00
Jakob Rath
fc676e235f fix some bugs, add unit test 2023-11-09 15:03:14 +01:00
Jakob Rath
d3d0a5f635 compile 2023-11-09 13:03:14 +01:00
Jakob Rath
e45358d9be viable algorithm sketch 2023-11-09 11:33:13 +01:00
Jakob Rath
e393c2fe9b r_interval, distance 2023-11-09 11:28:01 +01:00
Nikolaj Bjorner
0556059bdf change to expr_ref to allow trying simplification 2023-11-08 13:50:48 +01:00
Nikolaj Bjorner
bd4d580b17 fix #6986 2023-11-08 13:49:30 +01:00
Nikolaj Bjorner
e6385f8c85 disable bound validation in debug mode
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-07 20:49:26 +01:00
Nikolaj Bjorner
3d99ed9dd4 Gomory cut / branch and bound improvements
Improve fairness of cut generation by switching to find_infeasible_int_var with cascading priorities, allow stronger cuts by inlining terms.
2023-11-07 19:59:02 +01:00
Nikolaj Bjorner
9f0b3cdc25 Add utility to expand sub-terms 2023-11-07 19:58:32 +01:00
Nikolaj Bjorner
fb95760137 remove template 2023-11-07 19:57:50 +01:00
Nikolaj Bjorner
77dab53e9e track number of Gomory cuts 2023-11-07 19:57:49 +01:00
Nikolaj Bjorner
2d1f4d5d93 remove verbose logging 2023-11-07 19:57:49 +01:00
Nikolaj Bjorner
e86eae27e6 #6523 and other heap-use-after-free error 2023-11-07 19:57:49 +01:00
Nikolaj Bjorner
eed02b6d86 improved logging, use C++11 for loops instead of iterators 2023-11-07 19:57:49 +01:00