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

Re: [tlaplus] Some questions from a beginner



temp' \in -273..-264


{-273..-264} equals a *set containing the set* of numbers -237 to -264.

Markus


> On Oct 3, 2022, at 10:07 AM, Xindi Liu <xindi@xxxxxx> wrote:
> 
> Hi.
> How to specify that a variable can non deterministicly change to one value in a set? Assume that I have a tempetarue sensor that detects the temperature, that value should be any value in the set {-273..-264} in each state.
> I tried many combinations such like 
> next_temp == temp \in {-273..-264}
> next_temp == temp' \in {-273..-264}
> But the result is either that the variable is undefined or I am comparing an integer with a set (I specified the initial value of it).
> 
> Thank you very much!

-- 
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/561573CF-9E58-4B70-8D25-FFE0E61C466C%40lemmster.de.