Resource certificates for read-machine simulations #
If the halting test, the address and the step of a read machine have plain charged resource
certificates, then the step of Turing.ReadMachine.toStepMachine has a resource certificate on
its states, which add the position of the head: the work space grows by the length of the position
in binary, and the time by a factor of the position, to compare it with the address.
Main results #
Turing.ReadMachine.pairFalse_inSpace,Turing.ReadMachine.comp_pairFalse_inSpace: evaluating a function of a state and a bit at the bitfalsewithin the space budget of the step.Turing.ReadMachine.toStepMachine_resourceCertificate: the simulating step machine has a plain resource certificate.
Computing within fixed budgets #
Composition within the budgets.
Composition with a map computed in linear time and space, within the budgets.
Pairs within the budgets.
Conditionals within the budgets.
A constant within the budgets.
A function of finitely many values, within the budgets.
Pairing a state with the bit false, within any space budget at least the encoded pair
length.
Evaluating a function of a state and a bit at the bit false, within the space budget of the
step.
The projections of the input are within the budgets.
The simulating step machine has a resource certificate, if the halting test, address and step have plain resource certificates with the given state bounds.