Algebra of Sets

Overview

The algebra of sets concerns itself with the operations of union (), intersection (), and set difference (), together with the inclusion relation ().

Union

The union of two sets, say A and B, is defined as

AB={xxAxB}.

More generally, let {AiiI} be an indexed family of sets. Then the union of this famliy is given by

iIAi={xiI,xAi}.

The union axioms assert the union's existence.

Disjoint Union

The disjoint union of two sets, say A and B, is defined as

AB={x,0xA}{x,1xB}.

More generally, let {AiiI} be an indexed family of sets. Then the disjoint union of this family is given by

iIAi=iI{x,ixAi}.

Intersection

The intersection of two sets, say A and B, is defined as

AB={xxAxB}.

More generally, let {AiiI} be a nonempty indexed family of sets. Then the intersection of this family is given by

iIAi={xiI,xAi}.

The subset axioms asserts the intersection's existence.

Symmetric Difference

The symmetric difference of two sets, say A and B, is defined as

AB=(AB)(BA)

Cartesian Product

The Cartesian product of two sets, say A and B, is defined as

A×B={x,yxAyB}.

The Cartesian square of a set A is the Cartesian product A2=A×A. The n-ary Cartesian power of a set A, denoted An, is defined as

An=A×A××A={a1,,anaiA for every i{1,,n}}.

As a special case, the 0-ary Cartesian power, denoted A0, is defined as the singleton set containing the empty function (with codomain A).

Properties

Commutativity

Union and intersection are commutative operations. That is, for any sets A and B,

AB=BAAB=BA

Associativity

Union and intersection are associative operations. That is, for any sets A and B,

A(BC)=(AB)CA(BC)=(AB)C

Distributivity

For any sets A, B, and C,

A(BC)=(AB)(AC)A(BC)=(AB)(AC)A×(BC)=(A×B)(A×C)A×(BC)=(A×B)(A×C)A×(BC)=(A×B)(A×C)

More generally, for any sets A and B,

AB={AXXB}, where BAB={AXXB}A×B={A×XXB}A×B={A×XXB}

De Morgan's Laws

For any sets A, B, and C,

C(AB)=(CA)(CB)C(AB)=(CA)(CB)

More generally, for any sets C and A,

CA={CXXA}CA={CXXA}

Monotonicity

Let A, B, and C be arbitrary sets. Then

Antimonotonicity

Let A, B, and C be arbitrary sets. Then

Cancellation

Let A, B, and C be sets. If A,

Powered by Forestry.md