Documentation

Complexitylib.Models.TuringMachine.Experimental.BinaryRoutine.InputLength.Defs

Fresh-input entry for proof-carrying binary routines -- definitions #

This module connects the initial Turing-machine configuration to the canonical binary work-vector discipline. It first counts the unary input length into one designated work tape, then runs a proof-carrying binary routine.

def Complexity.BinaryRoutine.inputLengthValues {n : } (lengthIdx : Fin n) (length : ) :

The canonical all-zero work vector with one designated value set to the input length.

Equations
Instances For
    def Complexity.BinaryRoutine.afterInputLength {n : } (lengthIdx : Fin n) (routine : BinaryRoutine n) :
    TM n

    Count the input length in binary, then enter a proof-carrying routine.

    Equations
    Instances For
      def Complexity.BinaryRoutine.afterInputLengthTime {n : } (lengthIdx : Fin n) (routine : BinaryRoutine n) (length : ) :

      Compositional runtime bound for fresh-input routine entry.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        def Complexity.BinaryRoutine.afterInputLengthSpace {n : } (lengthIdx : Fin n) (routine : BinaryRoutine n) (length : ) :

        All-prefix auxiliary-space bound for fresh-input routine entry.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Function emitted by a fresh-input routine. Only the unary input length is observable after entry into the binary routine layer.

          Equations
          Instances For