--
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+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/tlaplus/fa267fbb-f81c-4739-9801-5c5f9852da41n%40googlegroups.com.
On the PlusCal side there is also Distributed PlusCal [PDF] which as I understand it adds message passing primitives to the language
To view this discussion visit https://groups.google.com/d/msgid/tlaplus/CABj%3DxUU_gJb86jUazO5PKQXZDFuqa8HxtnKNePrUbh8QE5cs6Q%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/tlaplus/E50C9B0D-FDB4-4F70-9BC8-672372C9C055%40gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/tlaplus/CABj%3DxUWGQ%3DQKUTHs6hVtpUJJnRXuUvs3U5qe3%2BhCs%3DZCYdSCcg%40mail.gmail.com.
(I tried sending this message multiple times but somehow it shows
up as deleted instantly, hopefully it is not duplicated)
Thank you everyone for the responses! As Markus says, there is no
"best formalism" and no need to pick the "right" level of detail
up front; instead, refinement can be used to add incremental
details. However, I still think some of the approaches are worse
than others. For example, depending on the way duplicates* and
drops are formalized, we end up effectively model-checking the
network abstraction and not the algorithm itself. In approaches
(2) to (6) from Andrew's message, the following:
Send(m) -> Duplicate(m) -> Send(m) -> ... -> Drop(m)
-> Receive(m)
generate distinct states for the _network_ but from the point of
view of our algorithm this is equivalent to:
Send(m) -> Receive(m)
Instead, when using a set with no removal of messages, new states
are only generated if sending or receiving multiple times affects
the algorithm state itself. To me, this makes using a set agnostic
to the algorithm as new states are generated only if relevant to
the specifics of the algorithm.
Alberto.
*: At the protocol level or at the network level.
To view this discussion visit https://groups.google.com/d/msgid/tlaplus/CAL9hw27Y_R%3D41vZF9W2Qx%2BJ4-4gSNiPsgDjSq7d32uu0CgD%2B8g%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/tlaplus/6b4f0628-03e2-4586-94db-8e3e0ce3003b%40gmail.com.