Chapter III.4

Kleene and Post Numberings

[43/91%]
Show
LaTeX
Problem III.4.1

Prove that:

?
(a)

[x,y][x,y] is a bijection between N2\mathbb {N}^{2} and N\mathbb {N};

(b)

[x1,…,xn][x_{1}, \ldots , x_{n}] is a bijection between Nn\mathbb {N}^{n} and N\mathbb {N};

(c)

[[x]12,[x]22]=x[[x]_{1}^{2}, [x]_{2}^{2}] = x, [[x,y]]12=x[[x,y]]_{1}^{2} = x, [[x,y]]22=y[[x,y]]_{2}^{2} = y;

(d)

[[x]1n,…,[x]nn]=x[[x]_{1}^{n}, \ldots , [x]_{n}^{n}] = x, [[x1,…,xn]]in=xi[[x_{1}, \ldots , x_{n}]]_{i}^{n} = x_{i};

(e)

[x1,…,xm,xm+1,…,xn]=[[x1,…,xm],xm+1,…,xn][x_{1}, \ldots , x_{m}, x_{m+1}, \ldots , x_{n}] = [[x_{1}, \ldots , x_{m}], x_{m+1}, \ldots , x_{n}];

(f)

c(x0,c(x1,x2))=[c(x0,x1),x2]c(x_{0}, c(x_{1}, x_{2})) = [c(x_{0}, x_{1}), x_{2}].

Problem III.4.2

Prove that:

?
(a)

Kn+m+1(x0,x1,…,xn,xn+1,…,xn+m)=Km+1([x0,x1,…,xn],xn+1,…,xn+m)K^{n+m+1}(x_{0}, x_{1}, \ldots , x_{n}, x_{n+1}, \ldots , x_{n+m}) = K^{m+1}([x_{0}, x_{1}, \ldots , x_{n}], x_{n+1}, \ldots , x_{n+m});

(b)

Kn(c(x0,x1),x2,…,xn)=Un+1(x0,x1,x2,…,xn)K^{n}(c(x_{0}, x_{1}), x_{2}, \ldots , x_{n}) = U^{n+1}(x_{0}, x_{1}, x_{2}, \ldots , x_{n}).

Problem III.4.3

Prove that:

?
(a)

Kn+1(x0,x1,…,xn)K^{n+1}(x_{0}, x_{1}, \ldots , x_{n}) is universal for all nn-ary partial recursive functions;

(b)

for any partial recursive function fn+mf^{n+m} there is a primitive recursive function gng^{n} such that

f(x1,…,xn,y1,…,ym)=Km+1(g(x1,…,xn),y1,…,ym). f(x_{1}, \ldots , x_{n}, y_{1}, \ldots , y_{m}) = K^{m+1}(g(x_{1}, \ldots , x_{n}), y_{1}, \ldots , y_{m}).
Problem III.4.4

Prove that every partial recursive function ff has infinitely many Kleene numbers.

?
Problem III.4.5

Construct primitive recursive functions that give, from the Kleene numbers of the original one-place functions, the Kleene numbers of the functions obtained from the originals:

?
(a)

by means of superposition;

(b)

by means of inversion;

(c)

by means of iteration;

(d)

by means of taking the sum of two functions.

Problem III.4.6

Prove that there is a recursively enumerable set PP satisfying the conditions:

?
(a)

if x∈Px \in P, then κx\kappa_{x} is a primitive recursive function;

(b)

for any primitive recursive function ff there is x∈Px \in P such that f=κxf = \kappa_{x}.

Problem III.4.7

Prove that there is a general recursive function universal for the family of all one-place primitive recursive functions.

?
Problem III.4.8

Construct primitive recursive functions that give, from the Kleene numbers of the original functions, the Kleene numbers of the functions obtained from the originals:

?
(a)

by means of superposition;

(b)

by means of primitive recursion;

(c)

by means of the μ\mu-operator.

Problem III.4.9

Prove that for any partial recursive function f(x1,…,xn)f(x_{1}, \ldots , x_{n}) there is a primitive recursive function g(x1,…,xn)g(x_{1}, \ldots , x_{n}) such that for any xx

