summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--storage/specs/bucketinfo/bucketinfo.tla6
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/specs/bucketinfo/bucketinfo.tla b/storage/specs/bucketinfo/bucketinfo.tla
index 8224ff6a4f1..8ce604a029c 100644
--- a/storage/specs/bucketinfo/bucketinfo.tla
+++ b/storage/specs/bucketinfo/bucketinfo.tla
@@ -61,7 +61,7 @@ variables
messages = {}; \* model messages as unordered set to test reordering "for free"
define
- SeqToSet(s) == {s[i]: i \in 1..Len(s)}
+ SeqToSet(s) == {s[i]: i \in DOMAIN s}
HasMessage(t, d) == \E m \in messages: (m.type = t /\ m.dest = d)
@@ -368,11 +368,11 @@ end process;
end algorithm;*)
-\* BEGIN TRANSLATION (chksum(pcal) = "7a179595" /\ chksum(tla) = "2d89f470")
+\* BEGIN TRANSLATION (chksum(pcal) = "7a26a2a5" /\ chksum(tla) = "379d6205")
VARIABLES proposedMuts, publishedStates, storEpoch, messages
(* define statement *)
-SeqToSet(s) == {s[i]: i \in 1..Len(s)}
+SeqToSet(s) == {s[i]: i \in DOMAIN s}
HasMessage(t, d) == \E m \in messages: (m.type = t /\ m.dest = d)