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

[tlaplus] proving a property of some predefined set item



Hi all.
I'm a newbie on TLAPS and need some help.
Can not manage to prove a simple fact

LEMMA 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
               OBVIOUS

Set 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
               OBVIOUS

works.

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+unsubscribe@xxxxxxxxxxxxxxxx.
To view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/27027cc2-b30b-4efa-a6bd-7dee86f8235bn%40googlegroups.com.