Sparse RAM program controller -- definitions #
This layer adds the fixed-program halt test needed to iterate the checked
single-instruction simulator. The test copies the canonical program counter,
walks the same decrementing finite branch tree as instruction dispatch, and
writes 1 exactly for a selected halt; every continuing branch writes blank.
Two-state leaf that writes one halt verdict at the current output head.
- write : HaltVerdictPhase
- done : HaltVerdictPhase
Instances For
Equations
- One or more equations did not get rendered due to their size.
Output symbol used by the fixed-program halt test. Continuing instructions write blank so the instruction body regains its blank-output ABI.
Equations
Instances For
Canonical output tape produced by one halt-verdict leaf.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Write the selected instruction's halt verdict in one transition while preserving input and work tapes.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Decrementing fixed-program branch tree for the halt verdict.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Copy the canonical PC and emit whether its fixed-program instruction is
halt.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Branch-tree bound for a selector represented by selector.
Equations
- One or more equations did not get rendered due to their size.
- Complexity.RAM.RegisterStore.Machine.dispatchHaltTime tapes [] x✝ = Complexity.TM.resetBinaryWorkTime 1 x✝.bits.length + 1 + 1
Instances For
Complete fixed-program halt-test bound.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Repeated pure sparse-snapshot stepping without an explicit halt check.
Because the selected halt instruction is a no-op, this agrees with
Snapshot.run.
Equations
- Complexity.RAM.RegisterStore.Machine.snapshotSteps program 0 x✝ = x✝
- Complexity.RAM.RegisterStore.Machine.snapshotSteps program fuel.succ x✝ = Complexity.RAM.RegisterStore.Machine.snapshotSteps program fuel (Complexity.RAM.RegisterStore.Snapshot.step program x✝)
Instances For
Canonical parked tape containing one Boolean string.
Equations
Instances For
Exact clean work-tape image of one sparse RAM snapshot. The store stream, runtime count, preserved count, and program counter occupy their established instruction-ABI roles; every other tape is the standard parked blank tape.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Boolean output symbol obtained from the RAM verdict convention.
Equations
Instances For
Exact output tape emitted from one RAM register value.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Read a canonical register-value tape and emit zero exactly for value zero, or one for any nonzero value.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Recover register R₀ through the reusable sparse lookup and emit its
Boolean verdict on the real output tape.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Complete final-verdict extraction bound.
Equations
- Complexity.RAM.RegisterStore.Machine.programOutputTime tapes store = Complexity.RAM.RegisterStore.Machine.entryLookupStaticTime tapes.lifted.data.lhsLookup store 0 + 1 + 1
Instances For
Fixed halt-aware loop for one concrete RAM program.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Bound for one loop body, body/test seams, halt test, and the three-step rewind/check tail.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Sum of the first fuel loop-iteration bounds.
Equations
- One or more equations did not get rendered due to their size.
- Complexity.RAM.RegisterStore.Machine.programLoopTime tapes program 0 x✝ = 0