A Turing machine is an abstract computational model with a finite control, an unbounded tape and a head that reads, writes and moves on the tape.
An instantaneous description records the current control state, head position, and tape contents. For a tape blank outside a finite window, a word records the symbols to the left of the head and from the scanned cell rightward, with unrecorded cells blank. If is empty, the head scans an implicit blank. Extra outer blanks can represent the same infinite tape. The instruction of a Turing machine determines its successor description.
For a deterministic single-tape Turing machine, an instruction reads a state and scanned tape symbol , writes , changes state to , and moves the head one cell left, one cell right, or not at all according to . The state and tape alphabets are finite; an undefined transition halts. A dedicated terminal state can be introduced by directing undefined transitions to it without changing whether computation halts.
Encode the cells immediately left of the head in a reversed positional stack , and the current and right cells in . Quotient and remainder by the alphabet base read and remove cells; multiplication by that base pushes a cell. The resulting local tape transitions are primitive recursive, which makes them directly implementable on Church numerals.
A modular machine of modulus acts on pairs in . Each instruction or has and , and at most one instruction is assigned to each residue pair . The two transition types are and . These finite arithmetic operations can encode a Turing machine; a designated terminal configuration can have a nonrecursive halting set.
A modular machine can be encoded by HNN extensions of . The kernel of has a free basis of a group . Associated-subgroup maps send these basis elements according to the two arithmetic transition types. In the resulting group, membership of in the subgroup generated by and the instruction stable letters is equivalent to . One more HNN extension centralizes that finitely generated subgroup, converting membership to equality and hence to the word problem for a group.
For a modular machine whose is terminal, is the set of configurations whose forward computation reaches exactly , including the zero-step computation there. It may differ from the set of configurations stopping at any terminal configuration. Determinism makes membership invariant along each instruction edge.
In a deterministic computation, every configuration and input symbol determine at most one next configuration.
A reversible computation has an injective transition function, so its preceding configuration can be recovered from its current configuration. Any finite classical computation can be simulated reversibly while retaining enough workspace to uncompute its temporary results.
A reversible circuit is composed of bijective gates. The Toffoli gate is universal for reversible Boolean computation when ancillary bits are available.
A nondeterministic computation may have several possible next configurations and accepts when at least one computation path accepts.
An oracle machine may query membership in a fixed language in one computation step.
A relativized complexity class allows every machine defining to query the same oracle .

Ancestors (3)

  1. Theoretical computer science
  2. Computer science
  3. Home

Discussion (0)

New discussion

There are no discussions about this article yet.

Articles by others on the same topic (2)

A Turing machine is a theoretical computational model introduced by the mathematician and logician Alan Turing in 1936. It is a fundamental concept in computer science and is used to understand the limits of what can be computed. A Turing machine consists of the following components: 1. **Tape**: An infinite tape that serves as the machine's memory. The tape is divided into discrete cells, each of which can hold a symbol from a finite alphabet.
Turing machine by Ciro Santilli 40 Updated 2025-07-16
The dominating model of a computer.
The model is extremely simple, but has been proven to be able to solve all the problems that any reasonable computer model can solve, thus its adoption as the "default model".
The smallest known Turing machine that cannot be proven to halt or not as of 2019 is 7,918-states: www.scottaaronson.com/blog/?p=2725. Shtetl-Optimized by Scott Aaronson is just the best website.
A bunch of non-reasonable-looking computers have also been proven to be Turing complete for fun, e.g. Magic: The Gathering.