Dense public-input lookup -- definitions #
These finite controllers are the concrete bridge from a sparse mutable RAM overlay to the immutable public input on the Turing input tape. The scan keeps a binary countdown on a work tape. When that countdown first reaches zero, the preceding input symbol is copied to a canonical Boolean result tape.
Two-state framed identity used as a direct-branch leaf.
- run : DenseInputIdlePhase
- done : DenseInputIdlePhase
Instances For
Equations
- One or more equations did not get rendered due to their size.
A one-step identity on every parked tape.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Two-step controller that moves left to the preceding input symbol, copies that Boolean value to one work cell, and restores the input head.
- moveLeft : DenseInputCapturePhase
- write : DenseInputCapturePhase
- done : DenseInputCapturePhase
Instances For
Equations
- One or more equations did not get rendered due to their size.
Canonical binary work tape representing one public-input bit.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Copy the Boolean input symbol immediately to the left of the current head onto a blank canonical result tape, restoring the input head in two steps.
Equations
- One or more equations did not get rendered due to their size.
Instances For
One input-scan body step. A zero countdown is stationary. A positive countdown is decremented; when it becomes zero, the preceding input bit is captured exactly once.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Exact body time as a function of the positive-or-zero countdown.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Result tape after one scan iteration. Only the transition from countdown one to zero captures the current input bit.
Equations
- Complexity.RAM.RegisterStore.Machine.denseInputStepResult remaining bit current = if remaining = 1 then Complexity.RAM.RegisterStore.Machine.denseInputBitTape bit else current
Instances For
Scan the entire immutable Boolean input while decrementing a canonical binary address counter and capturing the addressed bit.
Equations
- Complexity.RAM.RegisterStore.Machine.denseInputScanTM counter result = (Complexity.RAM.RegisterStore.Machine.denseInputStepTM counter result).forInputTM
Instances For
Exact complete input-scan time from a positive address.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Full positive-address dense-bank fallback: copy the query into a private countdown, scan the immutable input, rewind the input head, and clear the countdown back to the reusable blank boundary.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Complete fallback budget, including all three sequencing seams.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Reusable work-tape boundary before a positive-address dense-bank lookup.
- query : (work query).HasBinaryNat address
- counter : (work counter).HasBinaryNat 0
- result : (work result).HasBinaryNat 0
- scratch : (work scratch).HasBinaryNat 0
Instances For
Reusable work-tape endpoint after dense-bank fallback.
- counter_zero : (finalWork counter).HasBinaryNat 0
- result_value : (finalWork result).HasBinaryNat (initRegs input address)