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

Error checking is matrix is in set of sequence #507

Open
ChrisJefferson opened this issue Apr 6, 2022 · 0 comments
Open

Error checking is matrix is in set of sequence #507

ChrisJefferson opened this issue Apr 6, 2022 · 0 comments

Comments

@ChrisJefferson
Copy link
Collaborator

I'm not 100% sure this is even valid (I'm mixing sequences and matrices), but it tells me "this should never happen" :)

language Essence 1.3

find ixmat: set of sequence (size 5) of int(1..3)

find y : bool

such that
$ This works
           ( y = ([1,2,1,2,1] in ixmat) )

such that
$ This doesn't
forAll ix : matrix indexed by [int(1..5)] of int(1..3).
    ( y = (ix in ixmat) )

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