Subset vs. Subseteq

49 Aufrufe
Direkt zur ersten ungelesenen Nachricht

AmirHossein SayyadAbdi

ungelesen,
14.11.2019, 04:21:5414.11.19
an tla...@googlegroups.com
Hi Everyone,

What is the difference between \subset and \subseteq in TLA+? Is it about (dis)allowing the empty subset?

AmirHossein

Stephan Merz

ungelesen,
14.11.2019, 04:31:0314.11.19
an tla...@googlegroups.com
\subset means "strict subset" whereas \subseteq means "subset or equal".

For example, ~({1,2,3} \subset {1,2,3})  but  {1,2,3} \subseteq {1,2,3}.

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+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/CAKxfy0vyc3tOQV4FUkLbdqQOBRz_Mn9kc2z%3DJqibN65OoXKs%3DQ%40mail.gmail.com.

AmirHossein SayyadAbdi

ungelesen,
14.11.2019, 04:45:5114.11.19
an tla...@googlegroups.com
Thank you so much.

AmirHossein

Leslie Lamport

ungelesen,
18.11.2019, 17:15:5518.11.19
an tlaplus
Stephan should have mentioned that \subseteq is a built-in TLA+ operator, while \subset 
is not and can be defined in the spec to have any meaning.


On Thursday, November 14, 2019 at 1:31:03 AM UTC-8, Stephan Merz wrote:
\subset means "strict subset" whereas \subseteq means "subset or equal".

For example, ~({1,2,3} \subset {1,2,3})  but  {1,2,3} \subseteq {1,2,3}.

Stephan

On 14 Nov 2019, at 10:21, AmirHossein SayyadAbdi  wrote:

Hi Everyone,

What is the difference between \subset and \subseteq in TLA+? Is it about (dis)allowing the empty subset?

AmirHossein

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

AmirHossein SayyadAbdi

ungelesen,
21.11.2019, 09:29:1221.11.19
an tla...@googlegroups.com
Thanks so much for clarification!

AmirHossein

To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/43b0bf08-52cb-45dd-a9e1-23b98c5ce394%40googlegroups.com.
Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten