You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfold definitions of recursive operators by using an upper bound on the number of calls.
Consider the following TLA+ code:
RECURSIVESum(_)Sum(S)==IFS={}THEN0ELSELETn=CHOOSEx\in S:TRUEINn+Sum(S\{n})\* an upper bound on the number of unfoldingsSum_unfold_count==3\* a failure expression to be used when the upper bound has been exceededSum_unfold_fail==CHOOSEx\in{}:TRUE\* the expression should be type-compatibleTest==Sum({3,4})
As a result of rewriting, Test should be rewritten as:
Unfold definitions of recursive operators by using an upper bound on the number of calls.
Consider the following TLA+ code:
As a result of rewriting,
Test
should be rewritten as:The text was updated successfully, but these errors were encountered: