Fast Simulation of Turing Machines by Random Access Machines

From MaRDI portal





During the last five years there has been a revival of interest in the relations between the various machine models for sequential computation which are traditionally used in the foundations of computational complexity theory. The Turing machine remains the standard model for theoretical purposes whereas the random access machine (RAM) remains the standard model for analyzing specific algorithms in the field. It is therefore relevant to know to what extent upper and lower bounds in complexity theory depend on the machine models used. In particular the mutual simulation overheads between Turing machines and random access machines indicate the measure of machine dependency of daily life practice in complexity theory. The paper deals with the case of simulation of a Turing machine on a RAM. It is well known that an O(T(n)\(\cdot \log (T(n)))\) simulation is possible. The evident method of storing consecutive taps squares into consecutive registers achieves this bound. Wolfgang Paul gave an improved simulation (involving another size quantity: the output size U(n)) where the overhead becomes \(O(T(n)+n\cdot \log (n)+U(n)\cdot \log (T(n)))\), based on the idea of precomputing the effect of a number of transitions and storing the result in a table. Given the fact that the log(T(n)) penalty is incurred by addressing registers storing just a single tape symbol it turns out to be possible to speed-up the simulation by storing blocks of tape symbols in single registers. These blocks have to be decoded and encoded. This can be combined with a move to low-indexed registers which makes the addressing cheaper. The main technical problem is that the encoding and decoding of blocks has to be performed without use of multiplications and divisions since they are unavailable instructions on the standard RAM model. Table look-up provides the solution. The resulting improved overheads are obtained by replacing the log(T(n)) factor by a log log(S(n)) factor in both earlier results, where S(n) is the space used.




Cited in
(25)








This page was built for publication: Fast Simulation of Turing Machines by Random Access Machines

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3805901)