Skip to content

Unexpected behavior (negations?) #2528

Answered by quentin
iowaguy asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, your comment is a bit misleading here, suggesting that any combination is possible:

G(x, v, z),
   // expected results to this point: v=2,6; x=1,5; y=; z=4,8;

The variable assignments can't be considered independently of each others.
Instead you have to think in tuples:

G(x, v, z)
// expected results to this point: (x, v, z) in {(1, 2, 4), (5, 6, 8)}

I invite you to continue the reasoning in terms of tuples and you will eventually find that there is not tuple in E that contradicts the Test output.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@iowaguy
Comment options

Answer selected by iowaguy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants