Documentation

Complexitylib.Models.TuringMachine.Composition.PairWithInput.Defs

Pair a computed value with the original input #

This file defines a generic deterministic pipeline for the fanout operation x ↦ pair (f x) x. It redirects the computed value to a work tape, rewinds that tape and the immutable original input, then emits both components directly to the real output. Only the first raw-output delimiter is semantic; later cells may contain arbitrary non- junk.

@[reducible, inline]

Work-tape count of pairWithInputTM. One extra tape beyond the redirected output is kept as a stable phase-composition frame.

Equations
Instances For

    Physical work tape holding the raw output of the function computation.

    Equations
    Instances For

      First phase of pairWithInputTM: compute with the output redirected to the raw-output work tape.

      Equations
      Instances For

        Normalize the two read heads, then emit the computed value paired with the unchanged original input.

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

          Executable deterministic fanout combinator computing x ↦ pair (f x) x whenever tmF computes f.

          Equations
          Instances For
            def Complexity.TM.pairWithInputTime (sourceTime : ) (inputLength : ) :

            Coarse time budget for pairWithInputTM. It covers the source run, both rewinds, pair emission, and the three phase transitions.

            Equations
            Instances For