---------- MODULE test ----------
EXTENDS TLC
\* Example: {0,1}
CONSTANT constantDataSet
VARIABLE stateA, unusedState
vars == << unusedState, stateA >>
testAction ==
/\ \E x \in constantDataSet :
/\ x \notin stateA
/\ stateA' = stateA \union {x}
next == \/ (testAction /\ UNCHANGED << unusedState >>)
init == /\ unusedState = {}
/\ stateA = {}
spec ==
/\ init
/\ [][next]_vars
/\ WF_vars(testAction)
livenessPropertyToTest ==
<>[](constantDataSet \subseteq stateA /\ stateA \subseteq constantDataSet)
==================================