Resetting the working cell to the bottom #
A random access starts at the checkpoint: marker and mirror at the empty
address. Getting there from wherever the marker is –
DescriptiveComplexity.Draw.Prog.reaches_reset – is the one itinerary of the
program that runs down the working area: erase the marker and step
right (never left, so the empty address needs no special case), scan left
to the cell the permanent bot mark identifies, write the marker there
stepping right, and bounce back left onto it. The mirror is cleared by a
separate DescriptiveComplexity.Draw.ClearKit trip afterwards.
DescriptiveComplexity.Draw.ResetKit is the kit: the scan and the two
bounce steps; the erasing entry is the caller's rule, and the landing phase
hosts nothing – the machine arrives exactly once, at the bottom cell, where
the caller's exit fires.
The reset, the budget forgotten.
Dependency graph
The reset kit #
The phases of a reset: the down-scan, the bounce, and the landing – which hosts no rule, the caller's exit firing on arrival.
- scan : ResetPh
Scanning left to the bottom cell.
- b : ResetPh
The marker written, bouncing back.
- done : ResetPh
At the bottom cell, marker set.
Instances For
Dependency graph
Dependency graph
Dependency graph
The rule families of a reset.
- down : ResetRule
Scan left while the bottom mark is clear.
- put : ResetRule
At the bottom cell: write the marker, step right.
- back : ResetRule
Bounce back left onto the marker.
Instances For
Dependency graph
Dependency graph
Dependency graph
A reset kit: the walked track, the bottom-mark and marker slots, and the phases.
- t : W
The walked track (rides along unchanged).
- bt : W
The bottom mark, planted at the empty address at startup.
- wk : W
The working-cell marker slot.
- emb : ResetPh → P
The kit's phases in the program.
Instances For
Dependency graph
The kit's rules.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
Going home #
After a plain sweep the machine stands at the top of the stretch while the marker never moved: getting back is a scan, not a reset. One phase, one rule – walk left unless the marker is under the head – and the caller's exit fires on arrival.
A home kit: one phase, one rule – walk left unless the marker is
under the head. The caller's exit, guarded wk = one ∧ rg ≠ one, is
disjoint by construction.
- t : W
The walked track (rides along unchanged).
- wk : W
The working-cell marker slot.
- ph : P
The kit's phase in the program.