Elm Exactly

Rule 193p-wait

TransitionsK→⟨ℓ⟩K′K\step{\opt{\ell}}K'
d>0(s,v,M,P,sb,Q,H)→wait d(s+d,v,M,P,sb,Q,H)\frac{\begin{array}{c}d>0\end{array}}{\begin{array}{c}(s,v,M,P,\sbv,Q,H)\step{\pgwait\,d}(s+d,v,M,P,\sbv,Q,H)\end{array}}
(193)
Read it in its chapter·Permanent address: /standard/rules/p-wait

Comments

Time passes only in this rule, and every other transition takes no time. Since this rule applies to every configuration, the definition requires no step to happen by any time: only the lower bound of rule (185), and what the platform imposes on its own steps, relate the steps of a program to time.

TeX source
\defnrule[r:p-wait]
  {d>0}
  {(s,v,M,P,\sbv,Q,H)\step{\pgwait\,d}(s+d,v,M,P,\sbv,Q,H)}

Tests (3)

Discussions

Discuss this rule·Search the discussions on GitHub

Discussions are on GitHub; one about this rule has [r:p-wait] 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.