Skip to content

Commit e0c2985

Browse files
committed
Replace Functions and FunctionTheorems with Fork variants
tlaplus/tlapm#239 Signed-off-by: Markus Alexander Kuppe <github.com@lemmster.de>
1 parent a3ecae1 commit e0c2985

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.github/scripts/check_manifest_features.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,10 @@ def get_module_features(examples_root, path, parser, queries):
9696
tlaps_modules = {
9797
'BagsTheorems',
9898
'FiniteSetTheorems',
99-
'FunctionTheorems',
99+
'FunctionForkTheorems',
100+
'FunctionsFork',
100101
'NaturalsInduction',
101-
'SequencesExtTheorems',
102+
'SequencesExtForkTheorems',
102103
'SequenceTheorems',
103104
'TLAPS',
104105
'WellFoundedInduction'

specifications/LoopInvariance/SumSequence.tla

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
(* *)
1010
(* http://lamport.azurewebsites.net/tla/proving-safety.pdf *)
1111
(***************************************************************************)
12-
EXTENDS Integers, SequenceTheorems, SequencesExtTheorems, NaturalsInduction, TLAPS
12+
EXTENDS Integers, SequenceTheorems, SequencesExtForkTheorems, NaturalsInduction, TLAPS
1313

1414
(***************************************************************************)
1515
(* To facilitate model checking, we assume that the sequence to be summed *)
@@ -55,9 +55,9 @@ with the variable sum equal to the sum of the elements of seq.
5555
}
5656
***************************************************************************)
5757
\* BEGIN TRANSLATION
58-
VARIABLES seq, sum, n, pc
58+
VARIABLES pc, seq, sum, n
5959

60-
vars == << seq, sum, n, pc >>
60+
vars == << pc, seq, sum, n >>
6161

6262
Init == (* Global variables *)
6363
/\ seq \in Seq(Values)

specifications/bcastByz/bcastByz.tla

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434

3535
EXTENDS Naturals,
3636
FiniteSets,
37-
Functions,
38-
FunctionTheorems,
37+
FunctionsFork,
38+
FunctionForkTheorems,
3939
FiniteSetTheorems,
4040
NaturalsInduction,
4141
SequenceTheorems,

0 commit comments

Comments
 (0)