3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-26 04:56:03 +00:00

fussing with qe in duality

This commit is contained in:
Ken McMillan 2013-12-13 12:21:54 -08:00
parent bfa6c99676
commit a410e7f716
6 changed files with 23 additions and 3 deletions

View file

@ -573,6 +573,13 @@ namespace Duality {
return RemoveRedundancyRec(memo,smemo,t);
}
Z3User::Term Z3User::AdjustQuantifiers(const Term &t)
{
if(t.is_quantifier() || (t.is_app() && t.has_quantifiers()))
return t.qe_lite();
return t;
}
Z3User::Term Z3User::SubstRecHide(hash_map<ast, Term> &memo, const Term &t, int number)
{
std::pair<ast,Term> foo(t,expr(ctx));
@ -2136,6 +2143,7 @@ namespace Duality {
g = RemoveRedundancy(g);
g = g.simplify();
#endif
g = AdjustQuantifiers(g);
return g;
}