The Structure of In-Place Space-Bounded Computation
Abstract
In the standard model of computing multi-output functions in logspace (FL), we are given a read-only tape holding x and a logarithmic length worktape, and must print f(x) to a dedicated write-only tape. However, there has been extensive work (both in theory and in practice) on algorithms that transform x into f(x) in-place on a single read-write tape with limited (in our case O( n)) additional workspace. We say f∈ inplaceFL if f can be computed in this model. We initiate the study of in-place computation from a structural complexity perspective, proving upper and lower bounds on the power of inplaceFL. We show the following: i) Unconditionally, FL⊂eq inplaceFL. ii) The problems of integer multiplication and evaluating NC04 circuits lie outside inplaceFL under cryptographic assumptions. However, evaluating NC02 circuits can be done in inplaceFL. iii) We have FL ⊂eq inplaceFLSTP. Consequently, proving inplaceFL ⊂eq FL would imply SAT ∈ L. We also consider the analogous catalytic class (inplaceFCL), where the in-place algorithm has a large additional worktape tape that it must reset at the end of the computation. We give inplaceFCL algorithms for matrix multiplication and inversion over polynomial-sized finite fields. We furthermore use our results and techniques to show two novel barriers to proving CL ⊂eq P. First, we show that any proof of CL⊂eq P must be non-relativizing, by giving an oracle relative to which CLO=EXPO. Second, we identify a search problem in searchCL but not known to be in P.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.