<?xml version="1.0" encoding="UTF-8"?>

<record version="3" id="3416">
 <title>non-deterministic Turing machine</title>
 <name>NonDeterministicTuringMachine</name>
 <created>2002-09-03 21:26:39</created>
 <modified>2002-09-06 13:16:54</modified>
 <type>Definition</type>
 <creator id="455" name="Henry"/>
 <author id="455" name="Henry"/>
 <classification>
	<category scheme="msc" code="68Q05"/>
 </classification>
 <defines>
	<concept>certificate</concept>
 </defines>
 <related>
	<object name="TuringMachine2"/>
 </related>
 <preamble>% this is the default PlanetMath preamble.  as your knowledge
% of TeX increases, you will probably want to edit this, but
% it should be fine as is for beginners.

% almost certainly you want these
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}

% used for TeXing text within eps files
%\usepackage{psfrag}
% need this for including graphics (\includegraphics)
%\usepackage{graphicx}
% for neatly defining theorems and propositions
%\usepackage{amsthm}
% making logically defined graphics
%\usepackage{xypic}

% there are many more packages, add them here as you need them

% define commands here
%\PMlinkescapeword{theory}</preamble>
 <content>The definition of a non-deterministic Turing machine is the same as the definition of a deterministic Turing machine except that $\delta$ is a relation,  not a function.  Hence, for any particular state and symbol, there may be multiple possible legal moves.

If $S\in\Gamma^+$ we say $T$ accepts $S$ if, when $S$ is the input, there is some finite sequence of legal moves such that $\delta$ is undefined on the state and symbol pair which results from the last move in the sequence and such that the final state is an element of $F$.  If $T$ does not accept $S$ then it rejects $S$.

An alternative definition of a non-deterministic Turing machine is as a deterministic Turing machine with an extra one-way, read-only tape, the guess tape.  Then we say $T$ accepts $S$ if there is any string $c(S)$ such that, when $c(S)$ is placed on the guess tape, $T$ accepts $S$.  We call $c(S)$ a \emph{certificate} for $S$, and otherwise that it rejects $S$.  In some cases the guess tape is allowed to be two-way; this generates different time and space complexity classes than the one-way case (the one-way case is equivalent to the original definition).</content>
</record>
