Hello, constant expressions involve only constant operators, no variables, no primes, no temporal formulas. You can read more about levels of TLA formulas in chapter 16 of "Specifying Systems". You can use that functionality in order to evaluate constant expressions such as { 2*i+1 : i \in 0 .. 5 } What you are really trying to do is check an invariant of a specification. To do that, tell TLC to interpret "Spec" as the specification that you are checking and "Init" as the invariant to check. For example, in the TLA+ Toolbox, create a new model, make sure that Spec appears in the "What is the behavior spec?" section of the Model Overview pane, and add Inv as an invariant in the "What to check?" section of that pane. Hope this helps, Stephan
--
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/9EAB03D6-B561-46D9-A4E9-63C7ACA4449C%40gmail.com. |