ITTM
An infinite time Turing machine (abbreviated "ITTM") is a generalization of a Turing machine to infinite computation times, first described by Joel David Hamkins and Andy Lewis.[1] They are based on infinite ordinals.
Ordinals
An ordinal number, as the name implies, is tied to the idea of order, in that there is always a "next" ordinal. For example, the smallest ordinal is 0, and the next ordinal is 1, then 2, etc. However, we are not limited to talking about the smallest ordinal bigger than one ordinal, but we can also talk about the smallest ordinal bigger than any ordinal in any set of ordinals (e.g. the set of natural numbers is a set of ordinals, thus there is a minimal ordinal bigger than every natural number - the smallest infinite/transfinite ordinal). The smallest infinite ordinal is denoted . Ordinal variables are also typically denoted with Greek letters.
Ordinal arithmetic operates similarly but differently to regular arithmetic. For natural numbers, addition, multiplication, and exponentiation are defined as normal, and they act nearly the same for infinite ordinals. However, they don't always act the same; for example, addition and multiplication are non-communative, meaning and aren't always true, as seen in and . However, addition and multiplication are still associative as usual, and there is one-sided distributivity of multiplication over addition.
The proper class of all ordinals is typically denoted as , , or . is not a set of ordinals, as if it were, there would be an ordinal greater than all ordinals, which is contradictary.
Definition
The original model by Hamkins and Lewis has three one-sided, two-color countably infinite tapes, called input, scratch and output tapes, and a single read-write head which reads one cell from each tape. (Models with one tape have been considered as well — surprisingly, they have been shown to be weaker.[2] To our knowledge, tapes with more than two colors have not been explored.) The transition table takes into account (but not necessarily behaves in the same way) all three tapes simultaneously, and writes three at once. The scratch and output tapes are blank initially, and the input tape contains the input to the machine.
ITTMs have a particular state marked as the limit state. At each step, the ITTM proceeds normally with a timer starting at zero and incrementing at each step. If it does not halt for any , at each cell on each tape is set to the supremum of that cell's symbol for steps . In addition, the head is set to the leftmost position and the state is set to limit. The ITTM continues as before, and if it continues to without halting, the same thing happens with the supremum of the tapes for . In general, if the ITTM reaches a countable limit ordinal without halting, at time , it is set to the limit superior of the tapes at for all . That is, a cell is set to 1 iff for all , there is some step such that the cell was set to 1 at step .
If the ITTM halts, the contents of the output tape at halting time are the output of the machine. If the ITTM does not halt, but after some point the output tape never changes, the output tape after that point is the eventual output of the machine. For both halting and non-halting cases, all of the configurations of the three tapes over the lifetime of the ITTM are the accidental outputs of the machine. It should be noted that outputs and eventual outputs are unique if they exist, but accidental outputs are not.
Formal definition
Formally, a two-color ITTM is a 5-tuple with the following components:
- is a finite, non-empty set of states.
- is the initial state.
- is the halting state.
- is the limit state.
- is the transition table. Each production has a non-halting state and three colors mapping to a state, three colors, and a movement.
Most definitions of the standard TM have a symbol designated as "blank," which is the only symbol that can appear infinitely many times on tape. ITTMs have no such restriction, since ITTM inputs and outputs can be infinitely large.
Configurations
This section defines configurations of the machine and how state transitions work. The semantics defined in this section are identical to those of an ordinary machine (albeit with three tapes).
A configuration of is a 3-tuple where is the current state of the machine, are the contents of tapes, and is the positions of the head. We use to denote the set of configurations. We define (a single computation step) as a binary relation over as follows. We say that iff the following are true:
- For all ,
It can be seen that is a function; i.e., is unique.
Input, output, and evolution
An input to an ITTM is simply a function (meant to be the content of the first tape), and an initial contents for that input is such that . A computation of on an input is a function (where is a successor ordinal, or the class ) that satisfies the following properties:
- For all , .
- For all limit ordinals , where for all , where .[3]
- If , .
Halting, writing, and ITTM-computability
If , then the machine is halting for , and we call the halting time. Define the output of the computation as the function , defined as . It is not hard to show that this output must be unique.
If , then the machine is nonhalting for . If there is some such that for all sufficiently large , , then we say that the machine eventually writes . It is not hard to show that eventual output is also unique if it exists.
For all , if there is an such that , we say that the machine accidentally writes for the input. Accidental outputs are not unique.
The uniqueness of outputs and eventual outputs allows us to define the partial ITTM-computable functions and partial eventually-computable functions. A partial function is ITTM-computable iff there exists an ITTM such that iff produces output with input (using an encoding scheme for natural numbers such as ). A partial function is eventually computable iff there exists an ITTM such that iff produces eventual output with input .
ITTM ordinals
ITTMs are capable of producing far more outputs than ordinary TMs, including ordinals. This leads to several classes of ordinals:
- An ordinal is writable iff an ITTM with empty input (all zeros) has as its output.
- An ordinal is clockable iff an ITTM with empty input halts at time .
- An ordinal is eventually writable iff an ITTM with empty input has as its eventual output.
- An ordinal is accidentally writable iff an ITTM with empty input has as an accidental output.
(The first and last two definitions can apply to many mathematical objects other than ordinals) These definitions give rise to several large countable ordinals (the infinite time Turing machine ordinals):
- , the supremum of all writable ordinals
- , the supremum of all clockable ordinals
- , the supremum of all eventually writable ordinals
- , the supremum of all accidentally writable ordinals
It has been shown that ,[4] where is the Church-Kleene ordinal.
Encoding ordinals in bitstrings
To be able to read and write ITTM ordinals, we must specify an encoding scheme to represent ordinals with countably infinite bitstrings. Here is one such scheme:
- "1000..." encodes .
- If string S encodes , then the string "0" + S (where + denotes string concatenation) encodes .
- If strings encode , then we interleave the strings into a new bitstring according to the following scheme:
- Start with every bit of labeled "empty".
- Write the bits of in every second bit of .
- Write the bits of in every second remaining empty bit of .
- Write the bits of in every second remaining empty bit of .
- Repeat for all of the .
- Write "1" in the first bit of .
- encodes .
Using this encoding, "" represents 1, "" represents 2, "" represents 3 and so on.
Then represents .
This is of course one of many possible encoding schemes, and within this scheme multiple bitstrings represent a single ordinal.
References
- ↑ Infinite Time Turing Machines
- ↑ http://arxiv.org/abs/math/9907044
- ↑ Bullets here indicate discarded portions of tuples.
- ↑ http://www.maths.bris.ac.uk/~mapdw/pdw4.ps