Hello, 1. "not equal" is written # in TLA+ (or /=), "~" is Boolean negation. 2. I believe "->" represents implication in your formula, but it is written "=>" in TLA+. 3. The expressions on both sides of an implication should be Boolean, but the _expression_ on the right-hand side is y-1. 4. The (action) formula corresponding to your informal statement can be written as \/ y' = 0 \/ y # 0 /\ y' = y-1 A similar formula (but with a slightly different meaning) is y' = IF y # 0 THEN y-1 ELSE 0 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/09E12A1A-7A9E-4A1D-9B43-7048C57AE425%40gmail.com. |