Examples

The two theorems just seen are among the most powerful in this book. They allow one to construct all the basic algebraic and order structure of N\mathbb{N}:

  • Addition: In RecDef0, let XX be N\mathbb{N}, xx be any natural and φ\varphi be the successor function SS itself. Then, the theorem says that to every such xx as above, there corresponds a unique function Ax:NNA_x:\mathbb{N}\to\mathbb{N} such that Ax(0)=xA_x(0)=x and Ax(S(y))=S(Ax(y))A_x(S(y))=S(A_x(y)). Now, simply define the infix-function +:N×NN+:\mathbb{N}\times\mathbb{N}\to\mathbb{N} to be x+y=Ax(y)x+y=A_x(y) for any x,yNx,y\in\mathbb{N}. Using this function, the conditions Ax(0)=xA_x(0)=x and Ax(S(y))=S(Ax(y))A_x(S(y))=S(A_x(y)) become x+0=xx+0=x and x+S(y)=S(x+y)x+S(y)=S(x+y) respectively. Also, using the fact that SS maps equals to equals, it is easy to see that x+S(0)=S(x+0)=S(x)x+S(0)=S(x+0)=S(x). Denoting S(0)S(0) as 11, this becomes x+1=S(x)x+1=S(x).
  • Multiplication: In RecDef1, choose N\mathbb{N}, 00 and addition (++) to be the raw materials for constructing multiplication. Then, the theorem says that to every xNx\in\mathbb{N} there corresponds a unique function Mx:NNM_x:\mathbb{N}\to\mathbb{N} such that Mx(0)=0M_x(0)=0 and Mx(S(y))=Mx(y)+xM_x(S(y))=M_x(y)+x. Now, define the infix-function :N×NN\cdot:\mathbb{N}\times\mathbb{N}\to\mathbb{N} as xy=Mx(y)x \cdot y = M_x(y) for every x,yNx,y\in\mathbb{N}. Hence, x0=0x \cdot 0 = 0 and x(y+1)=xy+xx\cdot(y+1)=x \cdot y + x (assuming \cdot has higher precedence than ++ i.e. xy+x=(xy)+xx \cdot y + x=(x \cdot y) + x).
  • Exponentiation: In RecDef1, choose N\mathbb{N}, S(0)S(0) and multiplication (\cdot) as inputs. Then, to every xNx\in\mathbb{N} one gets a unique function Ex:NNE_x:\mathbb{N}\to\mathbb{N} such that Ex(0)=S(0)E_x(0)=S(0) and Ex(S(y))=Ex(y)xE_x(S(y))=E_x(y) \cdot x. Now, define the placeholder-function :N×NN\square^\square:\mathbb{N}\times\mathbb{N}\to\mathbb{N} as xy=Ex(y)x^y = E_x(y) for every x,yNx,y\in\mathbb{N}. Hence, x0=1x^0 = 1 and xy+1=xyxx^{y+1}=x^y \cdot x (assuming \square^\square has higher precedence than \cdot).
  • Factorial: In RecDef1, choose N\mathbb{N}, S(0)S(0) and the placeholder-function S():N×N(n,n)nS(n)N \square\cdot S(\square):\mathbb{N}\times\mathbb{N}\ni(n,n') \mapsto n \cdot S(n')\in\mathbb{N} as inputs. Then, one has a unique postfix-function !:NN!:\mathbb{N}\to\mathbb{N} such that 0!=S(0)0!=S(0) and S(y)!=y!S(y)S(y)!=y! \cdot S(y).
  • Canonical Order: The order that I am about to define comes about as a by-product of addition. Concretely, define the N\mathbb{N}-relation (i.e. subset of N×N\mathbb{N}\times\mathbb{N}), \leq, thus: (x,y) (x,y)\in\ \leq iff nN [x+n=y]\exists n\in\mathbb{N}\ [x+n=y]. One often writes (x,y) (x,y)\in\ \leq in infix-form: xyx \leq y. One can see that this order is at least reflexive: xxx \leq x since x+0=xx+0=x. Verifying the other two properties of a partial order must wait.
  • Order of Divisibility: I can also define an analogous order on the naturals based on multiplication. For this, define the N\mathbb{N}-relation,   \ |\ , thus: (x,y)  (x,y)\in \ |\ iff nN [xn=y]\exists n\in\mathbb{N}\ [x \cdot n=y]. One often writes (x,y)  (x,y)\in \ |\ in infix-form: x  yx\ |\ y where xx is called a factor of yy while yy is called a multiple of xx. Just like previous order, this is a partial order. However, verification of this fact must wait.
  • The Family of Sets Fin\text{Fin}: In RecDef1, choose PN\mathcal{P}\mathbb{N}, \emptyset and the infix-function :PN×N(Σ,n)Σ{n}PN \oplus:\mathcal{P}\mathbb{N}\times\mathbb{N}\ni(\Sigma,n)\mapsto\Sigma\cup\{n\}\in\mathcal{P}\mathbb{N} as inputs. Then, one gets a unique function Fin:NPN\text{Fin}:\mathbb{N}\to\mathcal{P}\mathbb{N} such that Fin(0)=\text{Fin}(0)=\emptyset and Fin(S(n))=Fin(n)n\text{Fin}(S(n))=\text{Fin}(n) \oplus n. Later, I show that Fin(n)\text{Fin}(n) is precisely the set of all naturals strictly less than nn.

results matching ""

    No results matching ""