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

Support quantifiers inside pure functions #93

Closed
mueller55 opened this issue Jul 2, 2020 · 1 comment
Closed

Support quantifiers inside pure functions #93

mueller55 opened this issue Jul 2, 2020 · 1 comment
Labels
enhancement New feature or request to-check

Comments

@mueller55
Copy link

When pure functions are used to abbreviate recurring assertions (e.g. invariants that are conjoined to many pre- and postconditions), it would be useful if one could write (pure) assertions, in particular, quantifiers in their bodies.

There are various alternative designs (e.g., using postconditions of abstract functions, using macros), but those have subtle implications for triggering. So we need to explore what the best option is. We might even have to change Viper to avoid matching loops.

@mueller55 mueller55 added the enhancement New feature or request label Jul 2, 2020
@fpoli fpoli changed the title Quantifiers inside pure functions Support quantifiers inside pure functions Sep 17, 2020
@Aurel300
Copy link
Member

This should be covered by #390.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request to-check
Projects
None yet
Development

No branches or pull requests

3 participants