mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
#5417 designate quantifier axioms as auxiliary
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
4388ab2e3e
commit
a64867942d
4 changed files with 11 additions and 6 deletions
|
@ -45,8 +45,7 @@ namespace q {
|
|||
for (expr* e : exp) {
|
||||
sat::literal lit = ctx.internalize(e, l.sign(), false, false);
|
||||
add_clause(~l, lit);
|
||||
if (ctx.relevancy_enabled())
|
||||
ctx.add_root(~l, lit);
|
||||
ctx.add_aux(~l, lit);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
@ -56,14 +55,14 @@ namespace q {
|
|||
for (expr* e : exp)
|
||||
lits.push_back(ctx.internalize(e, l.sign(), false, false));
|
||||
add_clause(lits);
|
||||
ctx.add_root(lits);
|
||||
ctx.add_aux(lits);
|
||||
return;
|
||||
}
|
||||
|
||||
if (l.sign() == is_forall(e)) {
|
||||
sat::literal lit = skolemize(q);
|
||||
add_clause(~l, lit);
|
||||
ctx.add_root(~l, lit);
|
||||
ctx.add_aux(~l, lit);
|
||||
}
|
||||
else {
|
||||
ctx.push_vec(m_universal, l);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue