Chapter III.1

Partial Recursive Functions

[44/77%]
Show
LaTeX
Problem III.1.1

Prove that every primitive recursive function is everywhere defined.

?
Problem III.1.2

Prove that if the function fn(x1,…,xn)f^{n}(x_{1}, \ldots , x_{n}) is primitive recursive, then the following functions are primitive recursive:

?
(a)

f1(x1,x2,…,xn)=f(x2,x1,…,xn)f_{1}(x_{1}, x_{2}, \ldots , x_{n}) = f(x_{2}, x_{1}, \ldots , x_{n}) (permutation of arguments);

(b)

f2(x1,x2,…,xn)=f(x2,…,xn,x1)f_{2}(x_{1}, x_{2}, \ldots , x_{n}) = f(x_{2}, \ldots , x_{n}, x_{1}) (cyclic permutation of arguments);

(c)

f3(x1,…,xn,xn+1)=f(x1,…,xn)f_{3}(x_{1}, \ldots , x_{n}, x_{n+1}) = f(x_{1}, \ldots , x_{n}) (introduction of a dummy argument);

(d)

f4(x1,…,xn−1)=f(x1,x1,…,xn−1)f_{4}(x_{1}, \ldots , x_{n-1}) = f(x_{1}, x_{1}, \ldots , x_{n-1}) (identification of arguments).

Problem III.1.3

Which functions are obtained from the simplest functions using superpositions alone?

?
Problem III.1.4

Prove that the functions x+1x+1 and 2x2x cannot be obtained from o1o^{1} and ImnI_{m}^{n} using superpositions and primitive recursion schemes.

?
Problem III.1.5

Prove that the following functions are primitive recursive:

?
(a)

f(x)=x+nf(x) = x + n;

(b)

f(x)=nf(x) = n;

(c)

f(x,y)=x+yf(x, y) = x + y;

(d)

f(x,y)=x⋅yf(x, y) = x \cdot y;

(e)

f(x,y)=xyf(x, y) = x^{y} (here 00=10^{0} = 1);

(f)

f(x,y)=x!f(x, y) = x! (here 0!=10! = 1).

Problem III.1.6

Which function is obtained from gg and hh by means of the primitive recursion scheme:

?
(a)

g(x)=xg(x) = x, h(x,y,z)=zxh(x, y, z) = z^{x};

(b)

g(x)=xg(x) = x, h(x,y,z)=xzh(x, y, z) = x^{z}?

Problem III.1.7

Prove that the following functions are primitive recursive:

?
(a)

