3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-11-28 00:09:49 +00:00

ground lemmas during propagation when qlemmas are disabled

When asserting quantified lemmas are disabled, ground a lemma
explicitly during propagate to make sure that it is ground using our
local set of skolem constants.
This commit is contained in:
Arie Gurfinkel 2017-08-04 16:12:32 -04:00
parent 5da0753269
commit 9f0eb367b1
2 changed files with 15 additions and 15 deletions

View file

@ -769,7 +769,7 @@ bool pred_transformer::is_invariant(unsigned level, expr* lemma,
expr_ref_vector conj(m), aux(m);
expr_ref glemma(m);
if (false && is_quantifier(lemma)) {
if (!get_context().use_qlemmas() && is_quantifier(lemma)) {
SASSERT(is_forall(lemma));
app_ref_vector tmp(m);
ground_expr(to_quantifier(lemma)->get_expr (), glemma, tmp);