Definition:Turing Machine/Computable Function

From ProofWiki
Jump to navigation Jump to search

Definition

Let $T = \struct {Q, \Sigma, \Gamma, \delta, q_0, B, F}$ be a Turing machine.

Let $D$ be the set of finite strings $w \in \Sigma^*$ such that $T$ halts on $w$.

For each $w \in D$, let $\alpha, \beta \in \Gamma^*$, $X \in \Gamma$, $q \in Q$ be unique such that:

$q_0 w \vdash^* \alpha q X \beta$

where $\map \delta {q, X}$ is undefined.



Let:

$\alpha \beta = B \dotso B s_1 s_2 \dotso s_{n - 1} s_n B \dotso B$

where:

$s_i \in \Gamma$ for each $1 \le i \le n$
$s_1 \ne B$ and $s_n \ne B$

That is, $s_1 \dotso s_n$ is the concatenation $\alpha \beta$, excluding any leading or trailing $B$ symbols.


Then, the mapping $f : D \to \Gamma^*$ defined as:

$\map f w = s_1 s_2 \dotso s_{n - 1} s_n$

is the function computed by $T$.


A mapping computed by some Turing machine is a computable function.


Sources