mirror of
https://github.com/Z3Prover/z3
synced 2025-11-22 05:36:41 +00:00
Pin lemmas so that they don't disappear
This commit is contained in:
parent
ebfb2a4a1e
commit
61cd74818f
2 changed files with 9 additions and 5 deletions
|
|
@ -1834,6 +1834,9 @@ bool pred_transformer::frames::add_lemma(lemma *new_lemma)
|
|||
|
||||
// new_lemma is really new
|
||||
m_lemmas.push_back(new_lemma);
|
||||
// XXX because m_lemmas is reduced, keep secondary vector of all lemmas
|
||||
// XXX so that pob can refer to its lemmas without creating reference cycles
|
||||
m_pinned_lemmas.push_back(new_lemma);
|
||||
m_sorted = false;
|
||||
m_pt.add_lemma_core(new_lemma);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue