Outermost existential quantifier prevents solution from being found #6882
-
If all occurrences of a variable in a set of asserted formulas are existentially quantified, I don't think this change makes satisfiability of the formulas any harder. I tried a few examples to confirm that introducing such an exists preserves satisfiability but quickly found an example where this causes the result to change from For example
produces
as expected. However, existentially quantifying over
produces
Is the above behavior expected? For the above examples, we get |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Existentials and non-linear arithmetic together can throw the solver off. Try:
you'll see that z3 will produce |
Beta Was this translation helpful? Give feedback.
-
For the existential formula, by default it uses the AUFLIA tactic, which invokes the arithmetic solver that is highly incomplete with quantifiers. |
Beta Was this translation helpful? Give feedback.
Existentials and non-linear arithmetic together can throw the solver off. Try:
you'll see that z3 will produce
sat
with this tactic in your second example too.