3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-11 13:40:52 +00:00

(spacer) add instances even when a q-lemma already exists

It is possible that a new instance of a quantified lemma is discovered
even though a quantified lemma it already known. In this case, the
instance should be added to a corresponding context, even though the
lemma is not new.
This commit is contained in:
Arie Gurfinkel 2017-08-03 19:49:50 -04:00
parent e94b97376c
commit 5da0753269
2 changed files with 27 additions and 16 deletions

View file

@ -294,8 +294,9 @@ class pred_transformer {
void init_sig();
void ensure_level(unsigned level);
void add_lemma_core (lemma *lemma);
void add_lemma_from_child (pred_transformer &child, lemma *lemma, unsigned lvl);
void add_lemma_core (lemma *lemma, bool ground_only = false);
void add_lemma_from_child (pred_transformer &child, lemma *lemma,
unsigned lvl, bool ground_only = false);
void mk_assumptions(func_decl* head, expr* fml, expr_ref_vector& result);