Documentation

Complexitylib.Interop.Mathlib.TM0.Marked.Defs

Finite tape machines with a marked first input cell #

Stack encodings distinguish the first cell and represent the empty word by a marker. This bundle keeps that format explicit, while allowing output symbols to differ from input symbols. The binary-track simulator can decode the output without rewriting the source tape.

A finite TM0 with a first-cell input marker and a separate output decoder.

Instances For

    Source symbols plus unused raw bits needed by the existing simulator bundle.

    • raw {Γ : Type} : Bool → Symbol Γ

      A raw bit in the simulator's ordinary binary interface.

    • source {Γ : Type} : Γ → Symbol Γ

      An actual source symbol.

    Instances For

      Format an input suffix; only an empty complete input needs the empty marker.

      Equations
      Instances For
        @[reducible, inline]

        A source configuration with the bundle's blank and initial-state conventions.

        Equations
        Instances For

          Execute exactly the specified number of source transitions.

          Equations
          Instances For

            A bounded source run whose complete decoded right-of-head output is specified.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              @[reducible, inline]

              Add unused raw-bit symbols to reuse the existing binary-machine simulation.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                @[reducible, inline]

                The new copying phase, followed by the existing rewind, run, and emit phases.

                Equations
                Instances For

                  Copy a marked source input, then delegate to the existing tape simulator.

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