I have the following problem. I need to convert a set into a sequence:
nbrs == {x \in {-1, 0, 1} \X
{-1, 0, 1} : x /= <<0, 0>>}
I've found 'OrderSet' from 'Practical TLA+', but using OrderSet(nbrs) causes this error in TLC:
TLC threw an unexpected exception.
This was probably caused by an error in the spec or model.
See the User Output or TLC Console for clues to what happened.
The exception was a util.WrongInvocationException
: Attempted to construct a set with too many elements (>1000000).
TLC was unable to fingerprint.
Could someone shed some light onto this, or propose alternative solution?
Help is greatly appreciated.