Skip to content

Commit

Permalink
Added Pluscal version of the key-value store with snapshot isolation,…
Browse files Browse the repository at this point in the history
… instantiated clientcentric checking to model check for snapshot isolation properly, added LICENSE for clientcentric module and modified the manifest

Signed-off-by: Murat Demirbas <[email protected]>
  • Loading branch information
Murat Demirbas committed Aug 9, 2023
1 parent adb3d2a commit 8687adf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions specifications/KeyValueStore/Util.tla
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-------------------------------- MODULE Util --------------------------------
EXTENDS Sequences, FiniteSets, Functions, Naturals, TLC
EXTENDS Sequences, Functions, Naturals, TLC
\* Simple utility functions
intersects(a, b) == (Cardinality(a \cap b) > 0)
intersects(a, b) == a \cap b # {}
max(s) == CHOOSE i \in s : (~\E j \in s : j > i)
min(s) == CHOOSE i \in s : (~\E j \in s : j < i)

Expand Down Expand Up @@ -41,5 +41,5 @@ test(lhs, rhs) == lhs /= rhs => Print(<<lhs, " IS NOT ", rhs>>, FALSE)

=============================================================================
\* Modification History
\* Last modified Tue Jun 16 12:04:20 CEST 2020 by tim
\* Last modified Sun Aug 05 16:44:44 ET 2023 by murat
\* Created Tue Apr 28 16:43:24 CEST 2020 by tim

0 comments on commit 8687adf

Please sign in to comment.