-
-
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
Temporal translation broken with nested temporal subformulas and quantifiers #2746
Comments
@p-offtermatt Do you remember if you considered this during your internship? |
Are we talking about |
This is non-blocking, I just created the issue to have it on file. |
iirc this is not supported at all - I remember stumbling over this and I think the decision was to focus on the non-quantifier case, and the quantified temporal-formula case was never finished |
I think for many specs we can work around that. Even in the draft spec that I have written, I first had written temporal formulas where indices don't range over temporal operators (because that is what I am used to in the parameterized case). But then I realized that to others (e.g., clients), the formula that creates the troubles might be more readable. From a user perspective, the error message was a bit frightening, though. Would it be hard to identify whether the temporal formula is outside of the fragment Apalache supports, and in this case return a better error message? |
Yes, we should issue a proper error message if the property is outside the supported language fragment. |
Translation of temporal properties is broken, if the property contains nested temporal subformulas and quantifiers.
Take the temporal property of the MWE below;
In the temporal encoding, the binding under
\A
is lost inNext
by introducing literals for the temporal subformulas. In particular, afterTemporalPass
, the encoding is:Obviously, in
Step
,i$2
is not bound.Impact
I believe this is nonblocking, but it affects @josef-widder's Quint spec for Polygon.
Input specification
The command line parameters used to run the tool
Expected behavior
Log files
System information
v0.43.0-12-g7303626a2 build v0.43.0-12-g7303626a2
Mac OS X
17.0.2
Triage checklist (for maintainers)
The text was updated successfully, but these errors were encountered: