Hello Pedro, LET r == CHOOSE x \in {"ok", "error"}: TRUE IN ... However, CHOOSE models deterministic (although arbitrary) choice, so r will either always equal "ok" or always equal "error". You certainly want the choice to be non-deterministic (i.e., both results may occur and will be explored by the model checker). You should therefore write \E r \in {"ok", "error"} : ... Regards, Stephan P.S.: What a strange idea to attach an RTF file produced from a TLA+ specification rather than the original module!
|