The thing I don't understand is how should I compute 'the maximum of the c(n) for all nodes n', so the maximum of 'Dist(n, Ldr(n))'.
Is this just 'Max(Dist(all_nodes))', so it depends only on Nbrs?
Also the file Leader.tla in TLC gives me:
Evaluating assumption line 62, col 8 to line 65, col 68 of module Leader failed.
Attempted to check if the value:
1
is an element of the string "Reals"
Is it okay if I change:
{MsgDelay, TODelay, Period} \subseteq {r \in Real : r > 0}
to:
{MsgDelay, TODelay, Period} \subseteq Nat
?