Finite observations of space-bounded transducer configurations #
This file defines the finite snapshots used to turn an auxiliary-space bound
for a deterministic transducer into a time bound. A work tape whose head stays
within space is observed only through that bounded head position and the
cells through space. The input is read-only, so its head position suffices.
For the one-way output tape, only whether the head is at the left marker and
the symbol currently under the head can affect future execution.
Main definitions #
Tape.BoundedObs— the finite observable part of a space-bounded tapeTape.boundedObs— observe a tape whose head satisfies the space boundTM.TransducerSnapshot— the finite observable part of a transducer configurationTM.transducerSnapshot— observe a configuration within auxiliary spaceTM.transducerConfigBound— the number of possible transducer snapshots
The fixed tape alphabet has four symbols.
The observable part of a tape whose head never travels beyond space.
It records the bounded head position and every cell the head can visit.
Equations
- Complexity.Tape.BoundedObs space = (Fin (space + 1) × (Fin (space + 1) → Complexity.Γ))
Instances For
The exact number of bounded observations of one work tape.
The finite observable part of a space-bounded transducer configuration.
The output position and written prefix are deliberately absent: for a one-way output tape, future execution can inspect only whether the head is still on the exceptional left-marker cell and the symbol under its current head.
Equations
- tm.TransducerSnapshot inputLength space = (tm.Q × Fin (inputLength + space + 2) × (Fin k → Complexity.Tape.BoundedObs space) × Bool × Complexity.Γ)
Instances For
Observe the finite part of a configuration satisfying an auxiliary-space bound. The output-head zero flag distinguishes the immutable left-marker cell from ordinary output cells.
Equations
Instances For
A concrete upper bound on the number of finite snapshots of a k-work-tape
transducer using auxiliary space space on inputs of length inputLength.
Equations
Instances For
transducerConfigBound is the exact cardinality of the snapshot type.