κg(x1,…,xn)={κf(x1,…,xn),if f(x1,…,xn) is defined,ωotherwise. \kappa _{g(x_{1}, \ldots , x_{n})} = \begin{cases} \kappa _{f(x_{1}, \ldots , x_{n})}, & \text{if } f(x_{1}, \ldots , x_{n}) \text{ is defined,} \\ \omega & \text{otherwise.} \end{cases}
?
Problem III.4.10
?
(a)

Prove that for every partial recursive function f(x1,…,xn,y)f(x_{1}, \ldots , x_{n}, y) there is a primitive recursive function g(x1,…,xn)g(x_{1}, \ldots , x_{n}) such that

κg(x1,…,xn)={κf(x1,…,xn,g(x1,…,xn)),if f(x1,…,xn,g(x1,…,xn)) is defined,ωotherwise. \kappa _{g(x_{1}, \ldots , x_{n})} = \begin{cases} \kappa _{f(x_{1}, \ldots , x_{n}, g(x_{1}, \ldots , x_{n}))}, & \text{if } f(x_{1}, \ldots , x_{n}, g(x_{1}, \ldots , x_{n})) \text{ is defined,} \\ \omega & \text{otherwise.} \end{cases}
(b)

Prove that for every partial recursive function f(x)f(x) there is a natural number aa such that

κa={κf(a),if f(a) is defined,ωotherwise \kappa _{a} = \begin{cases} \kappa _{f(a)}, & \text{if } f(a) \text{ is defined,} \\ \omega & \text{otherwise} \end{cases}

(the fixed-point theorem).

Problem III.4.11

Prove that for any partial recursive function f(x,y)f(x,y) there is a number nn such that f(n,y)=κn(y)f(n,y) = \kappa_{n}(y) for all yy.

?
Problem III.4.12

Prove that there is a number nn such that:

?
(a)

κn(0)=n\kappa_{n}(0) = n;

(b)

κn(n)=n\kappa_{n}(n) = n.

Problem III.4.13

Prove that there is a primitive recursive function ff such that for any xx, if κx\kappa_{x} is a general recursive function, then

κκx(f(x))=κf(x). \kappa _{\kappa _{x}(f(x))} = \kappa _{f(x)}.
?
Problem III.4.14

Construct partial recursive functions κa\kappa_{a} such that:

?
(a)

κa=χ{a}\kappa_{a} = \chi_{\left\{ a\right\} };

(b)

κa=χ{a}∗\kappa_{a} = \chi_{\left\{ a\right\} }^{*};

(c)

κa=χN−{a}∗\kappa_{a} = \chi_{\mathbb {N} - \left\{ a\right\} }^{*}.

Problem III.4.15

Let F\mathcal{F} be the family of all one-place partial functions. We call a map F:F→FF: \mathcal{F} \to \mathcal{F} an effective operator, if the function g(n,x)=(F(κn))(x)g(n,x) = (F(\kappa_{n}))(x) is partial recursive. Prove that for any effective operator FF there is a partial recursive function ff such that f=F(f)f = F(f).

?
Problem III.4.16

Prove that for any partial recursive functions α,γ,δ\alpha , \gamma , \delta there is a partial recursive function ff satisfying the conditions:

?
(a)

if α(x)=0\alpha (x) = 0, then f(x)=0f(x) = 0;

(b)

if α(x)>0\alpha (x) > 0, then f(x)=γ(f(δ(x)))f(x) = \gamma (f(\delta (x))).

Problem III.4.17

Let A\mathcal{A} be a nonempty family of one-place partial recursive functions, distinct from the family of all such functions. Prove that the set

κ−1(A)={x∣κx∈A} \kappa ^{-1}(\mathcal{A}) = \left\{ x \mid \kappa _{x} \in \mathcal{A}\right\}

is not recursive (Rice's theorem).

?
Problem III.4.18

Prove that the following sets are not recursive:

?
(a)

A1={x∣κx is a constant}A_{1} = \left\{ x \mid \kappa_{x} \text{ is a constant}\right\};

(b)

A2={x∣κx(a)=b}A_{2} = \left\{ x \mid \kappa_{x}(a) = b\right\}, where a,ba, b are fixed numbers;

(c)

A3={c(x,y)∣y∈δκx}A_{3} = \left\{ c(x,y) \mid y \in \delta_{\kappa_{x}}\right\};

(d)

A4={c(x,y)∣y∈ρκx}A_{4} = \left\{ c(x,y) \mid y \in \rho_{\kappa_{x}}\right\};

(e)

A5={c(x,y)∣κx=κy}A_{5} = \left\{ c(x,y) \mid \kappa_{x} = \kappa_{y}\right\}.

Problem III.4.19

Prove the recursive enumerability of the sets of all Kleene numbers of the following families of one-place partial recursive functions:

?
(a)

functions defined at the point 00;

(b)

functions ff such that f(a)=bf(a) = b for given numbers aa and bb;

(c)

functions with nonempty domain of definition.

Problem III.4.20

Prove that every recursively enumerable set has infinitely many Post numbers.

?
Problem III.4.21

Let A\mathcal{A} be a nonempty family of recursively enumerable sets, distinct from the family of all recursively enumerable sets. Prove that the set

π−1(A)={x∣πx∈A} \pi ^{-1}(\mathcal{A}) = \left\{ x \mid \pi _{x} \in \mathcal{A}\right\}

is not recursive (Rice's theorem).

?
Problem III.4.22

Prove that the following sets are not recursive:

?
(a)

{x∣πx≠∅}\left\{ x \mid \pi_{x} \neq \emptyset \right\};

(b)

{x∣πx=N}\left\{ x \mid \pi_{x} = \mathbb {N}\right\};

(c)

{x∣a∈πx}\left\{ x \mid a \in \pi_{x}\right\}, where aa is a fixed number;

(d)

{x∣πx is finite}\left\{ x \mid \pi_{x} \text{ is finite}\right\};

(e)

{c(x,y)∣πx=πy}\left\{ c(x,y) \mid \pi_{x} = \pi_{y}\right\}.

Problem III.4.23

Prove that the sets of all Post numbers of the following families of recursively enumerable sets are recursively enumerable:

?
(a)

those containing a given number aa;

(b)

the nonempty ones.

Problem III.4.24

Prove that for any partial recursive function fnf^{n} there is a primitive recursive function gng^{n} such that

πg(x1,…,xn)={πf(x1,…,xn),if f(x1,…,xn) is defined,∅otherwise. \pi _{g(x_{1}, \ldots , x_{n})} = \begin{cases} \pi _{f(x_{1}, \ldots , x_{n})}, & \text{if } f(x_{1}, \ldots , x_{n}) \text{ is defined,} \\ \emptyset & \text{otherwise.} \end{cases}
?
Problem III.4.25

Prove that for every recursively enumerable set P⊆Nn+1P \subseteq \mathbb {N}^{n+1} (n>0n > 0) there is a primitive recursive function α(x1,…,xn)\alpha (x_{1}, \ldots , x_{n}) such that

⟨x0,x1,…,xn⟩∈P⇔x0∈πα(x1,…,xn). \langle x_{0}, x_{1}, \ldots , x_{n} \rangle \in P \Leftrightarrow x_{0} \in \pi _{\alpha (x_{1}, \ldots , x_{n})}.
?
Problem III.4.26

Prove that there exist primitive recursive functions f,g,h,u,v,wf, g, h, u, v, w such that:

?
(a)

πx∩πy=πf(x,y)\pi_{x} \cap \pi_{y} = \pi_{f(x,y)};

(b)

πx∪πy=πg(x,y)\pi_{x} \cup \pi_{y} = \pi_{g(x,y)};

(c)

{x}=πh(x)\left\{ x\right\} = \pi_{h(x)};

(d)

{c(s,t)∣s∈πx,t∈πy}=πu(x,y)\left\{ c(s,t) \mid s \in \pi_{x}, t \in \pi_{y}\right\} = \pi_{u(x,y)};

(e)

κy(πx)=πv(x,y)\kappa_{y}(\pi_{x}) = \pi_{v(x,y)};

(f)

κy−1(πx)=πw(x,y)\kappa_{y}^{-1}(\pi_{x}) = \pi_{w(x,y)}.

Problem III.4.27

Prove that there exist primitive recursive functions ff and gg such that:

?
(a)

δκx=ρκf(x)\delta_{\kappa_{x}} = \rho_{\kappa_{f(x)}};

(b)

ρκx=δκg(x)\rho_{\kappa_{x}} = \delta_{\kappa_{g(x)}}.

Problem III.4.28
?
(a)

Prove that for any partial recursive function fn+1f^{n+1} there is a primitive recursive function gng^{n} such that

πg(x1,…,xn)={πf(x1,…,xn,g(x1,…,xn)),if f(x1,…,xn,g(x1,…,xn)) is defined,∅otherwise. \pi _{g(x_{1}, \ldots , x_{n})} = \begin{cases} \pi _{f(x_{1}, \ldots , x_{n}, g(x_{1}, \ldots , x_{n}))}, & \text{if } f(x_{1}, \ldots , x_{n}, g(x_{1}, \ldots , x_{n})) \text{ is defined,} \\ \emptyset & \text{otherwise.} \end{cases}
(b)

Prove that for any partial recursive function ff there is a number aa such that

πa={πf(a),if f(a) is defined,∅otherwise \pi _{a} = \begin{cases} \pi _{f(a)}, & \text{if } f(a) \text{ is defined,} \\ \emptyset & \text{otherwise} \end{cases}

(the fixed-point theorem).

Problem III.4.29

Prove that for any recursively enumerable set M⊆Nn+2M \subseteq \mathbb {N}^{n+2} there is a primitive recursive function gng^{n} such that

⟨x0,x1,…,xn,g(x1,…,xn)⟩∈M⇔x0∈πg(x1,…,xn). \langle x_{0}, x_{1}, \ldots , x_{n}, g(x_{1}, \ldots , x_{n}) \rangle \in M \Leftrightarrow x_{0} \in \pi _{g(x_{1}, \ldots , x_{n})}.
?
Problem III.4.30

Prove that there is a number nn such that:

?
(a)

πn={n}\pi_{n} = \left\{ n\right\};

(b)

πn={n2}\pi_{n} = \left\{ n^{2}\right\};

(c)

πn=N∖{n}\pi_{n} = \mathbb {N} \setminus \left\{ n\right\}.

Problem III.4.31

Prove that the relation ≤m\leq_{m} is reflexive and transitive.

?
Problem III.4.32

Prove that every recursive set is mm-reducible to any nonempty set with nonempty complement.

?
Problem III.4.33

Prove that if AA is mm-reducible to a recursive (recursively enumerable) set, then AA is recursive (recursively enumerable).

?
Problem III.4.34

Prove that the set

K1={c(x,y)∣x∈πy} K_{1} = \left\{ c(x,y) \mid x \in \pi _{y}\right\}

is mm-universal.

?
Problem III.4.35

Prove that every mm-universal set is not recursive.

?
Problem III.4.36

Prove that the set

K={x∣x∈πx} K = \left\{ x \mid x \in \pi _{x}\right\}

is creative.

?
Problem III.4.37

Prove that every creative set is not recursive.

?
Problem III.4.38

Prove that if AA is a creative set, A≤mBA \leq_{m} B, and BB is recursively enumerable, then BB is creative.

?
Problem III.4.39

Prove that every creative set is mm-universal.

?
Problem III.4.40

Prove that a set is mm-universal if and only if it is creative.

?
Problem III.4.41

Prove that the set

K2={x∣πx≠∅} K_{2} = \left\{ x \mid \pi _{x} \neq \emptyset \right\}

is creative.

?
Problem III.4.42

Prove that there is a primitive recursive function σ(x)\sigma (x) such that the Turing machine with number σ(x)\sigma (x) computes the function κx\kappa_{x}.

?
Problem III.4.43

Prove that the set HH from problem III.3.43 of 3 is creative.

?