-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question regarding Context + constraints removal #5
Comments
Not really. https://yices.csl.sri.com/doc/context-operations.html has all the C operations that we wrap. Push and pop are the SMT way. |
@ianamason thanks for the quick answer :D Regarding [1]: this is how I've already implemented it, however, it seems that the new THANKS! |
Yes in your cloned context you would have to re-assert the saved list of ints, thats what you mean by losing |
Yep, the issue is exactly the one you pointed out. |
I don't think so. I think push/pop is the way to go, right @BrunoDutertre ? |
@ianamason @BrunoDutertre actually, on a second thought, I'm afraid |
Hey guys!
I have a couple of quick questions:
[1]
Is there a simple way to create a new
Context
starting from another?The idea would be:
1- Create
ContextA
, assert formulas, check sat, etc...2- Create
ContextB
that get initialized withContextA
"state".3-
ContextB
from now on has its own lifecycle.[2]
Is there a way to remove constraints from the Context using the Python APIs? (Besides using
push
andpop
)I've already checked this, but since I didn't find anything I thought it was worth asking.
Thanks! :)
The text was updated successfully, but these errors were encountered: