Hello,tuple declarations will soon be supported, apologies for the long wait!However, in your example, they are unnecessary: you can simply writeLEMMA LEM1 == ASSUME NEW S1, NEW S2,NEW Set \in SUBSET (S1 \X S2),
NEW p \in Set
PROVE p[1] \in S1
OBVIOUSwhich is equivalent, and proved.Regards,StephanOn 16 Feb 2022, at 22:21, Алексей Тимаков <timako...@xxxxxxxxx> wrote:Hi all.
I'm a newbie on TLAPS and need some help.
Can not manage to prove a simple factLEMMA LEM1 == ASSUME NEW S1, NEW S2,
NEW Set \in SUBSET {<<x, y>> : x \in S1, y \in S2},
NEW p \in Set
PROVE p[1] \in S1
OBVIOUSSet of tuples is not supported.
However
LEMMA LEM2 == ASSUME NEW S1,
NEW Set \in SUBSET {x : x \in S1},
NEW p \in Set
PROVE p \in S1
OBVIOUSworks.
Should we accept LEMMA1 as an axiom?
Thanks in advance.
--
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/27027cc2-b30b-4efa-a6bd-7dee86f8235bn%40googlegroups.com.