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

118 commits

Author SHA1 Message Date
Nikolaj Bjorner
58c66ffee8 remove propagate_bool_at, it is technically not propagating but assigning 2021-09-19 08:47:14 -04:00
Nikolaj Bjorner
16d48c17dd streamline propagation 2021-09-19 08:30:51 -04:00
Nikolaj Bjorner
663b61b612 add propagation after lemma addition 2021-09-19 08:09:53 -04:00
Nikolaj Bjorner
dac2f1c026 cleaning 2021-09-19 07:52:57 -04:00
Nikolaj Bjorner
02a38009b9 remove disjunctive lemma feature 2021-09-19 07:33:20 -04:00
Nikolaj Bjorner
fa3886136b adding Boolean propagation, watch; and factoring 2021-09-18 22:18:15 -04:00
Nikolaj Bjorner
f01da40e49 adding watches on Booleans
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-16 22:01:34 +01:00
Nikolaj Bjorner
c25fd71bf4 fixes 2021-09-16 10:10:50 +01:00
Nikolaj Bjorner
689c5b4e12 generalize level
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-15 16:46:30 +01:00
Nikolaj Bjorner
7e7f88ae3d fix backtracking from fi
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-15 09:28:59 +01:00
Nikolaj Bjorner
3c8c8f5d40 update var dependency tracking
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-15 09:10:36 +01:00
Jakob Rath
a8e68ebf86 verify_sat should perform a semantic check 2021-09-14 14:49:20 +02:00
Jakob Rath
8103627e47 fix test_l4 2021-09-14 14:45:03 +02:00
Jakob Rath
15ebbbda2c fix assertion 2021-09-14 14:04:35 +02:00
Jakob Rath
43fef8e8ba External constraints need to remember their sign 2021-09-14 09:50:07 +02:00
Jakob Rath
50a5e24c69 Handle boolean conflict from input 2021-09-14 09:09:50 +02:00
Jakob Rath
18710a86d7 print clauses 2021-09-13 17:44:19 +02:00
Jakob Rath
067902bf31 Simplify revert_decision; disable resolving over new items for now 2021-09-13 16:21:14 +02:00
Jakob Rath
e5289f84a0 some fixes 2021-09-13 15:09:50 +02:00
Nikolaj Bjorner
6ffcea0bde Merge branch 'polysat' of https://github.com/z3prover/z3 into polysat 2021-09-13 13:14:29 +02:00
Nikolaj Bjorner
73b4e7f2a8 update set/unset mark for propagation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-13 13:14:07 +02:00
Jakob Rath
f1ce0e233a Handle bailouts in conflict_core 2021-09-13 11:48:28 +02:00
Jakob Rath
79d7ae5417 Remove fallback lemma 2021-09-13 11:43:04 +02:00
Jakob Rath
6c8e8dada6 comments 2021-09-13 04:48:22 +02:00
Nikolaj Bjorner
e365ad0e9e merge
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-12 18:14:25 +02:00
Nikolaj Bjorner
f5fd295e01 reorganize variable tracking for lemmas
this is going to break a bunch
2021-09-12 18:05:29 +02:00
Jakob Rath
6db8672f75 Update search_iterator 2021-09-12 16:23:54 +02:00
Nikolaj Bjorner
342f4473b0 missing break
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-11 20:14:52 +02:00
Nikolaj Bjorner
b36bc11b85 remove eq constraint, fix gc for external constraints
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-11 20:09:28 +02:00
Nikolaj Bjorner
d514464e30 levels/crit
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-10 16:03:38 +02:00
Nikolaj Bjorner
af0e4d402b merge
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-10 15:43:36 +02:00
Nikolaj Bjorner
516ca06c28 levels take 1
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-10 15:40:25 +02:00
Jakob Rath
b644fe0f3d Add search_iterator 2021-09-10 15:34:31 +02:00
Jakob Rath
8a1a202133 wip 2021-09-10 14:20:07 +02:00
Jakob Rath
64ce6cb5c1 notes 2021-09-08 18:21:09 +02:00
Jakob Rath
75bac21574 Re-integrate forbidden intervals 2021-09-08 16:51:16 +02:00
Jakob Rath
a0570908fb Add support for bailout lemma 2021-09-08 16:37:47 +02:00
Jakob Rath
f2c79b851f propagate at the right level 2021-09-08 16:00:57 +02:00
Jakob Rath
40d62af796 some fixes 2021-09-08 15:46:50 +02:00
Jakob Rath
ff1185891a deactivate constraints when qhead is popped 2021-09-08 15:24:11 +02:00
Jakob Rath
05b846a472 Activate constraints when their boolean literal is propagated 2021-09-08 14:01:41 +02:00
Nikolaj Bjorner
8bcec83ee8 we have to replay in order, otherwise dependencies could become shuffled
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-08 00:06:22 +02:00
Jakob Rath
e74cf72cef fix cjust update when backtracking over boolean decision 2021-09-07 17:03:47 +02:00
Jakob Rath
c7562114ef Merge 2021-09-07 15:04:28 +02:00
Jakob Rath
24f96acf4f build_lemma returns clause_builder; adjust reason in revert_bool_decision 2021-09-07 15:02:29 +02:00
Nikolaj Bjorner
4c7ec75868 add replay
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-07 14:58:56 +02:00
Jakob Rath
733c21bb20 update 2021-09-07 14:06:32 +02:00
Jakob Rath
7d58296ad2 Begin reorganizing resolve_value 2021-09-07 11:40:50 +02:00
Jakob Rath
b4e14c31d0 comment 2021-09-07 11:36:45 +02:00
Jakob Rath
eed79df481 resolve_bool should work normally also in bailout mode 2021-09-07 11:35:38 +02:00