Skip to content

Commit

Permalink
rename files
Browse files Browse the repository at this point in the history
Signed-off-by: Giuliano Losa <[email protected]>
  • Loading branch information
nano-o committed Jan 22, 2024
1 parent 05ebed1 commit fb0b1d8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -1263,14 +1263,14 @@
]
},
{
"path": "specifications/Paxos/VotingApalache.tla",
"path": "specifications/Paxos/Voting2.tla",
"communityDependencies": [],
"tlaLanguageVersion": 2,
"features": [],
"models": []
},
{
"path": "specifications/Paxos/MCVotingApalache.tla",
"path": "specifications/Paxos/ApaVoting2.tla",
"communityDependencies": [],
"tlaLanguageVersion": 2,
"features": [],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--------------------------- MODULE MCVotingApalache -------------------------------
--------------------------- MODULE ApaVoting2 -------------------------------

(*********************************************************************************)
(* In this module we instantiate VotingApalache with small constants in order to *)
Expand All @@ -25,7 +25,7 @@ VARIABLES
\* @type: ACCEPTOR -> Int;
maxBal

INSTANCE VotingApalache
INSTANCE Voting2

\* To install `^Apalache,^' see the `^Apalache^' website at `^https://apalache.informal.systems/^'.
\* Note that this is not necessary if you are using the devcontainer, as `^Apalache,^' is already installed.
Expand Down
8 changes: 4 additions & 4 deletions specifications/Paxos/README
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ MCPaxos
for the user to write such specs, essentially producing them
itself from the models defined by the user.

VotingApalache
Voting2
A version of the Voting specification that can be analyzed
by the Apalache model-checker. Also contains an inductive
invariant that Apalache can verify for small system sizes.
MCVotingApalache
Specification used to model-check VotingApalache with the
Apalache model-checker.
ApaVoting2
Specification used to model-check Voting2 with the Apalache
model-checker.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
------------------------------- MODULE VotingApalache -------------------------------
------------------------------- MODULE Voting2 -------------------------------

(***********************************************************************************)
(* This is a version of `^Voting.tla^' that can be analyzed by the `^Apalache^' *)
Expand All @@ -13,7 +13,7 @@
(* We also give an inductive invariant that proves the consistency property. On a *)
(* desktop computer from 2022, `^Apalache^' takes 1 minute and 45 seconds to check *)
(* that the invariant is inductive when there are 3 values, 3 processes, and 4 *)
(* ballots. For model-checking with `^Apalache,^'see `^MCVotingApalache.tla^'. *)
(* ballots. For model-checking with `^Apalache,^'see `^ApaVoting2.tla^'. *)
(***********************************************************************************)

EXTENDS Integers
Expand Down Expand Up @@ -106,6 +106,5 @@ Invariant ==
/\ OneValuePerBallot
/\ NoVoteAfterMaxBal
/\ Consistency
Invariant_ == Invariant

=====================================================================================

0 comments on commit fb0b1d8

Please sign in to comment.