3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-18 02:16:40 +00:00

integrating duality

This commit is contained in:
Ken McMillan 2013-04-28 16:29:55 -07:00
parent 8488ca24d2
commit feb5360999
9 changed files with 473 additions and 5 deletions

View file

@ -267,6 +267,8 @@ namespace Duality {
// print_profile(std::cout);
delete indset;
delete heuristic;
delete unwinding;
delete reporter;
return res;
}
@ -1284,6 +1286,8 @@ namespace Duality {
DerivationTree dt(this,unwinding,reporter,heuristic,FullExpand);
bool res = dt.Derive(unwinding,node,UseUnderapprox,true); // build full tree
if(!res) throw "Duality internal error in BuildFullCex";
if(cex.tree)
delete cex.tree;
cex.tree = dt.tree;
cex.root = dt.top;
}