-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add support for replace_re
#102
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good to me in general. Will approve if the experiments run correctly.
if(axiomatized_persist_terms.contains(e)) | ||
return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this if check necessary? Why can it be run multiple times on the same e
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not completely sure, we have it also in other handle
functions. I think z3 can send us the same term multiple times. It might be better to do it in relevant_eh()
instead of in every handle
function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, there might be multiple occurrences of the syntactically same predicates/functions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That makes sense. Thanks for the explanation. Should we move these into the parent handler instead of copying them to every function, as suggested above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is possible, but it is not that easy. Negated predicates are in the positive form in fact (sign is given by a Boolean flag). Maybe there are some other problems, not sure now. I would keep it as it is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. Let us just keep this as it is. I consider this conversation to be resolved.
On |
For the 2 instances with only |
Simple axiomization for
replace_re
. Needs to run experiments.