sg⁡(x)={0,if x=0,1,if x>0;\operatorname {sg}(x) = \begin{cases} 0, & \text{if } x = 0, \\ 1, & \text{if } x > 0; \end{cases}

(b)

sg⁡‾(x)={0,if x>0,1,if x=0;\overline{\operatorname {sg}}(x) = \begin{cases} 0, & \text{if } x > 0, \\ 1, & \text{if } x = 0; \end{cases}

(c)

x\symdiff1={0,if x=0,x−1,if x>0;x \symdiff 1 = \begin{cases} 0, & \text{if } x = 0, \\ x - 1, & \text{if } x > 0; \end{cases}

(d)

x\symdiffy={0,if x≤y,x−y,if x>y;x \symdiff y = \begin{cases} 0, & \text{if } x \leq y, \\ x - y, & \text{if } x > y; \end{cases}

(e)

∣x−y∣\left|x - y\right|;

(f)

max⁡(x,y)\max (x, y);

(g)

min⁡(x,y)\min (x, y).

Problem III.1.8

Prove the following identities:

?
(a)

x\symdiffy=s(x)\symdiffs(y)x \symdiff y = s(x) \symdiff s(y);

(b)

x+(y\symdiffx)=y+(x\symdiffy)x + (y \symdiff x) = y + (x \symdiff y);

(c)

x\symdiff(y+z)=(x\symdiffy)\symdiffzx \symdiff (y+z) = (x \symdiff y) \symdiff z;

(d)

(x\symdiffy)\symdiffz=(x\symdiffz)\symdiffy(x \symdiff y) \symdiff z = (x \symdiff z) \symdiff y.

Problem III.1.9

Let gn+1,αm,βmg^{n+1}, \alpha^{m}, \beta^{m} be primitive recursive functions. Prove that the following functions are primitive recursive:

?
(a)

fn+1(x1,…,xn,xn+1)=∑i=0xn+1g(x1,…,xn,i)f^{n+1}(x_{1}, \ldots , x_{n}, x_{n+1}) = \displaystyle \sum_{i=0}^{x_{n+1}} g(x_{1}, \ldots , x_{n}, i);

(b)

fn+2(x1,…,xn,y,z)={∑i=yzg(x1,…,xn,i),if y≤z,0,if y>z;f^{n+2}(x_{1}, \ldots , x_{n}, y, z) = \begin{cases} \displaystyle \sum_{i=y}^{z} g(x_{1}, \ldots , x_{n}, i), & \text{if } y \leq z, \\ 0, & \text{if } y > z; \end{cases}

(c)

fn+m(x1,…,xn,y1,…,ym)={∑i=α(y1,…,ym)β(y1,…,ym)g(x1,…,xn,i),if α(y1,…,ym)≤β(y1,…,ym),0,otherwise;f^{n+m}(x_{1}, \ldots , x_{n}, y_{1}, \ldots , y_{m}) = \begin{cases} \displaystyle \sum_{i=\alpha (y_{1}, \ldots , y_{m})}^{\beta (y_{1}, \ldots , y_{m})} g(x_{1}, \ldots , x_{n}, i), & \text{if } \alpha (y_{1}, \ldots , y_{m}) \leq \beta (y_{1}, \ldots , y_{m}), \\ 0, & \text{otherwise;} \end{cases}

(d)

fn+1(x1,…,xn,xn+1)=∏i=0xn+1g(x1,…,xn,i)f^{n+1}(x_{1}, \ldots , x_{n}, x_{n+1}) = \displaystyle \prod_{i=0}^{x_{n+1}} g(x_{1}, \ldots , x_{n}, i);

(e)

fn+2(x1,…,xn,y,z)={∏i=yzg(x1,…,xn,i),if y≤z,0,if y>z;f^{n+2}(x_{1}, \ldots , x_{n}, y, z) = \begin{cases} \displaystyle \prod_{i=y}^{z} g(x_{1}, \ldots , x_{n}, i), & \text{if } y \leq z, \\ 0, & \text{if } y > z; \end{cases}

(f)

fn+m(x1,…,xn,y1,…,ym)={∏i=α(y1,…,ym)β(y1,…,ym)g(x1,…,xn,i),if α(y1,…,ym)≤β(y1,…,ym),0,otherwise.f^{n+m}(x_{1}, \ldots , x_{n}, y_{1}, \ldots , y_{m}) = \begin{cases} \displaystyle \prod_{i=\alpha (y_{1}, \ldots , y_{m})}^{\beta (y_{1}, \ldots , y_{m})} g(x_{1}, \ldots , x_{n}, i), & \text{if } \alpha (y_{1}, \ldots , y_{m}) \leq \beta (y_{1}, \ldots , y_{m}), \\ 0, & \text{otherwise.} \end{cases}

Problem III.1.10

Prove that if ff is obtained from primitive recursive functions gg and hh by means of the bounded μ\mu-operator, then ff is primitive recursive.

?
Problem III.1.11

Let the functions f0n,f1n,…,fsnf_{0}^{n}, f_{1}^{n}, \ldots , f_{s}^{n} have the following property: for any natural values x1,…,xnx_{1}, \ldots , x_{n}, one and only one of these functions equals 00. We say that the function gng^{n} is defined by cases, if

gn(x1,…,xn)={h0n(x1,…,xn),if f0n(x1,…,xn)=0,\makebox[0pt][l]\dotfillhsn(x1,…,xn),if fsn(x1,…,xn)=0. g^{n}(x_{1}, \ldots , x_{n}) = \begin{cases} h_{0}^{n}(x_{1}, \ldots , x_{n}), & \text{if } f_{0}^{n}(x_{1}, \ldots , x_{n}) = 0, \\ \makebox[0pt][l]{\dotfill } \\ h_{s}^{n}(x_{1}, \ldots , x_{n}), & \text{if } f_{s}^{n}(x_{1}, \ldots , x_{n}) = 0. \end{cases}

Prove that if the functions h0n,…,hsn,f0n,…,fsnh_{0}^{n}, \ldots , h_{s}^{n}, f_{0}^{n}, \ldots , f_{s}^{n} are primitive recursive, then gng^{n} is primitive recursive.

?
Problem III.1.12
(a)
(b)
(c)
(d)
(e)
(f)
(g)
(h)
(i)
(j)
(k)
(l)
(m)
(n)
(o)
(p)
(q)
Problem III.1.13
?
(a)

Prove that the function

c(x,y)=(x+y)2+3x+y2 c(x, y) = \frac{(x+y)^{2} + 3x + y}{2}

(the Cantor pairing function) is a bijection between N2\mathbb {N}^{2} and N\mathbb {N} (i.e., it numbers pairs of natural numbers).

(b)

Let l(x)l(x) and r(x)r(x) be such that

c(l(x),r(x))=x. c(l(x), r(x)) = x.

Prove that l(x)l(x) and r(x)r(x) are primitive recursive and l(c(x,y))=xl(c(x, y)) = x, r(c(x,y))=yr(c(x, y)) = y.

Problem III.1.14

For each n≥1n \geq 1 define the functions

c1(x1)=x1,cn+1(x1,x2,x3,…,xn+1)=cn(c(x1,x2),x3,…,xn+1) c^{1}(x_{1}) = x_{1}, \qquad c^{n+1}(x_{1}, x_{2}, x_{3}, \ldots , x_{n+1}) = c^{n}(c(x_{1}, x_{2}), x_{3}, \ldots , x_{n+1})

(see problem III.1.13).

Let cinc_{i}^{n} (1≤i≤n1 \leq i \leq n) be such that cn(c1n(x),…,cnn(x))=xc^{n}(c_{1}^{n}(x), \ldots , c_{n}^{n}(x)) = x.

?
(a)

Prove the identities

cin(cn(x1,…,xn))=xi for 1≤i≤n. c_{i}^{n}(c^{n}(x_{1}, \ldots , x_{n})) = x_{i} \ \text{for } 1 \leq i \leq n.
(b)

Prove that the functions cnc^{n} and cinc_{i}^{n} are primitive recursive.

(c)

Prove that the functions cn(x1,…,xn)c^{n}(x_{1}, \ldots , x_{n}) are bijections between Nn\mathbb {N}^{n} and N\mathbb {N} (i.e., they number nn-tuples of natural numbers).

Problem III.1.15

How can all partial recursive functions be obtained from one-place partial recursive functions and the functions cn(x1,…,xn)c^{n}(x_{1}, \ldots , x_{n})?

?
Problem III.1.16

Call a one-place function f(x)f(x) a function of large spread, if it takes on every natural number as its value infinitely many times.

?
(a)

Let the pair of functions ⟨f1(x),f2(x)⟩\langle f_{1}(x), f_{2}(x) \rangle map N\mathbb {N} onto N2\mathbb {N}^{2}. Prove that f1(x)f_{1}(x) and f2(x)f_{2}(x) are functions of large spread.

(b)

Let f1(x)f_{1}(x) be an arbitrary primitive recursive function of large spread. Construct a primitive recursive function f2(x)f_{2}(x) so that the functions f1(x)f_{1}(x) and f2(x)f_{2}(x) form a bijection between N\mathbb {N} and N2\mathbb {N}^{2}.

Problem III.1.17

Consider the Godel function

β(x,y,z)=rest⁡(x,1+y(z+1)). \beta (x, y, z) = \operatorname {rest}(x, 1 + y(z+1)).

Prove that, whatever the finite sequence of natural numbers a1,…,ana_{1}, \ldots , a_{n} may be, the system of equations

{β(x,y,0)=α0,\makebox[0pt][l]\dotfillβ(x,y,n)=αn, \begin{cases} \beta (x, y, 0) = \alpha _{0}, \\ \makebox[0pt][l]{\dotfill } \\ \beta (x, y, n) = \alpha _{n}, \end{cases}

has at least one solution x,yx, y.

?
Problem III.1.18

Prove that if the functions g,h,t1,…,tsg, h, t_{1}, \ldots , t_{s} are primitive recursive and ff is obtained from them by course-of-values recursion with delays, then the function ff is primitive recursive.

?
Problem III.1.19

Prove that the function enumerating the Fibonacci numbers in order:

{f(0)=0,f(1)=1,f(n+2)=f(n)+f(n+1), \begin{cases} f(0) = 0, \quad f(1) = 1, \\ f(n+2) = f(n) + f(n+1), \end{cases}

is primitive recursive.

?
Problem III.1.20

Let the functions ff and gg be defined as follows:

{f(0)=a,g(0)=b,f(x+1)=h1(x,f(x),g(x)),g(x+1)=h2(x,f(x),g(x)). \begin{cases} f(0) = a, \quad g(0) = b, \\ f(x+1) = h_{1}(x, f(x), g(x)), \\ g(x+1) = h_{2}(x, f(x), g(x)). \end{cases}

Prove that if the functions h1h_{1} and h2h_{2} are primitive recursive, then the functions ff and gg are primitive recursive.

?
Problem III.1.21

Let f1n+1,…,fkn+1f_{1}^{n+1}, \ldots , f_{k}^{n+1} be defined by means of simultaneous recursion:

{fin+1(x1,…,xn,0)=gin(x1,…,xn),fin+1(x1,…,xn,y+1)=fin+1(x1,…,xn,y+1)= hin+k+1(x1,…,xn,y,f1(x1,…,xn,y),…,fk(x1,…,xn,y)) \begin{cases} f_{i}^{n+1}(x_{1}, \ldots , x_{n}, 0) = g_{i}^{n}(x_{1}, \ldots , x_{n}), \\ f_{i}^{n+1}(x_{1}, \ldots , x_{n}, y+1) = \\ \hphantom {f_{i}^{n+1}(x_{1}, \ldots , x_{n}, y+1) =} \, h_{i}^{n+k+1}(x_{1}, \ldots , x_{n}, y, f_{1}(x_{1}, \ldots , x_{n}, y), \ldots , f_{k}(x_{1}, \ldots , x_{n}, y)) \end{cases}

for all 1≤i≤k1 \leq i \leq k.

Prove that if the functions g1,…,gk,h1,…,hkg_{1}, \ldots , g_{k}, h_{1}, \ldots , h_{k} are primitive recursive, then the functions f1,…,fkf_{1}, \ldots , f_{k} are primitive recursive.

?
Problem III.1.22

Prove that every primitive recursive function is general recursive.

?
Problem III.1.23
?
(a)

Prove that the superposition of general recursive functions is a general recursive function.

(b)

Prove that applying the primitive recursion operator to general recursive functions yields a general recursive function.

(c)

Give an example of a general recursive function from which the μ\mu-operator yields a function that is not general recursive.

Problem III.1.24

Prove that if the function f(x1,…,xn)f(x_{1}, \ldots , x_{n}) is partial recursive, then the following functions are partial recursive:

?
(a)

f1(x1,x2,…,xn)=f(x2,x1,…,xn)f_{1}(x_{1}, x_{2}, \ldots , x_{n}) = f(x_{2}, x_{1}, \ldots , x_{n}) (permutation of arguments);

(b)

f2(x1,x2,…,xn)=f(x2,…,xn,x1)f_{2}(x_{1}, x_{2}, \ldots , x_{n}) = f(x_{2}, \ldots , x_{n}, x_{1}) (cyclic permutation of arguments);

(c)

f3(x1,…,xn,xn+1)=f(x1,…,xn)f_{3}(x_{1}, \ldots , x_{n}, x_{n+1}) = f(x_{1}, \ldots , x_{n}) (introduction of a dummy argument);

(d)

f4(x1,…,xn−1)=f(x1,x1,…,xn−1)f_{4}(x_{1}, \ldots , x_{n-1}) = f(x_{1}, x_{1}, \ldots , x_{n-1}) (identification of arguments).

Problem III.1.25

Prove that:

?
(a)

there are exactly ℵ0\aleph_{0} partial recursive functions;

(b)

there is a partial numerical function that is not partial recursive;

(c)

there is an everywhere defined numerical function that is not general recursive.

Problem III.1.26

Prove that the following functions are partial recursive:

?
(a)

the nowhere defined function ω\omega, i.e., the function ω\omega with empty domain of definition;

(b)

f(x,y)={x−y,if x≥y,undefined otherwise;f(x, y) = \begin{cases} x - y, & \text{if } x \geq y, \\ \text{undefined otherwise}; \end{cases}

(c)

f(x,y)={xy,if y divides x,undefined otherwise;f(x, y) = \begin{cases} \dfrac {x}{y}, & \text{if } y \text{ divides } x, \\ \text{undefined otherwise}; \end{cases}

(d)

f(x,y)={z,if zy=x,undefined otherwise;f(x, y) = \begin{cases} z, & \text{if } z^{y} = x, \\ \text{undefined otherwise}; \end{cases}

(e)

a function defined at finitely many points.

Problem III.1.27

Prove that if the functions gn+1,hn+1g^{n+1}, h^{n+1}, and tn+1t^{n+1} are partial recursive, then the following functions are partial recursive:

?
(a)

μy[g(x1,…,xn,y)=h(x1,…,xn,y)]\mu y \left[g(x_{1}, \ldots , x_{n}, y) = h(x_{1}, \ldots , x_{n}, y)\right];

(b)

μy[g(x1,…,xn,y)≠h(x1,…,xn,y)]\mu y \left[g(x_{1}, \ldots , x_{n}, y) \neq h(x_{1}, \ldots , x_{n}, y)\right];

(c)

μy[g(x1,…,xn,y)≤h(x1,…,xn,y)]\mu y \left[g(x_{1}, \ldots , x_{n}, y) \leq h(x_{1}, \ldots , x_{n}, y)\right];

(d)

μy[g(x1,…,xn,y)<h(x1,…,xn,y)]\mu y \left[g(x_{1}, \ldots , x_{n}, y) < h(x_{1}, \ldots , x_{n}, y)\right];

(e)

μy[g(x1,…,xn,y)=0 and h(x1,…,xn,y)=0]\mu y \left[g(x_{1}, \ldots , x_{n}, y) = 0 \text{ and } h(x_{1}, \ldots , x_{n}, y) = 0\right];

(f)

μy[g(x1,…,xn,y)=0 or h(x1,…,xn,y)≤t(x1,…,xn,y)]\mu y \left[g(x_{1}, \ldots , x_{n}, y) = 0 \text{ or } h(x_{1}, \ldots , x_{n}, y) \leq t(x_{1}, \ldots , x_{n}, y)\right].

Problem III.1.28
?
(a)

Prove that the function fn+1f^{n+1}, arising from the partial functions gng^{n} and hn+2h^{n+2} by means of the primitive recursion operator, can be obtained by means of a special recursion of the form:

{F(x,0)=x,F(x,y+1)=G(F(x,y)) \begin{cases} F(x, 0) = x, \\ F(x, y+1) = G(F(x, y)) \end{cases}

and superpositions from the functions gn,hn+2,o,s,Imng^{n}, h^{n+2}, o, s, I_{m}^{n} and c,l,rc, l, r from problem III.1.13.

(b)

Prove that the function f(x)f(x), obtained from aa and h(x,y)h(x, y) by means of the primitive recursion operator, can be obtained by means of iteration and superpositions from the functions a,h,o,s,Imna, h, o, s, I_{m}^{n} and c,l,rc, l, r from problem III.1.13.

Problem III.1.29

Prove that the function fnf^{n}, obtained from the partial function gn+1g^{n+1} by means of the μ\mu-operator, can be obtained from the functions g,Imng, I_{m}^{n} and c,l,rc, l, r from problem III.1.13 by means of superpositions and a μ\mu-operator of the special form.

F(x)=μy[G(x,y)=0]. F(x) = \mu y \left[G(x, y) = 0\right].
?
Problem III.1.30

Prove that the function fn+1f^{n+1}, obtained by means of the primitive recursion operator from everywhere defined functions gng^{n} and hn+2h^{n+2}, can be obtained from these functions and the functions +,\symdiff,s,o,Imn+, \symdiff , s, o, I_{m}^{n} and c,l,r,βc, l, r, \beta from problems III.1.13, III.1.17, by means of superpositions and a μ\mu-operator of the special form from problem III.1.29.

?
Problem III.1.31
?
(a)

Let 2=a0,a1a2,…\sqrt{2} = a_{0}, a_{1}a_{2}, \ldots be the expansion of the number 2\sqrt{2} as an infinite decimal fraction. Prove that the function ana_{n} is general recursive.

(b)

Let e=a0,a1a2,…e = a_{0}, a_{1}a_{2}, \ldots be the expansion of the number ee as an infinite decimal fraction. Prove that the function ana_{n} is general recursive.

(c)

Let π=a0,a1a2,…\pi = a_{0}, a_{1}a_{2}, \ldots be the expansion of the number π\pi as an infinite decimal fraction. Prove that the function ana_{n} is general recursive.

Problem III.1.32

Let α=a0,a1a2,…\alpha = a_{0}, a_{1}a_{2}, \ldots be the expansion of the real number α\alpha as an infinite decimal fraction. Call the number α\alpha general recursive (constructive), if ana_{n} is a general recursive function of nn. Prove that algebraic numbers are general recursive.

?
Problem III.1.33

Prove that:

?
(a)

i(ax+b)=b⋅ax−1a−1\mathbf{i}(ax+b) = b \cdot \dfrac {a^{x} - 1}{a - 1} for a>1a > 1;

(b)

i(1+[x2])=sg⁡x\mathbf{i}\left(1 + \left[\dfrac {x}{2}\right]\right) = \operatorname {sg} x;

(c)

i(x+1+[x+12]−[x2])=2x\symdiff1\mathbf{i}\left(x + 1 + \left[\dfrac {x+1}{2}\right] - \left[\dfrac {x}{2}\right]\right) = 2x \symdiff 1;

(d)

i(sg⁡‾ x+2x)=2x−1\symdiffsg⁡‾ x\mathbf{i}(\overline{\operatorname {sg}}\, x + 2x) = 2^{x-1} \symdiff \overline{\operatorname {sg}}\, x;

(e)

i(x+1+4x+1)=x2+x\mathbf{i}(x + 1 + \sqrt{4x+1}) = x^{2} + x;

(f)

i(x+1+2[x])=x2\mathbf{i}\left(x + 1 + 2\left[\sqrt{x}\right]\right) = x^{2}.

Problem III.1.34
(a)
(b)
(c)
(d)
(e)
(f)
(g)
(h)
(i)
(j)
(k)
(l)
(m)
Problem III.1.35

Prove that every primitive recursive function can be obtained from the functions s(x)=x+1s(x) = x+1 and q(x)=x\symdiff[x]2q(x) = x \symdiff \left[\sqrt{x}\right]^{2} by means of the operations of substitution, iteration, and addition of two functions (R. Robinson's theorem).

?
Problem III.1.36

Prove that:

?
(a)

I11(f(x))=f(I11(x))=f(f−1(f(x)))=f(x)I_{1}^{1}(f(x)) = f(I_{1}^{1}(x)) = f(f^{-1}(f(x))) = f(x);

(b)

f−1(f(f−1(x)))=f−1(x)f^{-1}(f(f^{-1}(x))) = f^{-1}(x).

Problem III.1.37

Prove that:

?
(a)

if f−1(x)f^{-1}(x) is defined at some point aa, then

f(f−1(a))=a; f(f^{-1}(a)) = a;
(b)

if f−1(x)f^{-1}(x) is everywhere defined, then

f(f−1(x))=I11(x); f(f^{-1}(x)) = I_{1}^{1}(x);
(c)

there exists f(x)f(x) such that f−1(x)f^{-1}(x) is everywhere defined, but

f−1(f(x))≠I11(x). f^{-1}(f(x)) \neq I_{1}^{1}(x).
Problem III.1.38
(a)
(b)
(c)
(d)
(e)
(f)
(g)
(h)
(i)
(j)
Problem III.1.39
(a)
(b)
(c)
(d)
(e)
(f)
(g)
(h)
(i)
(j)
(k)
(l)
(m)
Problem III.1.40

Let f(x)=μy[h(x,y)=0]f(x) = \mu y \left[h(x, y) = 0\right]. Prove that f(x)f(x) can be obtained from h,s(x)=x+1h, s(x) = x+1, and q(x)=x\symdiff[x]2q(x) = x \symdiff \left[\sqrt{x}\right]^{2} by means of the operations of substitution, inversion, and addition of two functions.

?
Problem III.1.41

Prove that every partial recursive function can be obtained from s(x)=x+1s(x) = x+1, q(x)=x\symdiff[x]2q(x) = x \symdiff \left[\sqrt{x}\right]^{2} by means of the operations of substitution, inversion, and addition of two functions (Yu. Robinson's theorem).

?
Problem III.1.42

Consider the following Ackermann functions:

B(0,y)=2+y;B(x+1,0)=sg⁡x;B(x+1,y+1)=B(x,B(x+1,y));A(x)=B(x,x). B(0, y) = 2+y; \qquad B(x+1, 0) = \operatorname {sg} x; \qquad B(x+1, y+1) = B(x, B(x+1, y)); \qquad A(x) = B(x, x).

Call an everywhere defined function f(x1,…,xn)f(x_{1}, \ldots , x_{n}) BB-majorized, if there is a natural number mm such that

f(x1,…,xn)<B(m,max⁡(x1,…,xn)+3). f(x_{1}, \ldots , x_{n}) < B(m, \max (x_{1}, \ldots , x_{n}) + 3).

Prove that:

?
(a)

B(x,y)B(x, y) and A(x)A(x) are general recursive;

(b)

B(n+2,x+1)≥2x+1B(n+2, x+1) \geq 2^{x+1};

(c)

B(n+1,x+2)≥B(n+1,x+1)B(n+1, x+2) \geq B(n+1, x+1);

(d)

B(n+2,x+3)≥B(n+1,x+4)B(n+2, x+3) \geq B(n+1, x+4);

(e)

the simplest functions are BB-majorized;

(f)

a function obtained by means of superposition from BB-majorized functions is BB-majorized;

(g)

a function obtained by means of primitive recursion from BB-majorized functions is BB-majorized;

(h)

the function AA is not primitive recursive.

Problem III.1.43

Prove that there is no primitive recursive function universal for the family of all nn-ary primitive recursive functions.

?
Problem III.1.44

Prove that there is no partial recursive function universal for the family of all nn-ary general recursive functions.

?