learning_tla/lamport_video/specs/TwoPhase.cfg
2025-02-17 18:08:25 +01:00

26 lines
857 B
INI

(**********************************************)
(* Initial predicate and next-state relation. *)
(* Alternatively, you can comment out these *)
(* and use SPECIFICATION. *)
(**********************************************)
SPECIFICATION TPSpec
\*INIT TPInit
\*NEXT TPNext
(**********************************************)
(* Specify the values of declared constants. *)
(**********************************************)
\* CONSTANT MyConstant = {0, 1}
CONSTANT RM = {r, s}
(**********************************************)
(* Formulas true in every reachable state. *)
(**********************************************)
\* INVARIANT MyInvariant
(**********************************************)
(* Disable checking deadlock. *)
(**********************************************)
\* CHECK_DEADLOCK FALSE
PROPERTY TCSpec