-
Notifications
You must be signed in to change notification settings - Fork 39
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
assume
is not propagated to Apalache
#1450
Comments
@bugarela From what I can tell, the |
Yes @romac, anything not used is discarded in flattening. Here, init and step are implicitly used, because the default values of I think the problem with |
Right, so I guess a potential solution would be to implicitly reference or copy all assumptions from imported modules?
What I would suggest doing is first ensure we do not loseassumptions in the first place, so that they will be passed along to Apalache already. Then we can figure out how to check them during simulation. Would that work for you? |
I believe I managed to implement assumptions checking in the simulator, but of course right it only works if the assumption is in the main module: #1487 |
Consider
assumes.qnt
:Running
quint verify
does not result into any warnings or error messages, even though the assumption ofMajority
is obviously violated:The text was updated successfully, but these errors were encountered: