learning_tla/learn_tla/topics/topics3_pcal.tla
2025-02-14 18:02:07 +01:00

29 lines
534 B
Text

---- MODULE topics3_pcal ----
(*--algorithm topics3_pcal
begin
skip;
end algorithm
*)
\* BEGIN TRANSLATION (chksum(pcal) = "3a23e9ee" /\ chksum(tla) = "af3d9146")
VARIABLE pc
vars == << pc >>
Init == /\ pc = "Lbl_1"
Lbl_1 == /\ pc = "Lbl_1"
/\ TRUE
/\ pc' = "Done"
(* Allow infinite stuttering to prevent deadlock on termination. *)
Terminating == pc = "Done" /\ UNCHANGED vars
Next == Lbl_1
\/ Terminating
Spec == Init /\ [][Next]_vars
Termination == <>(pc = "Done")
\* END TRANSLATION
====