Virtual tapes: the +1 shift representation #
The δ_right_of_start discipline forces every head reading ▷ to move
right on every step, so a simulated head resting at cell 0 cannot be
shadowed at the same position across many UTM steps. Instead the universal
machine stores each simulated tape shifted one cell right on one of its own
work tapes:
- simulated cell
jlives at UTM cellj + 1; - UTM cell 1 is permanently
□(it shadows the simulated▷, which cannot be written); - simulated head
pis shadowed at UTM headp + 1 ≥ 1— never on▷, hence stable across steps and phase transitions.
Under this shift the one-sided tape dynamics correspond exactly:
- a simulated right/left/stay move is the same physical move one cell up (left moves from simulated position 0 never occur in sanitized dynamics);
- a simulated write at position
p ≥ 1is the same write atp + 1; - a simulated write at position 0 is a structural no-op, shadowed by
writing
□over the permanent□at UTM cell 1; - "simulated head on
▷" ⟺ "UTM head at cell 1", detectable by a left-peek.
Main definitions #
VShift sim utm— the shift correspondenceTape.StartInvariant— cell 0 is▷and nowhere else (preserved by all writes)
Main results #
VShift.read_eq/VShift.read_blank— reads under the shiftVShift.writeAndMove— one full simulated tape action correspondsVShift.init— the initial correspondence
The tape holds exactly syms after ▷: cell i+1 is syms[i] for
i < |syms| and □ beyond. Used for the UTM's state, description, and
scratch tapes, whose contents are fully determined.
Equations
Instances For
A freshly initialized (empty) tape holds [].
The shift correspondence: utm stores sim shifted one cell
right, with □ shadowing the simulated ▷ at UTM cell 1, and the head
one cell up.
Equations
Instances For
The shadow never reads ▷ (given the simulated tape is well-formed).
The shadow's cells beyond 1 never hold ▷ (given the simulated tape is
well-formed).
One full simulated tape action corresponds: writing s and moving
d on the simulated tape is shadowed by writing
if at-origin then □ else s and moving d, provided the sanitized
direction discipline (▷ ⇒ right) holds.
The initial correspondence: the simulated initial tape (contents l)
is shadowed by ▷ □ l ⋯ with head at cell 1.