# Axiom of pairing

In axiomatic set theory and the branches of logic, mathematics, and computer science that use it, the axiom of pairing is one of the axioms of Zermelo–Fraenkel set theory. It was introduced by Zermelo (1908) as a special case of his axiom of elementary sets.

## Formal statement

In the formal language of the Zermelo–Fraenkel axioms, the axiom reads:

${\displaystyle \forall A\,\forall B\,\exists C\,\forall D\,[D\in C\iff (D=A\lor D=B)]}$

In words:

Given any object A and any object B, there is a set C such that, given any object D, D is a member of C if and only if D is equal to A or D is equal to B.

Or in simpler words:

Given two objects, there is a set whose members are exactly the two given objects.

## Consequences

As noted, what the axiom is saying is that, given two objects A and B, we can find a set C whose members are exactly A and B.

We can use the axiom of extensionality to show that this set C is unique. We call the set C the pair of A and B, and denote it {A,B}. Thus the essence of the axiom is:

Any two objects have a pair.

The set {A,A} is abbreviated {A}, called the singleton containing A. Note that a singleton is a special case of a pair. Being able to construct a singleton is necessary, for example, to show the non-existence of the infinitely descending chains ${\displaystyle x=\{x\}}$  from the Axiom of regularity.

The axiom of pairing also allows for the definition of ordered pairs. For any objects ${\displaystyle a}$  and ${\displaystyle b}$ , the ordered pair is defined by the following:

${\displaystyle (a,b)=\{\{a\},\{a,b\}\}.\,}$

Note that this definition satisfies the condition

${\displaystyle (a,b)=(c,d)\iff a=c\land b=d.}$

Ordered n-tuples can be defined recursively as follows:

${\displaystyle (a_{1},\ldots ,a_{n})=((a_{1},\ldots ,a_{n-1}),a_{n}).\!}$

## Alternatives

### Non-independence

The axiom of pairing is generally considered uncontroversial, and it or an equivalent appears in just about any axiomatization of set theory. Nevertheless, in the standard formulation of the Zermelo–Fraenkel set theory, the axiom of pairing follows from the axiom schema of replacement applied to any given set with two or more elements, and thus it is sometimes omitted. The existence of such a set with two elements, such as { {}, { {} } }, can be deduced either from the axiom of empty set and the axiom of power set or from the axiom of infinity.

In the absence of some of the stronger ZFC axioms, the axiom of pairing can still, without loss, be introduced in weaker forms.

### Weaker

In the presence of standard forms of the axiom schema of separation we can replace the axiom of pairing by its weaker version:

${\displaystyle \forall A\forall B\exists C\forall D((D=A\lor D=B)\Rightarrow D\in C)}$ .

This weak axiom of pairing implies that any given objects ${\displaystyle A}$  and ${\displaystyle B}$  are members of some set ${\displaystyle C}$ . Using the axiom schema of separation we can construct the set whose members are exactly ${\displaystyle A}$  and ${\displaystyle B}$ .

Another axiom which implies the axiom of pairing in the presence of the axiom of empty set is

${\displaystyle \forall A\,\forall B\,\exists C\,\forall D\,[D\in C\iff (D\in A\lor D=B)]}$ .

It differs from the standard one by use of ${\displaystyle D\in A}$  instead of ${\displaystyle D=A}$ . Using {} for A and x for B, we get {x} for C. Then use {x} for A and y for B, getting {x,y} for C. One may continue in this fashion to build up any finite set. And this could be used to generate all hereditarily finite sets without using the axiom of union.

### Stronger

Together with the axiom of empty set and the axiom of union, the axiom of pairing can be generalised to the following schema:

${\displaystyle \forall A_{1}\,\ldots \,\forall A_{n}\,\exists C\,\forall D\,[D\in C\iff (D=A_{1}\lor \cdots \lor D=A_{n})]}$

that is:

Given any finite number of objects A1 through An, there is a set C whose members are precisely A1 through An.

This set C is again unique by the axiom of extensionality, and is denoted {A1,...,An}.

Of course, we can't refer to a finite number of objects rigorously without already having in our hands a (finite) set to which the objects in question belong. Thus, this is not a single statement but instead a schema, with a separate statement for each natural number n.

• The case n = 1 is the axiom of pairing with A = A1 and B = A1.
• The case n = 2 is the axiom of pairing with A = A1 and B = A2.
• The cases n > 2 can be proved using the axiom of pairing and the axiom of union multiple times.

For example, to prove the case n = 3, use the axiom of pairing three times, to produce the pair {A1,A2}, the singleton {A3}, and then the pair {{A1,A2},{A3}}. The axiom of union then produces the desired result, {A1,A2,A3}. We can extend this schema to include n=0 if we interpret that case as the axiom of empty set.

Thus, one may use this as an axiom schema in the place of the axioms of empty set and pairing. Normally, however, one uses the axioms of empty set and pairing separately, and then proves this as a theorem schema. Note that adopting this as an axiom schema will not replace the axiom of union, which is still needed for other situations.

## References

• Paul Halmos, Naive set theory. Princeton, NJ: D. Van Nostrand Company, 1960. Reprinted by Springer-Verlag, New York, 1974. ISBN 0-387-90092-6 (Springer-Verlag edition).
• Jech, Thomas, 2003. Set Theory: The Third Millennium Edition, Revised and Expanded. Springer. ISBN 3-540-44085-2.
• Kunen, Kenneth, 1980. Set Theory: An Introduction to Independence Proofs. Elsevier. ISBN 0-444-86839-9.
• Zermelo, Ernst (1908), "Untersuchungen über die Grundlagen der Mengenlehre I", Mathematische Annalen, 65 (2): 261–281, doi:10.1007/bf01449999. English translation: Heijenoort, Jean van (1967), "Investigations in the foundations of set theory", From Frege to Gödel: A Source Book in Mathematical Logic, 1879-1931, Source Books in the History of the Sciences, Harvard Univ. Press, pp. 199–215, ISBN 978-0-674-32449-7.