Set Law

From GM-RKB
Jump to: navigation, search

A Set Law a Constraint in a Set System.



References

2019

Commutative property:
  • [math] A \cup B = B \cup A [/math]
  • [math] A \cap B = B \cap A [/math]
Associative property:
  • [math] (A \cup B) \cup C = A \cup (B \cup C) [/math]
  • [math] (A \cap B) \cap C = A \cap (B \cap C) [/math]
Distributive property:
  • [math] A \cup (B \cap C) = (A \cup B) \cap (A \cup C) [/math]
  • [math] A \cap (B \cup C) = (A \cap B) \cup (A \cap C) [/math]
The union and intersection of sets may be seen as analogous to the addition and multiplication of numbers. Like addition and multiplication, the operations of union and intersection are commutative and associative, and intersection distributes over union. However, unlike addition and multiplication, union also distributes over intersection.

Two additional pairs of properties involve the special sets called the empty set Ø and the universe set [math] U [/math] ; together with the complement operator ( [math] A^C [/math] denotes the complement of [math] A [/math] . This can also be written as [math] A' [/math] , read as A prime). The empty set has no members, and the universe set has all possible members (in a particular context).

Identity :
  • [math] A \cup \varnothing = A [/math]
  • [math] A \cap U = A [/math]
Complement :
  • [math] A \cup A^C = U [/math]
  • [math] A \cap A^C = \varnothing [/math]
The identity expressions (together with the commutative expressions) say that, just like 0 and 1 for addition and multiplication, Ø and U are the identity elements for union and intersection, respectively.

Unlike addition and multiplication, union and intersection do not have inverse elements. However the complement laws give the fundamental properties of the somewhat inverse-like unary operation of set complementation.

The preceding five pairs of formulae—the commutative, associative, distributive, identity and complement formulae—encompass all of set algebra, in the sense that every valid proposition in the algebra of sets can be derived from them.

Note that if the complement formulae are weakened to the rule [math] (A^C)^C = A [/math] , then this is exactly the algebra of propositional linear logic.