Go backward to Simultaneous Definitions Go up to Top Go forward to Example |
C[[while B do C]] =
fix(lambda f. lambda s. B[[B]]s
-> f(C[[C]]s) [] s)
Function: Store_|_ -> Store_|_
Example:
C[[while A>0 do (A:=A-1; B:=B+1)]]
= fix F where
F = lambda f. lambda s. test s
-> f(adjust s) [] s
test = B[[A > 0]]
adjust = C[[A:=A-1; B:=B+1]]
Partial function graphs: