-
Notifications
You must be signed in to change notification settings - Fork 1
/
SpireLive.tla
21 lines (18 loc) · 947 Bytes
/
SpireLive.tla
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---- MODULE SpireLive ----
(*****************************************************************************)
(* Extension of the base `Spire' module to facilitate bounded model *)
(* checking of its liveness property. *)
(*****************************************************************************)
EXTENDS Spire, TLC
CONSTANTS MaxRound \* an upper bound on `Rounds'
\* A finite set of rounds, required for bounded model checking.
FiniteRounds == 0..MaxRound
----
(*****************************************************************************)
(* Eventually, either a value is chosen or the bounded model runs out of *)
(* round numbers. *)
(*****************************************************************************)
TemporalProperties ==
<>[](ENABLED Decided \/ ENABLED Terminated)
FairSpec == Spec /\ WF_vars(Next)
====