On 10/4/21 4:04 PM, Markus Kuppe wrote:
>
> { <<e>> : e \in [user: 1..3, amount: 1..6]} \cup {<<>>}
Apologies, I didn't read your example carefully.
Use Isaac's solution or
SeqOf([user: 1..3, amount: 0..6], 3)
with SeqOf from the CommunityModules [1].
Markus
[1]
https://github.com/tlaplus/CommunityModules/blob/913ba86e3e5a40d5b37b8adb1b1f4883cbe62ef4/modules/SequencesExt.tla#L34-L39