new to TLA: difference between if-then-else and logic or
46 views
Skip to first unread message
Yong Liu
unread,
Feb 19, 2018, 2:20:58 AM2/19/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tlaplus
Hi all,
I'm new to TLA+.
I tried the HourClock example, and found it will fail after I replace:
HCnxt == hr' = IF hr # 12 THEN hr + 1 ELSE 1
to
HCnxt == \/ hr # 12 /\ hr' = hr + 1
\/ hr <=> 12 /\ hr' = 1
I think above statements are equivalent, if not, please kindly let me know the difference.