Which lemmas are destroyed on pop
?
#7239
Unanswered
sreeshmaheshwar
asked this question in
Q&A
Replies: 2 comments 2 replies
-
All assertions are removed after pop. |
Beta Was this translation helpful? Give feedback.
2 replies
-
It is unsound to keep lemmas and assertions created under a push. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the following use case (using the default
smt
engine, notsat
and no simplifiers)am I actually solving incrementally using prior learned lemmas (I'm pretty sure I am but not concretely sure why)? This https://stackoverflow.com/a/23739636 makes me think that lemmas regarding the
assert
s at the start are maintained after thepop
and so can be reused, but https://stackoverflow.com/a/40427658 makes me think that returning to the frozen state onpop
discards all lemmas learnt during(check-sat)
(which I'd guess is all of them?).Beta Was this translation helpful? Give feedback.
All reactions