Rolling a die is naturally represented using non-determinism, via a formula such as \E d \in 1 .. 6 : ... in TLA+ or a statement with (d \in 1 .. 6) { ... } in PlusCal. Note, however, that TLA+ will not allow you to verify any properties related to probability distributions, such as expected rewards. Prism [1] would be a suitable tool for such analyses. Stephan
You received this message because you are subscribed to the Google Groups "tlaplus" group. To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+unsubscribe@xxxxxxxxxxxxxxxx. To view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/43C57D2F-3A70-4C9F-AD9D-D7D1705C94B4%40gmail.com. |