3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-11-10 08:02:01 +00:00
Commit graph

181 commits

Author SHA1 Message Date
Nikolaj Bjorner
7f3b518a71 bug fixes to bounds propagation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-04-05 17:53:19 -07:00
Nikolaj Bjorner
00306731f6 cosmetic updates to bounds
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-04-05 16:40:18 -07:00
Nikolaj Bjorner
2f992a7c9f adjust bounds
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-04-04 09:28:44 -07:00
Nikolaj Bjorner
50630bf8f5 prep for bilinear adt
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-04-03 10:22:57 -07:00
Jakob Rath
21d315ba58 Fix try_ugt_z as well 2023-04-03 16:27:09 +02:00
Jakob Rath
76c18ee6e3 Fix try_ugt_y 2023-04-03 16:18:01 +02:00
Nikolaj Bjorner
9614e428a6 wip: enabling reinit approach
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-03-30 08:41:22 -07:00
Jakob Rath
ce04d9c73b Remove old bounds code for now 2023-03-16 13:23:37 +01:00
Nikolaj Bjorner
93360318b2 fixes to asserts
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-03-16 11:55:23 +01:00
Jakob Rath
aef0c739a7 Lemma validity check 2023-03-12 16:26:05 +01:00
Jakob Rath
9f7c9dfb17 fix one try_parity rule 2023-03-12 15:56:42 +01:00
Jakob Rath
f7baba4091 min_parity at most N 2023-03-11 23:23:32 +01:00
Jakob Rath
3096ddaf33 disable old bounds prop as it is unsound 2023-03-11 11:22:24 +01:00
Jakob Rath
ffb7b5f85d try_op bugfixes 2023-03-10 12:23:53 +01:00
Jakob Rath
dba8a4b73a guard against different bitwidth 2023-03-09 13:51:10 +01:00
Clemens Eisenhofer
f059b5e16b Leftover debug return 2023-03-07 15:53:32 +01:00
Clemens Eisenhofer
6d0c3c0770 Merge branch 'polysat' of https://github.com/Z3Prover/z3 into polysat 2023-03-07 15:21:53 +01:00
Clemens Eisenhofer
5b35450891 Several changes:
- Extend fixed-bit FI to both directions
- really randomized restart
- MSB for fixed-bits
- Forward propagation (band, lshift, rshift) with good justifications (strengthen during saturation)
2023-03-07 15:21:14 +01:00
Jakob Rath
be0d0d5b9b Use checked division 2023-03-06 21:39:43 +01:00
Clemens Eisenhofer
e343a3ecd3 Parity bug fix
Moved div_monotonicity to extra lemma
2023-03-06 10:12:32 +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
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
287a536d40 make work for variables
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-03-02 08:22:02 -08:00
Jakob Rath
9b274f349b potential generalization 2023-02-23 11:24:32 +01:00
Jakob Rath
14b2c38e7f Add lemma try_umul_ovfl_noovfl for bench23 2023-02-22 16:32:51 +01:00
Jakob Rath
a8bfd01190 minor 2023-02-22 16:30:57 +01:00
Jakob Rath
8347c043e1 Merge remote-tracking branch 'origin/polysat' into polysat 2023-02-20 17:37:44 +01:00
Jakob Rath
33a38ba96f simplify 2023-02-20 16:28:31 +01:00
Jakob Rath
1dea87a07a fix add_overflow 2023-02-20 16:25:41 +01:00
Jakob Rath
61ec3b9e87 log_lemma 2023-02-20 12:32:21 +01:00
Nikolaj Bjorner
49b733c562 more code review
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-02-13 11:47:46 -08:00
Nikolaj Bjorner
e31eb9a6b1 add monotonicity lemma
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-02-09 09:31:43 -08:00
Jakob Rath
a0f5386bdd Use parity helper functions 2023-02-08 15:11:39 +01:00
Nikolaj Bjorner
b45f42133d updates to try_div_monotonicity
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-02-04 15:55:14 -08:00
Jakob Rath
579275a17d cleanup 2023-02-03 16:33:02 +01:00
Clemens Eisenhofer
c042505c34 Another monotonicity lemma 2023-02-03 07:15:10 +01:00
Clemens Eisenhofer
783bd60598 Merge branch 'polysat' of https://github.com/Z3Prover/z3 into polysat 2023-02-01 11:28:15 +01:00
Clemens Eisenhofer
8db575ea3b Division monotonicity 2023-02-01 11:27:46 +01:00
Jakob Rath
9314ad3808 minor changes to bounds propagation 2023-02-01 10:36:49 +01:00
Jakob Rath
0a2c69332d disable try_add_overflow_bound, add note on possible rewrite 2023-01-11 13:39:41 +01:00
Jakob Rath
1d0ad1ccc0 fix build (add conversion operator) 2023-01-10 17:18:56 +01:00
Jakob Rath
0c799524e8 try splitting x-intervals 2023-01-10 16:25:28 +01:00
Jakob Rath
49848a4298 extract function update_bounds_for_xs 2023-01-10 15:16:24 +01:00
Jakob Rath
abbe139abb Use M for 2^N 2023-01-10 14:50:11 +01:00
Jakob Rath
913aa9f43e debugging output 2023-01-10 14:33:48 +01:00
Jakob Rath
0f43c1c71d adjust_bound fails if [min,max] contains a multiple of N 2023-01-10 13:32:36 +01:00
Clemens Eisenhofer
aafd9039db Bugfix 2023-01-09 14:14:19 +01:00
Nikolaj Bjorner
991acb0d72 add diagnostics for assertion violations
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-06 13:29:24 -08:00
Jakob Rath
6f18335604 need y0 value 2023-01-05 16:43:23 +01:00