How many tag steps a machine step takes
How many tag steps a machine step takes
Wolfram Institute • 2026
A machine step takes three rounds of the tag system (five for a move to the left), and a round takes as many tag steps as the word has symbol pairs, which is about the two tape halves written in unary: at most 15 2^(sz c) for a configuration with sz c explicit cells. The tape grows by at most a cell per step, so n steps take at most n 15 2^(sz c + n) tag steps.
Round lengths
Round lengths
The word of a configuration spells the left half and the right number in unary, so it has about pairs and a round takes about that many steps. Both numbers are below for a configuration with explicit cells. The machine of the companion notebooks:
m
N
m+N
2^(szc+1)
szc
In[1]:=
machine={{1,0}->{2,1,1},{1,1}->{1,0,-1},{2,0}->{1,1,-1},{2,1}->{2,1,1}}
Out[1]=
{{1,0}{2,1,1},{1,1}{1,0,-1},{2,0}{1,1,-1},{2,1}{2,1,1}}
Its tag system from , with the tag times of six steps:
011
In[2]:=
tag=TuringMachineToTagSystem[machine,{1,{},0,{1,1}},6]
Out[2]=
TagSystem
The machine's run, for the tape sizes:
In[3]:=
TuringMachineEvolutionPlot[machine,{1,{},0,{1,1}},6,ImageSize->240]
Out[3]=
0 | 0 | 1 | 1 | 0 |
1 | 1 | 1 | 1 | 0 |
2 | 1 | 1 | 1 | 0 |
3 | 1 | 1 | 1 | 0 |
4 | 1 | 1 | 1 | 1 |
5 | 1 | 1 | 0 | 1 |
6 | 1 | 0 | 0 | 1 |
The tag times against the bound (two explicit cells to start with):
15n2^(n+2)
In[4]:=
ListLogPlot[{tag["TagTimes"],Table[n152^(2+n),{n,0,6}]},Joined->True,PlotMarkers->Automatic,PlotLegends->{"tag time","bound"},AxesLabel->{"machine steps",None},ImageSize->420]
Out[4]=
The bound is exponential in the number of steps because the numbers are written in unary: this is the cost of the Cocke-Minsky construction, not of Smith's.