mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
parent
211a6c8752
commit
b8a437bd8a
8 changed files with 60 additions and 36 deletions
|
@ -66,10 +66,11 @@ namespace q {
|
|||
}
|
||||
}
|
||||
m_max_cex += ctx.get_config().m_mbqi_max_cexs;
|
||||
for (auto p : m_instantiations) {
|
||||
unsigned generation = std::get<2>(p);
|
||||
for (auto [qlit, fml, generation] : m_instantiations) {
|
||||
euf::solver::scoped_generation sg(ctx, generation + 1);
|
||||
m_qs.add_clause(~std::get<0>(p), ~ctx.mk_literal(std::get<1>(p)));
|
||||
sat::literal lit = ctx.mk_literal(fml);
|
||||
m_qs.add_clause(~qlit, ~lit);
|
||||
ctx.add_root(~qlit, ~lit);
|
||||
}
|
||||
m_instantiations.reset();
|
||||
return result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue