[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlaplus] TLC report an unexpected runtime error
Hi Vince,
no, the disjunct on line 362 does *not* prevent m.mentries from equaling <<>> on line 364.
Recall that the variable x will non-deterministically equal 42 or -42 in the next state.
Next ==
\/ /\ x = 42
/\ x’ = x
\/ /\ x = 42
/\ x’ = -42
Markus
> On Dec 1, 2022, at 5:45 PM, Vince Wu <fzuwwl@xxxxxxxxx> wrote:
>
> the TLA+ code trigger this error was at line `364 /\ log[i][index].term = m.mentries[1].term` which I think it should not happend since line `362 /\ \/ m.mentries = << >>` has a check that ensure `m.mentries` is no empty:
>
--
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/B88B7C9D-C6D1-4176-9D5F-23EC09E8180E%40lemmster.de.