













































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Various variants of turing machines, including input-output tms, non-deterministic tms, and multi-tape tms. It explains the concept of input-output tms, their function, and partial and total functions. The document also provides examples of high-level, implementation-level, and low-level tm descriptions, as well as examples of non-deterministic tms and their implementation. It also discusses konig's infinity lemma and its importance in the context of problem 3.3 in sipser.
Typology: Slides
1 / 53
This page cannot be seen from the preview
Don't miss anything!














































1
2
Non-deterministic TM‟s Multi-Tape
4
5
There are three ways that Sipser uses to describe TM algorithms.
High level – pseudocode which explains how algorithm works without the technical snafoos of TM notation
Implementation level – describe how the TM operates on its tape. No need to mention states explicitly.
Low-level description. One of:
Set of complete “goto” style instructions State diagram Formal description: spell out the 7-tuple
7
8
10
M = "On input w = 1^ n
11
0
halt
2
6 5
8
9
13
14
Consider the non-deterministic method:
void nonDeterministicCrossOut(char c)
while() if (read blank) go left else if (read c) cross out, go right, return OR go right // even when reading c OR go left // even when reading c
16
of 0‟s as 1‟s as 2‟s }
the state of the TM inside nonDeterministicCrossOut(„2‟). Suppose that current configuration is
17
19
For Problem 3.3 in Sipser the following fact is important:
If a NTM is a decider then given any input,
Konig’s Infinity Lemma: An infinite tree with finite branching at each node must contain an infinitely long path from the root.
Or really, the contrapositive is used: A tree with no infinite paths, and with finite branching must itself be finite.
20