Time, Space, and Configuration Counting

Bound the number of configurations of a space-limited computation and use repeated configurations to relate time to space.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Work tape space leaves only finitely many configurations
  2. A deterministic decider cannot revisit a full configuration

Work tape space leaves only finitely many configurations

On a read-only input of length \(n\), a fixed machine with one bounded work tape using \(s\) cells has at most a constant times \(n(s+1)|\Gamma|^s\) configurations for that input, under the usual end-marker and head conventions. Count the input head position, work head position, work contents and control state. For \(s=\Omega(\log n)\), the bound is \(2^{O(s)}\).

A deterministic decider cannot revisit a full configuration

On a fixed input, a repeated configuration has exactly the same future, so repetition would create an infinite loop. A halting deterministic space-\(s\) machine therefore runs within its configuration count. Conversely, time \(t\) permits at most \(O(t)\) newly visited work cells. These inequalities do not identify the precise relationship between efficient time and space in general. Turing machine simulation supplies the underlying representation. Circuit families use a size measure with a different treatment of the input length.[1][2]

References

  1. Michael Sipser, Introduction to the Theory of Computation ↩
  2. MIT OpenCourseWare, Automata, Computability, and Complexity: Lecture Notes ↩