mirror of
https://github.com/Z3Prover/z3
synced 2025-08-07 19:51:22 +00:00
interpolation fixes
This commit is contained in:
parent
4f06b347b3
commit
08d892bbdb
4 changed files with 64 additions and 21 deletions
|
@ -1916,6 +1916,7 @@ namespace Duality {
|
|||
|
||||
stack.back().level = tree->slvr().get_scope_level();
|
||||
bool was_sat = true;
|
||||
int update_failures = 0;
|
||||
|
||||
while (true)
|
||||
{
|
||||
|
@ -1954,10 +1955,14 @@ namespace Duality {
|
|||
heuristic->Update(node->map); // make it less likely to expand this node in future
|
||||
}
|
||||
if(update_count == 0){
|
||||
if(was_sat)
|
||||
throw Incompleteness();
|
||||
if(was_sat){
|
||||
update_failures++;
|
||||
if(update_failures > 10)
|
||||
throw Incompleteness();
|
||||
}
|
||||
reporter->Message("backtracked without learning");
|
||||
}
|
||||
else update_failures = 0;
|
||||
}
|
||||
tree->ComputeProofCore(); // need to compute the proof core before popping solver
|
||||
bool propagated = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue