Unordered pairs
Unordered pairs
Idea
The unordered pair of and , denoted , has the property that if and only if and or and . In other words, the unordered pair is the same as the ordered pair , except that presentation order does not matter.
Definition
In structural set theory and material set theory with ordered pairing structure, given a set , the set of unordered pairs of elements of is the quotient set , where is a binary relation on where for all elements and . An unordered pair is just an element of said quotient set.
In material set theory without ordered pairing structure, an unordered pair is usually just defined as a pair set.
In type theory
In dependent type theory, let be an h-set. Then the type of unordered pairs of elements in is a higher inductive type generated by the constructors
Relation to ordered pairs
The unordered pair should not be confused with the ordered pair . In particular, , while (if ).
In material set theory, has a direct definition, but must be coded in a complicated way (traditionally as ). In structural set theory, has a direct definition, and must be coded in a complicated way (traditionally as an element of the quotient set ).
However, the two are somewhat related:
- As just seen, the usual encoding of an ordered pair of pure sets as a pure set (due to Kuratowski) involves unordered pairs. Conversely, the set of unordered pairs of elements of may be constructed as a quotient set of the set of ordered pairs of elements of (by the equivalence relation generated by declaring that ).
- Just as unordered pairs (through the axiom of pairing) are needed to get anywhere in material set theory, so some axiom related to ordered pairs is needed to get anywhere in structural set theory. (In ETCS, this is the axiom of the (Cartesian) product; in SEAR, this is the axiom of tabulations.)
Despite the name of the axiom of pairing, the term ‘pairing’ in the Lab usually refers to ordered pairs.
See also