[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

*From*: Delta Striker <unicorn838750801@xxxxxxxxx>*Date*: Sun, 25 Dec 2022 00:20:34 -0800 (PST)*References*: <135ba505-ec94-4f0d-9f9d-d3312e9d9444n@googlegroups.com> <67ED407B-ABDE-4E90-AF1D-F6865C0388CB@gmail.com>

Yes,that's exactly what I want,thank you.

在2022年12月22日星期四 UTC+8 23:57:08<Stephan Merz> 写道：

Hello,using TLC for evaluating the constant _expression_ [1]{{xx, yy, zz} : xx \in 1 .. 2, yy \in 3 .. 4, zz \in 5 .. 6}produces{ {1, 3, 5},

{1, 3, 6},

{1, 4, 5},

{1, 4, 6},

{2, 3, 5},

{2, 3, 6},

{2, 4, 5},

{2, 4, 6} }Is this what you had in mind?Stephan[1] Note that TLC will complain if the base sets are not homogeneous, for example if you mix integers and strings.On 22 Dec 2022, at 14:18, Delta Striker <unicorn8...@xxxxxxxxx> wrote:Hello I'm a newbie in TLA+.I knew that Cartesian product is something like this:S × T × U = {<<a, b, c>> : a ∈ S, b ∈ T,c ∈ U }.And I wonder how can I get a set like this:{{a, b, c} : a ∈ S, b ∈ T,c ∈ U }.Thank you.

--

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+u...@xxxxxxxxxxxxxxxx.

To view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/135ba505-ec94-4f0d-9f9d-d3312e9d9444n%40googlegroups.com.

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/4717e8ee-98fa-41e6-951d-c6e197f964c0n%40googlegroups.com.

**References**:**[tlaplus] How to get a set like this in TLA+?***From:*Delta Striker

**Re: [tlaplus] How to get a set like this in TLA+?***From:*Stephan Merz

- Prev by Date:
**Re: [tlaplus] TLA+ for Visual Studio Code** - Next by Date:
**[tlaplus] Few questions encountered when trying to implementing my spec in TLA+** - Previous by thread:
**Re: [tlaplus] How to get a set like this in TLA+?** - Next by thread:
**[tlaplus] TCP Protocl model satisfies** - Index(es):