# Ordered pairs
In a previews post we define a ordered pair like the set defined by
This is a nice and pretty definition. But this don’t automatically makes this set behave like a ordered set. Specifically, usually think a ordered pair like a object with the next property:
So our, objective in this post is prove the previous property. The part is obvious, due the properties of equality. So, we only care the part.
So, suppose that . Lets proceed by cases. First if then by definition we have that
But due extensionality and pairing, we can deduce that
Which ultimately give us that .
Now in the case when , by extensionality and pairing we have that
Now, the last case is impossible, since the opposite will give us that , this way .
Analogously we have that , but since and then by extensionality and pairing the only possibility is that . Which completes the proof.
This exercise is a good way to understand the extensionality and pairing axioms, and how important are on this kind of proofs. After this small rest, the next post we will talk on the next axiom of ZFC.