diff --git a/specifications/EinsteinRiddle/Einstein.tla b/specifications/EinsteinRiddle/Einstein.tla index 63ea1a0e..e9ff0f68 100644 --- a/specifications/EinsteinRiddle/Einstein.tla +++ b/specifications/EinsteinRiddle/Einstein.tla @@ -129,6 +129,8 @@ Init == /\ pets \in PETS /\ cigars \in CIGARS +\* Apalache cannot infer the type of `vars' because it could be a sequence or a tuple. +\* So we explicitely tell Apalache that it is a sequence by adding the following annotation: \* @type: Seq(Int -> Str); vars == <> @@ -157,7 +159,7 @@ Solution == FindSolution == ~Solution \* To find the solution with the `^Apalache^' model-checker, run: -\* apalache-mc check --init=Init --inv=FindSolution --length=0 Einstein.tla -\* Then look for the file violation.tla in `^Apalache^' output directory. +\* `^apalache-mc check --init=Init --inv=FindSolution --length=0 --run-dir=./outout Einstein.tla^' +\* You will then find the solution in `^./output/violation.tla^'. ============================================================