summaryrefslogtreecommitdiff
path: root/formal/tla/ParallelSort.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'formal/tla/ParallelSort.cfg')
-rw-r--r--formal/tla/ParallelSort.cfg13
1 files changed, 13 insertions, 0 deletions
diff --git a/formal/tla/ParallelSort.cfg b/formal/tla/ParallelSort.cfg
new file mode 100644
index 0000000..b60c298
--- /dev/null
+++ b/formal/tla/ParallelSort.cfg
@@ -0,0 +1,13 @@
+\* TLC configuration for the ParallelSort fork/join model.
+\* N=4, Threshold=1 gives a full recursion tree of 7 nodes (root -> 2 -> 4
+\* leaves), enough to exercise siblings, cousins, and multi-level joins. Integer
+\* constants can be assigned directly in a .cfg.
+CONSTANT N = 4
+CONSTANT Threshold = 1
+
+SPECIFICATION Spec
+
+INVARIANT TypeOK
+INVARIANT NoDataRace
+
+PROPERTY Terminates