3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-10 17:58:06 +00:00

add sat option for doing a global simplification before the bounded search and the main CDCL search loop. The option is also used for the sat-preprocess tacitc (#4514)

Co-authored-by: rainoftime <rainoftime@gmail.com>
This commit is contained in:
Jack Yao 2020-06-13 07:45:50 +08:00 committed by GitHub
parent 41430cd128
commit 55cd1e996c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 0 deletions

View file

@ -1222,6 +1222,16 @@ namespace sat {
do_gc();
}
if (m_config.m_enable_pre_simplify) {
do_simplify();
if (check_inconsistent()) return l_false;
}
if (m_config.m_max_conflicts == 0) {
IF_VERBOSE(SAT_VB_LVL, verbose_stream() << "(sat \"abort: max-conflicts = 0\")\n";);
return l_undef;
}
if (m_config.m_max_conflicts > 0 && m_config.m_burst_search > 0) {
m_restart_threshold = m_config.m_burst_search;
lbool r = bounded_search();