mirror of
https://github.com/Z3Prover/z3
synced 2026-02-13 04:13:01 +00:00
Fix UNKNOWN bug in search tree about inconsistent end state (#8214)
* restore more aggressive pruning in search tree * restore where we close children to be correct * add core strengthening check * fix recursion bug * less strict core propagation * old search tree version * restore search tree patch * remove flag * debugging inconsistent end state with search, some changes need to be made in search tree, only backtrack should be closing nodes, I think the bug is when we do find_highest_attach for nonchronological backjumping, you might get to a point where the sibling is closed, so then we need to resolve further up the tree * clean up code, fix deadlock * delete test files * clean up --------- Co-authored-by: Ilana Shapiro <ilanashapiro@Mac.localdomain> Co-authored-by: Ilana Shapiro <ilanashapiro@Ilanas-MacBook-Pro.local> Co-authored-by: Ilana Shapiro <ilanashapiro@Ilanas-MBP.lan1>
This commit is contained in:
parent
596cd23efc
commit
b1b7270686
2 changed files with 45 additions and 7 deletions
|
|
@ -276,6 +276,7 @@ namespace smt {
|
|||
|
||||
IF_VERBOSE(1, m_search_tree.display(verbose_stream() << bounded_pp_exprs(core) << "\n"););
|
||||
if (m_search_tree.is_closed()) {
|
||||
IF_VERBOSE(1, verbose_stream() << "Search tree closed, setting UNSAT\n");
|
||||
m_state = state::is_unsat;
|
||||
SASSERT(p.ctx.m_unsat_core.empty());
|
||||
for (auto e : m_search_tree.get_core_from_root())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue