Documentation

Complexitylib.Models.RandomAccessMachine.Simulation.RegisterStore.Containment.Internal

RAM-to-TM time-class containment -- proof internals #

The concrete sparse simulator is applied at the first halting fuel. Minimality makes that fuel equal to unit-cost time, hence no larger than logarithmic RAM time. This discharges the quantitative side condition of the checked runtime envelope and lifts the simulation to deterministic polynomial time.

theorem Complexity.RAM.RegisterStore.Machine.programDecision_decidesInTime_internal {L : Language} {T : } (program : Program) (hdecides : program.DecidesInTime L T) :
(programDecisionTM standardControlInstructionTapes program).DecidesInTime L fun (inputLength : ) => programDecisionEnvelope program inputLength (T inputLength)
theorem Complexity.RAM.RegisterStore.Machine.DTIME_subset_DTIME_sq_internal (T : ) (hinput : BigO (fun (inputLength : ) => inputLength + 1) T) :
DTIME T Complexity.DTIME fun (inputLength : ) => T inputLength ^ 2