-
Notifications
You must be signed in to change notification settings - Fork 40
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
Trigger inference infers invalid triggers #687
Comments
Why is a |
The trigger generation code (I think only in Silicon?) does it when all possible trigger expressions it finds in the quantifier body contain arithmetic, like in this example. |
I see, thanks! Just to be sure, the extra quantified variable can only be introduced when the user does not specify the triggers, right? Otherwise it'd be really hard to reason about the maximum number of QI of domain axioms. |
As far as I know that's correct, yes. |
If one tries to verify the following Viper program:
they will get the following error message:
which shows that Viper inferred invalid triggers for the quantifier.
Z3 rejects this trigger, as witnessed by the following message in the log:
cc @marcoeilers
The credit for noticing this goes to Olivia.
The text was updated successfully, but these errors were encountered: