[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlaplus] How to express this set comprehension in TLA+?
I want to express the following set comprehension (as a simplied example)
{<<x, y>> : x \in 1 .. 2, y \in 1 .. 2, y # x}
in TLA+ and expect the result {<<1, 2>>, <<2, 1>>}.
Note that the third condition "y # x" uses variable "x".
However, I got a parse error.
How should I correctly express it in TLA+?
Best regards,
hengxin
--
You received this message because you are subscribed to the Google Groups "tlaplus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+unsubscribe@xxxxxxxxxxxxxxxx.
To view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/dbff9f03-c5bf-45cc-a9f9-b361b98cb278n%40googlegroups.com.