Skip to content

Commit

Permalink
TLC now properly supports RandomElement and operators from the
Browse files Browse the repository at this point in the history
Randomization module in constants and constant definitions.

Related to Github issue #866
tlaplus/tlaplus#866

Signed-off-by: Markus Alexander Kuppe <[email protected]>
  • Loading branch information
lemmy committed Jun 26, 2024
1 parent d0036f8 commit 6eacad2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions specifications/SpanningTree/SpanTreeRandom.tla
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,6 @@ Edges ==
(* expression equals a set that depends on the value of n. *)
(*************************************************************************)

(***************************************************************************)
(* Refuse to run TLC with multiple workers because RandomElement is a hack *)
(* and may cause bogus counterexamples to be reported. *)
(* See: https://github.com/tlaplus/tlaplus/issues/866 *)
(***************************************************************************)
ASSUME TLCGet("config").worker = 1

ASSUME /\ Root \in Nodes
/\ MaxCardinality \in Nat
/\ MaxCardinality >= Cardinality(Nodes)
Expand Down

0 comments on commit 6eacad2

Please sign in to comment.