Dense-overlay public-input initialization -- definitions #
The optimized initializer counts the immutable input in binary but emits only
the tagged R₀ overlay entry. It then installs the ordinary sparse scanner ABI
and rewinds the real input for dense fallback reads.
Phases of the input-length counter.
- scan : DenseInitialLengthPhase
- done : DenseInitialLengthPhase
Instances For
@[implicit_reducible]
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[reducible, inline]
abbrev
Complexity.RAM.RegisterStore.Machine.DenseInitialLengthQ
{n : ℕ}
(tapes : ControlInstructionTapes n)
:
State space for input scanning with one binary-successor body.
Equations
Instances For
def
Complexity.RAM.RegisterStore.Machine.denseInitialLengthLoopTM
{n : ℕ}
(tapes : ControlInstructionTapes n)
:
Count every input symbol into the existing initialization address tape.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Exact recursive time budget for binary input-length counting.
Equations
- One or more equations did not get rendered due to their size.
- Complexity.RAM.RegisterStore.Machine.denseInitialLengthLoopTime x✝ [] = 1
Instances For
The lone positive-tag overlay installed for the public input.
Equations
Instances For
def
Complexity.RAM.RegisterStore.Machine.denseProgramSnapshotWork
{n : ℕ}
(tapes : ControlInstructionTapes n)
(snapshot : DenseOverlay.Snapshot)
:
Exact clean work image of a dense-overlay snapshot.
Equations
- Complexity.RAM.RegisterStore.Machine.denseProgramSnapshotWork tapes snapshot = Complexity.RAM.RegisterStore.Machine.programSnapshotWork tapes { pc := snapshot.pc, store := snapshot.overlay }
Instances For
def
Complexity.RAM.RegisterStore.Machine.denseProgramInitTM
{n : ℕ}
(tapes : ControlInstructionTapes n)
:
Count the input, emit its positive R₀ tag, install the sparse ABI, and
rewind the immutable input bank to cell one.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Complexity.RAM.RegisterStore.Machine.denseProgramInitTime
{n : ℕ}
(tapes : ControlInstructionTapes n)
(input : List Bool)
:
Exact compositional time budget for dense-overlay initialization.
Equations
- One or more equations did not get rendered due to their size.