add small models

This commit is contained in:
Arseny Sher
2024-12-02 12:26:06 +01:00
parent db343caf5d
commit 691c290280
2 changed files with 21 additions and 5 deletions

View File

@@ -1,11 +1,10 @@
\* A minimal reconfiguration model.
CONSTANTS
NULL = NULL
proposers = {p1, p2}
acceptors = {a1, a2, a3}
acceptors = {a1, a2}
max_term = 2
max_entries = 2
max_generation = 2
max_generation = 3
SPECIFICATION Spec
CONSTRAINT StateConstraint
INVARIANT
@@ -13,8 +12,7 @@ TypeOk
ElectionSafetyFull
LogIsMonotonic
LogSafety
CommittedNotTruncated
\* CommittedNotTruncated
SYMMETRY ProposerAcceptorSymmetry
CHECK_DEADLOCK FALSE
ALIAS Alias

View File

@@ -0,0 +1,18 @@
CONSTANTS
NULL = NULL
proposers = {p1, p2}
acceptors = {a1, a2}
max_term = 2
max_entries = 2
max_generation = 5
SPECIFICATION Spec
CONSTRAINT StateConstraint
INVARIANT
TypeOk
ElectionSafetyFull
LogIsMonotonic
LogSafety
\* CommittedNotTruncated
SYMMETRY ProposerAcceptorSymmetry
CHECK_DEADLOCK FALSE
ALIAS Alias