Documentation

Complexitylib.Models.RandomAccessMachine.Simulation.RegisterStore.Machine.Program.Bounds.Internal

Sparse RAM decision-machine resource-bound proof internals #

theorem Complexity.RAM.RegisterStore.Machine.programDecisionScale_pos_internal (program : Program) (inputLength cost : ℕ) :
1 ≤ programDecisionScale program inputLength cost
theorem Complexity.RAM.RegisterStore.Machine.programDecisionTime_le_envelope_internal {m : ℕ} (tapes : ControlInstructionTapes m) (program : Program) (input : List Bool) (fuel : ℕ) (hhalted : Halted program (run program fuel (initCfg input))) (hfuel : fuel ≤ logTimeUpto program fuel (initCfg input)) :
programDecisionTime tapes program input fuel ≤ programDecisionEnvelope program input.length (logTimeUpto program fuel (initCfg input))
theorem Complexity.RAM.RegisterStore.Machine.programDecisionEnvelope_mono_cost_internal (program : Program) (inputLength left right : ℕ) (hle : left ≤ right) :
programDecisionEnvelope program inputLength left ≤ programDecisionEnvelope program inputLength right