Multi-track Turing machine

From testwiki
Revision as of 07:49, 4 June 2024 by imported>Cedar101 (Proof of equivalency to standard Turing machine: merge <math>)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Technical

Template:Turing

A Multitrack Turing machine is a specific type of multi-tape Turing machine.

In a standard n-tape Turing machine, n heads move independently along n tracks. In a n-track Turing machine, one head reads and writes on all tracks simultaneously. A tape position in an n-track Turing Machine contains n symbols from the tape alphabet. It is equivalent to the standard Turing machine and therefore accepts precisely the recursively enumerable languages.

Formal definition

A multitrack Turing machine with n-tapes can be formally defined as a 6-tupleM=Q,Σ,Γ,δ,q0,F, where

  • Q is a finite set of states;
  • ΣΓ{b} is a finite set of input symbols, that is, the set of symbols allowed to appear in the initial tape contents;
  • Γ is a finite set of tape alphabet symbols;
  • q0Q is the initial state;
  • FQ is the set of final or accepting states;
  • δ:(QF×Γn)(Q×Γn×{L,R}) is a partial function called the transition function.
Sometimes also denoted as δ(Qi,[x1,x2...xn])=(Qj,[y1,y2...yn],d), where d{L,R}.

A non-deterministic variant can be defined by replacing the transition function δ by a transition relation δ(QF×Γn)×(Q×Γn×{L,R}).

Proof of equivalency to standard Turing machine

This will prove that a two-track Turing machine is equivalent to a standard Turing machine. This can be generalized to a n-track Turing machine. Let L be a recursively enumerable language. Let M=Q,Σ,Γ,δ,q0,F be standard Turing machine that accepts L. Let Template:Mvar is a two-track Turing machine. To prove Template:Tmath it must be shown that MM and MM.

  • MM

If the second track is ignored then Template:Mvar and Template:Mvar are clearly equivalent.

  • MM

The tape alphabet of a one-track Turing machine equivalent to a two-track Turing machine consists of an ordered pair. The input symbol a of a Turing machine Template:Mvar can be identified as an ordered pair Template:Tmath of Turing machine Template:Mvar. The one-track Turing machine is:

M=Q,Σ×B,Γ×Γ,δ,q0,F with the transition function δ(qi,[x1,x2])=δ(qi,[x1,x2])

This machine also accepts L.

References

Template:Reflist

  • Thomas A. Sudkamp (2006). Languages and Machines, Third edition. Addison-Wesley. Template:Isbn. Chapter 8.6: Multitape Machines: pp 269–271