Skip to content
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

Match Term creation (sometimes) #205

Open
SpringVaS opened this issue Apr 1, 2021 · 1 comment
Open

Match Term creation (sometimes) #205

SpringVaS opened this issue Apr 1, 2021 · 1 comment

Comments

@SpringVaS
Copy link
Collaborator

I observed that in one particular PVC, a match term is created that cannot be matched and thus raises an exception upon script interpretation. It happens in the PVC 'List.size/Null' of the ListExample AlgoVerList.dfy when applying the 'expand' rule on the first term in the antecedent this.Valid().
Expected: The term should match. Other PVCs have "simpler" antecedents, where a smaller, more unspecific match term matches this.Valid(). This cannot be guaranteed for all PVCs.
Screenshot from 2021-04-01 08-51-10
texterror
seqexc

@SpringVaS
Copy link
Collaborator Author

The function parameters for List.Valid(), i.e., this: List and heap(), are replaced by Wildcards "_" when the match term is created. The resultting term cannon be parsed, see Exception stack trace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant