@@ -23,14 +23,12 @@ VARIABLES x, \* Abstract/very high-level representation of the overall computati
2323 y , \* Represents the phase that the composed system is in.
2424 \* This toy example has three phases: <<"A", "B", "C">>.
2525 z \* z is the variable that is only going to be present in spec A.
26- , zz \* The more the merrier.
27- varsA == << x , y , z , zz >>
26+ varsA == << x , y , z >>
2827
2928InitA ==
3029 /\ x = 0
3130 /\ y = "A"
3231 /\ z = TRUE
33- /\ zz = FALSE \* Could happen to be zz=TRUE.
3432
3533NextA ==
3634 /\ y = "A"
@@ -39,7 +37,6 @@ NextA ==
3937 THEN y ' = "B"
4038 ELSE UNCHANGED y
4139 /\ z ' = ~ z
42- /\ zz ' = ~ zz
4340
4441==================================
4542
@@ -86,7 +83,7 @@ vars ==
8683(* Down here we know about the internals *)
8784(* of spec A and B (whitebox component). *)
8885
89- INSTANCE A WITH z <- restOfTheUniverse , zz <- restOfTheUniverse
86+ INSTANCE A WITH z <- restOfTheUniverse
9087
9188Spec == InitA /\ InitB /\ [] [ \/ [ NextA ]_ vars
9289 \/ [ OpenNextB ]_ vars
@@ -97,6 +94,6 @@ THEOREM Spec => Inv
9794
9895=============================================================================
9996\* Modification History
100- \* Last modified Fri Jun 12 16:44:17 PDT 2020 by markus
97+ \* Last modified Fri Jun 12 17:30:28 PDT 2020 by markus
10198\* Last modified Fri Jun 12 16:30:19 PDT 2020 by Markus Kuppe
10299\* Created Fri Jun 12 10:30:09 PDT 2020 by Leslie Lamport
0 commit comments