Sparse RAM decision-machine resource-bound definitions #
The concrete simulator has fixed control once its RAM program is fixed. The
only program-dependent quantities that matter asymptotically are therefore
collected in programResourceMagnitude. programDecisionScale combines
that constant with the public input length and the charged logarithmic RAM
time. The fourth-power envelope is deliberately coarse: it keeps the public
class-transfer theorem independent of low-level controller constants while
still recording a genuine polynomial simulation.
A positive magnitude containing every natural literal of one instruction.
Equations
- Complexity.RAM.RegisterStore.Machine.instructionResourceMagnitude (Complexity.RAM.Instr.imm destination value) = destination + value + 1
- Complexity.RAM.RegisterStore.Machine.instructionResourceMagnitude (Complexity.RAM.Instr.add destination source₀ source₁) = destination + source₀ + source₁ + 1
- Complexity.RAM.RegisterStore.Machine.instructionResourceMagnitude (Complexity.RAM.Instr.sub destination source₀ source₁) = destination + source₀ + source₁ + 1
- Complexity.RAM.RegisterStore.Machine.instructionResourceMagnitude (Complexity.RAM.Instr.mul destination source₀ source₁) = destination + source₀ + source₁ + 1
- Complexity.RAM.RegisterStore.Machine.instructionResourceMagnitude (Complexity.RAM.Instr.load destination addressRegister) = destination + addressRegister + 1
- Complexity.RAM.RegisterStore.Machine.instructionResourceMagnitude (Complexity.RAM.Instr.store destination addressRegister) = destination + addressRegister + 1
- Complexity.RAM.RegisterStore.Machine.instructionResourceMagnitude (Complexity.RAM.Instr.jz source target) = source + target + 1
- Complexity.RAM.RegisterStore.Machine.instructionResourceMagnitude (Complexity.RAM.Instr.jmp target) = target + 1
- Complexity.RAM.RegisterStore.Machine.instructionResourceMagnitude Complexity.RAM.Instr.halt = 1
Instances For
One positive fixed constant containing the program length and every hardwired register, immediate, and jump literal.
Equations
Instances For
Common width/count scale for a run with charged logarithmic time cost.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Coarse checked polynomial envelope for the complete concrete simulation.
Equations
- One or more equations did not get rendered due to their size.