table of contents

pairing function

2024-03-29

we define the primitive recursive function if is any given number, there is a unique solution to the equation

namely, is the largest number such that , and is then the solution of the equation

this last equation has a (unique) solution because must be odd. (the twos have been "divided out.") eq-pairing-function-1 thus defines functions since eq-pairing-function-1 implies that we have hence we can write

so that are primitive recursive functions.

the definition of can be expressed by the statement the properties of the functions , and are summarized in the-pairing-func.

the functions , and have the following properties:

  1. they are primitive recursive;
  2. ;
  3. ;
  4. .