English

The Structure of In-Place Space-Bounded Computation

Computational Complexity 2025-10-15 v1 Data Structures and Algorithms

Abstract

In the standard model of computing multi-output functions in logspace (FL\mathsf{FL}), we are given a read-only tape holding xx and a logarithmic length worktape, and must print f(x)f(x) to a dedicated write-only tape. However, there has been extensive work (both in theory and in practice) on algorithms that transform xx into f(x)f(x) in-place on a single read-write tape with limited (in our case O(logn)O(\log n)) additional workspace. We say finplaceFLf\in \mathsf{inplaceFL} if ff 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\mathsf{inplaceFL}. We show the following: i) Unconditionally, FL⊈inplaceFL\mathsf{FL}\not\subseteq \mathsf{inplaceFL}. ii) The problems of integer multiplication and evaluating NC40\mathsf{NC}^0_4 circuits lie outside inplaceFL\mathsf{inplaceFL} under cryptographic assumptions. However, evaluating NC20\mathsf{NC}^0_2 circuits can be done in inplaceFL\mathsf{inplaceFL}. iii) We have FLinplaceFLSTP.\mathsf{FL} \subseteq \mathsf{inplaceFL}^{\mathsf{STP}}. Consequently, proving inplaceFL⊈FL\mathsf{inplaceFL} \not\subseteq \mathsf{FL} would imply SAT∉L\mathsf{SAT} \not\in \mathsf{L}. We also consider the analogous catalytic class (inplaceFCL\mathsf{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\mathsf{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 CLP\mathsf{CL} \subseteq \mathsf{P}. First, we show that any proof of CLP\mathsf{CL}\subseteq \mathsf{P} must be non-relativizing, by giving an oracle relative to which CLO=EXPO\mathsf{CL}^O=\mathsf{EXP}^O. Second, we identify a search problem in searchCL\mathsf{searchCL} but not known to be in P\mathsf{P}.

Keywords

Cite

@article{arxiv.2510.12005,
  title  = {The Structure of In-Place Space-Bounded Computation},
  author = {James Cook and Surendra Ghentiyala and Ian Mertz and Edward Pyne and Nathan S. Sheffield},
  journal= {arXiv preprint arXiv:2510.12005},
  year   = {2025}
}

Comments

43 pages

R2 v1 2026-07-01T06:35:09.143Z