Your way of writing the formula is fine. Logically equivalent formulations are--\A x,y \in Nodes : x # y => ...\A x \in Nodes : \A y \in Nodes \ {x} : ...Regards,StephanOn 6 Sep 2019, at 00:01, Han <keepsimple@xxxxxxxxx> wrote:Hi,What's the proper way of specifying any two different elements from a set? Currently I am doing something like this (i.e. check x = y in addition to real conditions)Inv == /\ \A x, y \in Nodes: (x = y \/ values[x] \cap values[y] = {})(values is not relevant here)I'm curious, Is there a more concise way?thanks.Han--
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/CAEjGaqdFBoPgKdM40MW5-eBsAsrmHjvRo_EXERyN3CdEJoMa2w%40mail.gmail.com.
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/ECE5748B-34C2-480B-BB27-603B0F7708C0%40gmail.com.