3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-01-21 01:24:43 +00:00
Commit graph

318 commits

Author SHA1 Message Date
Jakob Rath
06e6f27614 refactor 2022-12-16 14:22:50 +01:00
Jakob Rath
afde0e993c Add bitblasting fallback to viable::query
(integration between conflict/viable is still messy)
2022-12-16 13:02:54 +01:00
Jakob Rath
5de0007157 very basic refinement loop breaking 2022-12-15 13:39:48 +01:00
Jakob Rath
519ebd8a8b log and note 2022-12-13 11:49:54 +01:00
Jakob Rath
a3c7a869cd bool_watch_invariant 2022-12-13 11:47:21 +01:00
Jakob Rath
eda6534453 more readable intervals 2022-12-12 16:41:18 +01:00
Jakob Rath
b1271ac7fb Check for missed boolean propagations 2022-12-12 11:52:45 +01:00
Jakob Rath
8d13446537 Solve boolean skeleton first 2022-12-09 17:22:51 +01:00
Jakob Rath
5ad961029d Rename revert_decision -> revert_pvar, and enable it.
Also rename resolve_with_assignment to resolve_evaluated
2022-12-08 16:19:11 +01:00
Jakob Rath
3fe8f4a0cd minor issue about narrow with first=true 2022-12-08 16:19:11 +01:00
Jakob Rath
85715eb164 Update use of insert_eval and lemma scores to support propagation 2022-12-07 16:08:24 +01:00
Nikolaj Bjorner
754cb540d0 disable new code paths for commit
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-12-07 02:23:43 -08:00
Nikolaj Bjorner
1d440ac871 try adding unit propagation / distinguish these in saturation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-12-04 14:22:34 -08:00
Nikolaj Bjorner
066b7d2d71 add review comments based on debugging
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-12-04 03:49:17 -08:00
Nikolaj Bjorner
215a4e9bad review and fix soundness bug in band rule
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-12-02 19:04:23 -08:00
Jakob Rath
91c6582bf7 pwatch 2022-12-01 15:50:03 +01:00
Jakob Rath
bcde2844b2 misc 2022-12-01 10:05:14 +01:00
Jakob Rath
fb1178dea3 Additional band lemmas (solves bench11) 2022-11-30 17:05:13 +01:00
Jakob Rath
7712068034 Remove old code
backjump_and_learn, learn_lemma
2022-11-30 15:14:25 +01:00
Jakob Rath
fdca0cd86f assign_verify: separate lemma production and activation 2022-11-30 15:00:58 +01:00
Jakob Rath
5069796755 Create clauses without adding them 2022-11-30 14:51:43 +01:00
Jakob Rath
54a21e764d Remove old code
backjump_lemma, revert_decision, revert_bool_decision
2022-11-30 12:21:39 +01:00
Jakob Rath
b4b94c954b Try to produce an op_constraint lemma before invoking the fallback solver 2022-11-30 12:13:47 +01:00
Jakob Rath
e6eea83b67 Missed some univariate constraints 2022-11-29 15:51:34 +01:00
Jakob Rath
0c44391b9e Don't call assign_eh for internal constraints 2022-11-28 18:43:19 +01:00
Jakob Rath
77b4303b66 Don't jump over base level 2022-11-28 16:14:06 +01:00
Jakob Rath
bef1b9b429 Simplify 2022-11-23 15:11:27 +01:00
Jakob Rath
f51d5c2fe9 Add note on potential replay problem 2022-11-23 15:00:31 +01:00
Jakob Rath
a39cce18cb Fix another assertion 2022-11-23 13:46:44 +01:00
Jakob Rath
4224a14bdc Need to re-check whether lemma was asserting 2022-11-23 13:22:43 +01:00
Jakob Rath
58c299dc33 fix assertion failure 2022-11-23 13:21:58 +01:00
Jakob Rath
2787a22007 Backtrack/backjump based on accumulated lemmas 2022-11-23 12:49:36 +01:00
Jakob Rath
e4999b07aa Remove active flag from constraint
Superseded by boolean assignment and pwatch
2022-11-22 14:45:51 +01:00
Jakob Rath
85a633a3e0 Update resolve_value 2022-11-22 13:47:31 +01:00
Jakob Rath
a144a09ede Propagation must be justified by a prefix of Gamma 2022-11-22 13:42:31 +01:00
Jakob Rath
6e72a97727 Refactor assignment and search state 2022-11-21 17:25:15 +01:00
Jakob Rath
f12ae0af12 clause_builder: rename push to insert 2022-11-17 17:37:52 +01:00
Jakob Rath
dbe814d568 Add forbidden interval lemma separately 2022-11-17 15:00:16 +01:00
Jakob Rath
2c4e3184d7 For now, do not delete variables. 2022-11-16 15:49:58 +01:00
Jakob Rath
cd83a6ec69 Remove bailout state from conflict 2022-11-14 15:15:35 +01:00
Jakob Rath
eec8e8ebe4 Fix name: value propagation -> evaluation (for boolean literals) 2022-11-14 14:58:20 +01:00
Jakob Rath
01af25ca02 Remove backjump state from conflict 2022-11-14 14:33:19 +01:00
Nikolaj Bjorner
a98502b62f weaken assertion, remove dependency on hash_compare in unittest for hashtables
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-11-09 09:28:49 -08:00
Jakob Rath
abc4cc5295 Simplify boolean propagation level 2022-11-09 16:59:51 +01:00
Jakob Rath
27d65df70b Use correct level for pvar propagations (v := val) 2022-11-09 16:58:34 +01:00
Jakob Rath
e7c77a22ab Dedup quot_rem and lshr too 2022-11-07 15:25:05 +01:00
Jakob Rath
89acd96a89 All constraints have bvars now 2022-11-07 14:14:36 +01:00
Jakob Rath
586ffdf402 Remove unnecessary argument 2022-11-07 14:04:28 +01:00
Jakob Rath
a1736473a4 Move bit-wise expressions to constraint_manager 2022-11-07 14:00:02 +01:00
Nikolaj Bjorner
eca72ffda1 debug simplify_clause
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-10-14 12:12:21 +02:00