7.Turing-decidable Languages§
A language \(L \subset \Sigma_0^*\) is Turing-decidable iff
function \(\chi_L: \Sigma^*_0 \rightarrow \{\fbox{Y}, \fbox{N}\}\)
is Turing-computable, where for each \(w \in \Sigma^*_0\),
\(\chi_L(w) = \left\{ \begin{array}{ll} \fbox{Y} & \mbox{if $w \in L$}\\ \fbox{N} & \mbox{otherwise} \end{array} \right.\)
Example: Let \(\Sigma_0 = \{a\}\), and let \(L = \{w \in \Sigma^*_0: |w|\ \mbox{is even}\}\).
\(M\) erases the marks from right to left, with current parity encode by state. Once the string is finished, mark \(\fbox{Y}\) or \(\fbox{N}\) as appropriate.