Time and Space

Time and space are fundamental parameters for measuring the efficiency of algorithms, and the notion of trading off one for the other is a familiar one in the programmer's informal repertoire. Nonetheless, providing satisfactory mathematical definitions of computational time and space and establishing formal relationships between them remains a central problem in computing theory. In this chapter we examine the interplay between time and space determined by a variety of machine models and explore the connection between time and space complexity classes. We consider a number of possible inclusion relationships among these classes and discuss their consequences, along with recent results indicating that mechanical procedures may be available for reducing the space used by programs. This rosy picture is darkened somewhat by a counterexample due to Cobham, which states that minimum time and space cannot always be achieved by a single program.

[1]  A. Grzegorczyk Some classes of recursive functions , 1964 .

[2]  Dennis M. Ritchie,et al.  The complexity of loop programs , 1967, ACM National Conference.

[3]  S.-Y. Kuroda,et al.  Classes of Languages and Linear-Bounded Automata , 1964, Inf. Control..

[4]  Jeffrey D. Ullman,et al.  Nonerasing Stack Automata , 1967, J. Comput. Syst. Sci..

[5]  Arnold L. Rosenberg,et al.  Real-Time Simulation of Multihead Tape Units , 1972, JACM.

[6]  Larry J. Stockmeyer,et al.  The Polynomial-Time Hierarchy , 1976, Theor. Comput. Sci..

[7]  Dexter Kozen,et al.  On parallelism in turing machines , 1976, 17th Annual Symposium on Foundations of Computer Science (sfcs 1976).

[8]  Kurt Mehlhorn,et al.  Lower Bounds for the Space Complexity of Context-Free Recognition , 1976, International Colloquium on Automata, Languages and Programming.

[9]  Richard Edwin Stearns,et al.  Memory bounds for recognition of context-free and context-sensitive languages , 1965, SWCT.

[10]  Alan Cobham,et al.  The Recognition Problem for the Set of Perfect Squares , 1966, SWAT.

[11]  L. Csanky,et al.  Fast Parallel Matrix Inversion Algorithms , 1976, SIAM J. Comput..

[12]  Mike Paterson Tape Bounds for Time-Bounded Turing Machines , 1972, J. Comput. Syst. Sci..

[13]  J. Hartmanis,et al.  On the Computational Complexity of Algorithms , 1965 .

[14]  Stephen A. Cook,et al.  An Observation on Time-Storage Trade Off , 1974, J. Comput. Syst. Sci..

[15]  Oscar H. Ibarra,et al.  Characterizations of Some Tape and Time Complexity Classes of Turing Machines in Terms of Multihead and Auxiliary Stack Automata , 1971, J. Comput. Syst. Sci..

[16]  Dennis M. Ritchie,et al.  A Classification of the Recursive Functions , 1972 .

[17]  Stephen A. Cook,et al.  Characterizations of Pushdown Machines in Terms of Time-Bounded Computers , 1971, J. ACM.

[18]  Robert W. Ritchie,et al.  CLASSES OF PREDICTABLY COMPUTABLE FUNCTIONS , 1963 .

[19]  F. C. Hennie,et al.  On-Line Turing Machine Computations , 1966, IEEE Trans. Electron. Comput..

[20]  Ronald V. Book,et al.  On Languages Accepted in Polynomial Time , 1972, SIAM J. Comput..

[21]  Peter S. Landweber,et al.  Three Theorems on Phrase Structure Grammars of Type 1 , 1963, Inf. Control..

[22]  M. Fischer,et al.  SUPER-EXPONENTIAL COMPLEXITY OF PRESBURGER ARITHMETIC , 1974 .

[23]  Leslie G. Valiant,et al.  General Context-Free Recognition in Less than Cubic Time , 1975, J. Comput. Syst. Sci..

[24]  Robert E. Tarjan,et al.  A Combinatorial Problem Which Is Complete in Polynomial Space , 1976, JACM.

[25]  Stephen A. Cook,et al.  The complexity of theorem-proving procedures , 1971, STOC.

[26]  Harry B. Hunt,et al.  The LBA Problem and its Importance in the Theory of Computing , 1973 .

[27]  Larry J. Stockmeyer,et al.  A Characterization of the Power of Vector Machines , 1976, J. Comput. Syst. Sci..

[28]  Albert R. Meyer,et al.  The Equivalence Problem for Regular Expressions with Squaring Requires Exponential Space , 1972, SWAT.

[29]  Neil D. Jones,et al.  Complete problems for deterministic polynomial time , 1974, Symposium on the Theory of Computing.

[30]  Juris Hartmanis,et al.  On the Power of Multiplication in Random Access Machines , 1974, SWAT.

[31]  Leslie G. Valiant,et al.  On time versus space and related problems , 1975, 16th Annual Symposium on Foundations of Computer Science (sfcs 1975).

[32]  George E. Collins,et al.  Quantifier elimination for real closed fields by cylindrical algebraic decomposition , 1975 .

[33]  Stephen A. Cook,et al.  Storage requirements for deterministic / polynomial time recognizable languages , 1974, STOC '74.

[34]  Yehoshua Bar-Hillel,et al.  The Intrinsic Computational Difficulty of Functions , 1969 .

[35]  Joseph Alphonso Giuliano Writing Stack Acceptors , 1970, Journal of computer and system sciences (Print).

[36]  Robert E. Tarjan,et al.  Efficient Planarity Testing , 1974, JACM.

[37]  Richard Edwin Stearns,et al.  Two-Tape Simulation of Multitape Turing Machines , 1966, JACM.