Elm Exactly

Rule 170e-msg-port

Messages⊢c◃x⇒v\effrecv{\effc}{\effx}{v}
Decτ(j)=v′⊢v v′⇒v′′⊢leaf(in(p,τ),v)◃(p,j)⇒v′′\frac{\begin{array}{c}\Dec{\tau}(j)=v'\premsep\japp{v}{v'}{v''}\end{array}}{\begin{array}{c}\effrecv{\effleaf(\effmin(\effp,\tau),v)}{(\effp,j)}{v''}\end{array}}
(170)
Read it in its chapter·Permanent address: /standard/rules/e-msg-port

Comments

The port name of the input must be that of the manager, so a boundary value arriving at one port gives no message through a leaf of another. When Decτ(j)\Dec{\tau}(j) is undefined, no rule applies, and the leaf gives no message.

TeX source
\defnrule[r:e-msg-port]
  {\Dec{\tau}(j)=v'\premsep\japp{v}{v'}{v''}}
  {\effrecv{\effleaf(\effmin(\effp,\tau),v)}{(\effp,j)}{v''}}

Tests (5)

Discussions

Discuss this rule·Search the discussions on GitHub

Discussions are on GitHub; one about this rule has [r:e-msg-port] in its title.

A Standard Definition of Elm? (Draft version 0.4) © Rupert Smith. The text is licensed under CC BY 4.0: share and adapt it freely, with credit and a link to the licence.