On the space and time complexity of functions computable by simple programs

We study the space and time complexity of functions computable by simple loop-free programs operating on integers. In particular, we show that any function $f(x_1 , \cdots ,x_k )$ computable by a program using only comparison-based conditional forward branching instructions and the arithmetic operat...

Full description

Saved in:
Bibliographic Details
Published inSIAM journal on computing Vol. 12; no. 4; pp. 708 - 716
Main Authors TAT-HUNG CHAN, IBARRA, O. H
Format Journal Article
LanguageEnglish
Published Philadelphia, PA Society for Industrial and Applied Mathematics 01.11.1983
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:We study the space and time complexity of functions computable by simple loop-free programs operating on integers. In particular, we show that any function $f(x_1 , \cdots ,x_k )$ computable by a program using only comparison-based conditional forward branching instructions and the arithmetic operations $ + , - $, and truncating division by integer constants (such programs compute exactly the functions definable in Presburger arithmetic) can be computed by an off-line Turing machine in space $s(n)$ and time $n^2 /s(n)$ for any reasonable space bound $s(n)$ between $\log n$ and $n$. Moreover, the space-time trade-off is optimal.
ISSN:0097-5397
1095-7111
DOI:10.1137/0212048