WWikiTTheoremsThe pairing function is injective
Theorem·T52
Distinct pairs of naturals always encode to distinct naturals - omega squared is countable.
The pairing function
is an injection: for
, if
then
.
In words
The pairing function is an injection: given any two pairs of naturals, if they encode to the same number then they were the same pair to begin with.
Never needed: F05 · F10 · F13 · A02 · A03 · A04 · A05 · A07 · A09 (computed from the citation graph, not asserted).
Proof
- 1Write , . Note and (L17, adding a natural to resp. ).
- 2
- 3. With : , so gives ; cancelling (cancellation of addition) gives .
- 4. With and : ; cancelling gives .
∎