Skip to content

Commit 6eacad2

Browse files
committed
TLC now properly supports RandomElement and operators from the
Randomization module in constants and constant definitions. Related to Github issue #866 tlaplus/tlaplus#866 Signed-off-by: Markus Alexander Kuppe <[email protected]>
1 parent d0036f8 commit 6eacad2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

specifications/SpanningTree/SpanTreeRandom.tla

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,6 @@ Edges ==
4040
(* expression equals a set that depends on the value of n. *)
4141
(*************************************************************************)
4242

43-
(***************************************************************************)
44-
(* Refuse to run TLC with multiple workers because RandomElement is a hack *)
45-
(* and may cause bogus counterexamples to be reported. *)
46-
(* See: https://github.com/tlaplus/tlaplus/issues/866 *)
47-
(***************************************************************************)
48-
ASSUME TLCGet("config").worker = 1
49-
5043
ASSUME /\ Root \in Nodes
5144
/\ MaxCardinality \in Nat
5245
/\ MaxCardinality >= Cardinality(Nodes)

0 commit comments

Comments
 (0)