-
Notifications
You must be signed in to change notification settings - Fork 12
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
TLSF allows identifiers with primes, but prime means "next" in Slugs output #6
Comments
It should also be noted that SlugsIn is a lower-level format where no temporal |
Primes usually occur in function names to denote an updated or extended version of a function. This is why they are part of the identifier syntax at the moment. However, I agree that it might be confusing if primes are used for input and output signals. We will disuss a possible restriction of the signal identifier symbols for the next version of TLSF. For the current version, I would suggest to use both, the second and the third solution together. Hence, we first add an option that allows to change the prime symbol (similar to the 'delimiter' option), which is set to the prime symbol by default. Hence, as long as the option is not changed everything works as before. Furthermore, for formats causing problems, such as Additionally, we try to take care that primes are not used for input and output signals during the competition to avoid conflicts for later changes and updates. |
Thanks for the explanation. Primes are quite widely used, in various temporal logics to denote the next values of variables, so users are likely to expect that meaning. If not used at all in SYNTCOMP, then the issue doesn't seem to have any other effect. If renaming is used, then the same comments apply as for #11, regarding variable names and |
You can now replace the symbols by using the Beside that, we also will take care that all benchmarks used for the competition are prime free. |
The TLSF format allows variable names that contain the character
'
, for example:But
syfco --mode fully -f slugs primed_identifiers.tlsf
produces the invalid output:However the prime is interpreted (character in variable name, or next operator), the above does not correspond to the input.
Moreover, the prime is used as the next operator in several tools (
gr1c
,slugs
, widely used logics in the literature). The possible solutions appear to be:prone to errors in wider use or if forgotten
syfco
:changes variable names used in TLSF and output, which makes tracking things more difficult).
X
in the output:some tools (like
gr1c
) don't supportX
at all, and others (likeomega
andtulip
support both'
andX
for "next", so they would be confused.Therefore, alternative No.1 seems preferable.
The text was updated successfully, but these errors were encountered: