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 existential quantifier for future expressions #3

Open
phiros opened this issue Jan 20, 2019 · 1 comment
Open

Support existential quantifier for future expressions #3

phiros opened this issue Jan 20, 2019 · 1 comment

Comments

@phiros
Copy link
Collaborator

phiros commented Jan 20, 2019

Currently, the model checker only supports the forall quantifiers for future expressions. It would be cool if it could also support the existential quantifier (i.e. ).

This would enable a user to express things like:

behavior of "Philosophers"
  they should "not starve" in atLeastOneInterleaving {
    implicit tec =>
      new Philosophers(5).run will not complete
  }
@phiros phiros changed the title Support existential quantifier Support existential quantifier for future expressions Jan 20, 2019
@Jentsch
Copy link
Owner

Jentsch commented Mar 6, 2019

Now it's possible to test for never completing futures. Tests for ∃ or could is right now a bit broken. Aside from that bug, this functionality should be right now available.

Example:

behavior of "Philosophers"
they should "not starve" in everyInterleaving {
  implicit tec =>
    new Philosophers(5).run willNot complete
}

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

2 participants