[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlaplus] specify two different elements in a set



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.