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.

In the formal language of the Zermelo-Frankel axioms, the axiom reads:

- ∀
*A*, ∀*B*, ∃*C*, ∀*D*,*D*∈*C*↔ (*D*=*A*∨*D*=*B*);

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

*A*and

*B*, we can find a set

*C*whose members are precisely

*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 sets have a pair.

*A*,

*A*} is abbreviated {

*A*}, called the

*singleton*containing

*A*. Note that a singleton is a special case of a pair.

The axiom of pairing is generally considered uncontroversial, and it or an equivalent appears in just about any alternative axiomatization of set theory.

## Generalisation

Together with the axiom of empty set, the axiom of pairing can be generalised to the following statement:

- ∀
*A*_{1}, ..., ∀*A*_{n}, ∃*C*, ∀*D*,*D*∈*C*↔ (*D*=*A*_{1}∨ ··· ∨*D*=*A*_{n});

- Given any finite number of sets
*A*_{1}through*A*_{n}, there is a set*C*whose members are precisely*A*_{1}through*A*_{n}.

*C*is again unique by the axiom of extension, and is denoted {

*A*

_{1},...,

*A*

_{n}}.

Of course, we can't refer to a *finite* number of sets rigorously without already having in our hands a (finite) set to which the sets 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* = 0 is simply the axiom of empty set.
The case *n* = 1 is the axiom of pairing with *A* = *A*_{1} and *B* = *A*_{1}.
The case *n* = 2 is the axiom of pairing with *A* = *A*_{1} and *B* = *A*_{2}.
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 {*A*_{1},*A*_{2}}, the singleton {*A*_{3}}, and then the pair .
The axiom of union then produces the desired result, {*A*_{1},*A*_{2},*A*_{3}}.

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.

*Does anybody know what this axiom/theorem schema is called?*