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

Twostate greatest predicates #1296

Open
fpoli opened this issue Jul 13, 2021 · 1 comment
Open

Twostate greatest predicates #1296

fpoli opened this issue Jul 13, 2021 · 1 comment
Labels
kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny part: language definition Relating to the Dafny language definition itself

Comments

@fpoli
Copy link
Contributor

fpoli commented Jul 13, 2021

Are twostate greatest predicates supported? The following program fails with Error: lemma expected.

greatest predicate foo() { true } // Ok

twostate greatest predicate bar() { true } // Error: lemma expected
@RustanLeino
Copy link
Collaborator

A greatest predicate currently does not support twostate. It could, in principle, so I'll mark this issue as a feature request. It's not common for least/greatest predicates to make any use of the heap.

@RustanLeino RustanLeino added the kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny label Jul 13, 2021
@keyboardDrummer keyboardDrummer added the part: language definition Relating to the Dafny language definition itself label Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny part: language definition Relating to the Dafny language definition itself
Projects
None yet
Development

No branches or pull requests

3 participants