subset

Set relations

https://en.wikipedia.org/wiki/Subset

Two sets, A and B, may be related (or interact) in numerous ways:

  • Disjoint sets: A and B do not interact, they're not related in any way; they are completely disjoint (non-overlapping) from one another.

Sets xx and yy may interact or be related in several ways:

  • xx is a member of yy: xyx\in y (membership relation)

  • xx is a subset of yy: xyx\subseteq y (inclusion relation)

    • xx is a proper subset of yy: xyx\subset y

    • xx is equal to yy if xyyxx\subseteq y \land y\subseteq x

Axioms:

  • every set is a subset of itself, AAA\subseteq A

  • the empty set is a subset of every set, A\varnothing \subseteq A

  • therefore, the empty set is a subset of itself, \varnothing \subseteq \varnothing

Subset relation

Besides membership (which relates elements and sets), another fundamental relation is the subset relation, also called the inclusion relation, which is relation between sets, denoted by the symbol \subseteq.

If all elements of a set XX are also elements of a set YY, then XX is the subset of YY, denoted by

XYX \subseteq Y

At the same time, set YY is a superset of XX, denoted by YXY \supseteq X

Given objects x and y
(y = {x}) → (∀x . x ∈ y ∧ [x ⊆ y → ∀z.z ∈ x ∧ z ∈ y])
  then x ∈ y holds always,
  but  x ⊆ y holds only if x is a set, e.g.:
    (x=1 → y={1}) → (x ∈ y ∧ x ⊈ y)
    if (x={1}) → (y={{1}}), then x ∈ y and x ⊆ y
  • ∈ ∋ ∉ ∌

  • ∣ ∅ ⋜ ⋝

  • ∃ ∀ ∄

  • ⋃ ⋂

  • ⊆ ⊇ ⊂ ⊃

  • ⊊ ⊋ ⊄ ⊅

  • ⊈ ⊉

Given a,b where b={a}if a=1 then b={1} ,so abif a={1} then b={{1}} ,so abab\text{Given } a,b\ where\ b = \{a\} \\ \text{if } a = 1\ \text{then } b = \{1\}\ ,so\ a \in b\\ \text{if } a = \{1\}\ \text{then } b = \{\{1\}\}\ ,so\ a\in b \land a \subseteq b\\

A set XX is a proper subset of a set YY, denoted by XYX\subset Y if set YY has additional elements besides those that are also in set XX.

That is, if every element of XX is an element of YY and X<Y|X| < |Y|.

For example, X={1,2}X=\{1,2\} and Y={1,2,3,4}Y=\{1,2,3,4\}.

Here, XYX\subseteq Y, but, more precisely, XX is a proper subset of YY i.e. XYX\subset Y.

Every set is a subset of itself: {a,b,c}{a,b,c}\{a,b,c\} \subseteq \{a,b,c\}

Last updated