Software

We devise a coding: (write $\op{code}(k)$ for the encoding of $k$)

Write $f_{n,k}: \N^k \dashrightarrow \N$ for the partial function computed by machine encoded by $n$. If $n$ does not code a program, define $\op{dom}(f_{n,k}) = \emptyset$.

The software principle: there is a universal register machine $U$ such that $$ \begin{align*} f_{U,3}(n, k, m) = f_{n,k}((m)_1, \ldots, (m)_k). \end{align*} $$ (Proof)

We can then extend notation: for arbitrary $v\in \mathbb{W}$, define $f_{v,k}(\v w) = f_{U,2}(v,\op{code}(\v w))$.

Theorem (s-m-n) open_in_new

Let $m,k\in \Z_{\geq 1}$, and write $\N^{m+k} = \N^{m} \times \N^{k}$.

A function $h: \N^{m+k}\dashrightarrow \N$ is partial computable iff there exists a total computable function $τ: \N^{m}\to \N$ such that $$ \begin{align*} h(\v a, \v x) = f_{τ(\v a), k}(\v x) \end{align*} $$ where $f_{n,k}$ is defined here.

Proof