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

*From*: Markus Kuppe <tlaplus-google-group@xxxxxxxxxxx>*Date*: Mon, 3 Oct 2022 10:22:34 -0700*References*: <06fca6632f504b478c31b1f6be21c04b@kth.se>

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.

**References**:**[tlaplus] Some questions from a beginner***From:*Xindi Liu

- Prev by Date:
**[tlaplus] Some questions from a beginner** - Next by Date:
**[tlaplus] problem defining a set** - Previous by thread:
**[tlaplus] Some questions from a beginner** - Next by thread:
**[tlaplus] problem defining a set** - Index(es):